Demo:
- Open the WebXR browser on your VR headset
- Go to https://sehugg.github.io/vrarcade (or use Oculus launch link)
To play a game, point at its screen and pull the trigger.
Control the game with the thumbstick and trigger on your motion controller.
The virtual stick and buttons look nice, but are not yet functional, so you can't play with hand-tracking yet.
This project uses WebXR to create playable arcade cabinets in immersive augmented reality!
- Use your own ROM
- Customize your cabinet shape and artwork
- Place multiple cabinets wherever you want
- Click the screen to start the game!
- clone or download the repo
npm i- For development:
npm run dev - For production:
npm run buildthen to preview what was builtnpm run preview(contents are in dist/ folder)
To create your own games:
- Edit config.ts to add your own cabinet definitions.
- Modify
CABINET_MAPto map identifiers to cabinet configs. - Modify
ARCADE_SCENE_CONFIGto place cabinets around the room.
Look at public/games for ROM and video examples.
Only the NES platform is supported right now.
This creates cabinets using JSON objects and a couple of JPG/PNG files.
Look at CABINET_SOLARIAN and CABINET_CLIMBER for examples.
Also look at public/cabinets for texture maps.
Look at CABINET_MODEL_BASE for an example.
(Model-based cabinets are not used in the current demo.)
