Skip to content

adrienjoly/a-frame-descent-vr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Making a VR game with a-frame

Inspired by "Descent".

Built with A-Frame.

Demo video: https://x.com/adrienjoly/status/1280171363110707203 (early version)

How to test it

On a computer (with keyboard)

  1. Open https://glitch.com/~pitch-gaudy-acai https://adrienjoly.com/a-frame-descent-vr/ in Google Chrome (or other browser that supports WebXR)
  2. Click on "Show"
  3. Use the following keys to control the ship:
         W      |     Y    |
       A S D    |   G H J  |     L
                |          |
    translation | rotation | stabilize
    
    SPACE BAR = shoot
    

Press Ctrl-Alt-I to open a-frame's inspector.

In Oculus Quest VR headset (with 2 controllers)

  1. Open https://glitch.com/~pitch-gaudy-acai https://adrienjoly.com/a-frame-descent-vr/ in Oculus Browser or Firefox Reality
  2. Click on the "VR" button, in the lower-right corner
  3. Use your controllers' thumbsticks to control the ship, and the right trigger to shoot
  4. Press an "Oculus" button to exit the experience

Is my VR headset supported?

I don't know. 😅 Try it and let me know by posting an issue there: https://github.com/adrienjoly/a-frame-descent-vr/issues

Progress on development

Maybe later:

About

👾 Learning how to create a VR version of "Descent" using a-frame

Topics

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Contributors