Coder Social home page Coder Social logo

jordan-castro / ping-pong Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 10 KB

This a simple VR application made with WebXR.

Home Page: https://james-garfield.github.io/Ping-Pong/

HTML 36.66% PHP 2.53% Python 5.45% JavaScript 55.36%
vr virtual-reality webxr javascript aframe

ping-pong's Introduction

PingPong VR

This is a simple VR application made with WebXR. It's supposed to be a Ping Pong game, but it's not. What it is, is a simple VR experience that allows you to hit a ball with a paddle. Also the paddle is really just a box (more like a board).

To Run: If you have npm installed, you can run the following command:

npm i -g browser-sync

browser-sync start -s --https --no-open --port=custom-port-number

Then go to

https://localhost:custom-port-number

If you are viewing the app in a VR headset, then you can go to

https://your-computer-ip-address:custom-port-number

Without running locally, you can visit: https://james-garfield.github.io/Ping-Pong/

Controls

The application does interact with the Oculus Quest controllers. At this point in time, the only gamepad that is supported is the Oculus Quest. The controls are as follows:

  • Left Controller:
    • X: Reset Ball to starting position
  • Right Controller:
    • A: Move the paddle to the balls position.

This project is just a way to get my feet wet with WebXR. I hope you enjoy it!

ping-pong's People

Contributors

jordan-castro avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.