Update: sources released on GitHub.
I’m done some game/experiment during my study on DK2 gameplay, this is one of them (about body movement and reflexes). Maded with Unity 5.0.18 Indie and Oculus 0.4.4 sdk.
A guy that enjoy my game (with the correct gameplay: without controller!)
Windows: http://files.clodo.it/projects/vrspacetunnel/VrSpaceTunnel.windows.zip (45 mb)
OS X (UNTESTED): http://files.clodo.it/projects/vrspacetunnel/VrSpaceTunnel.osx.zip (47 mb)
Linux (UNTESTED): http://files.clodo.it/projects/vrspacetunnel/VrSpaceTunnel.linux.zip (57 mb)
The game need an initial calibration, to detect the maximum and minimum position a player can move it’s head.
Press X to reset the calibration. Press R to reset Oculus Rift orientation.
Press SPACE to start (and restart at game-over).
Can be played seated, but i recommend to play it stand up, with hands on desk.
Works at 75fps with my GTX 570 on an old i7. Press F11 to see the FPS, and 0,1,2,3,4,5 to change graphics quality (0 fast, 5 is best).
At game-over, press SPACE to reset and look left to check if you beat your highscore.
I released all source-code under public domain. Not well commented, it’s just an experiment. It works with Unity Indie.
http://files.clodo.it/projects/vrspacetunnel/VrSpaceTunnel.src.zip (85 mb)
The zip contain parts of some third-party assets, but all of them are totally free in Unity Asset Store.
Music by Imphenzia: http://soundtrack.imphenzia.com/ – i used the watermarked version to allow me to release the entire project out-of-the-box under open-source.
No more improvement are planned, unless people like it 😛
My best score is 4307 meters 😛 Enjoy!