Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.
/ oculus-space Public archive

A WebGL demo using the Oculus Rift for visuals and a smartphone for motion controls.

Notifications You must be signed in to change notification settings

rofreg/oculus-space

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oculus Space

Oculus Space is a WebGL demo using both the Oculus Rift (optional, with oculus-bridge installed) and a smartphone as a gyroscopic motion controller. It was created in 24 hours for #HackThat in Providence, RI.

How it works

Go to http://oculus-space.herokuapp.com to see it in action. You'll need a WebGL-capable browser (try Chrome), plus an iPhone to control your spaceship by tilting left, right, forwards, and backwards. (I hope to add Android support soon, but didn't have an Android device to test on during initial development.)

How to run for development

  • sudo npm install -g supervisor
  • sudo npm install -g coffee-script
  • sudo supervisor app.coffee
  • coffee -c -w assets/

Credits

Built by @rofreg for the HackThat hackathon, November 2013. Music is "Spacefighter" by cerror. Ship texture by FrostBo. Code is heavily based on the OculusBridge first-person example. Smartphone socket code somewhat adapted from Thumb War, a previous hackathon project.

License

Oculus Space is released under a dual license. You may choose either the GPL or MIT license, depending on the project you are using it in and how you wish to use it. Have fun!

About

A WebGL demo using the Oculus Rift for visuals and a smartphone for motion controls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published