An experiment to run a javascript Nintendo emulator inside of virtual reality with a-frame.
Click here to try it out here, 8-bit environment. Click here to try it out -- same thing just different environment with arcade case.Wishlist:
- try different nes js engine https://github.com/koenkivits/nesnes
- get add'l controls besides keyboard working somehow: ** https://github.com/donmccurdy/aframe-gamepad-controls ** https://github.com/bwiklund/gamepad.js ** https://github.com/thinkpixellab/PxGamepad?WT.mc_id=14131-DEV-tuts-article22 ** https://gamedevelopment.tutsplus.com/tutorials/simple-xbox-controller-input-in-html5-with-pxgamepad--cms-24585 ** http://www.flightarcade.com/learn/gamepad
- fix lighting, things look super ugly without better lighting. tv should be emitting glow
- fix scale, things are too big
- add more 80's nostalgia esp. to the back wall a la https://sketchfab.com/models/9583c76fa1b74dafaa0b8912a66613f8
- improve overlay UI including a close/hide button
- improve progressive loading experience and order (load black, then static, then tv model, then room, then emulator, then skybox last)
- map nes controls to vive / oculus touch, and/or experiment with xbox controller
- allow user to choose alternate environment / backgrounds
- allow switching of games from inside of vr using cartridges
- multiplayer online
Credits
- based on JSNES, original repo (https://github.com/bfirsh/jsnes)
- Thanks to JonathanZWhite for the base of https://github.com/JonathanZWhite/bedroom-model which I modified a bit
- JSNES code covered under GNU GENERAL PUBLIC LICENSE (see license file)
- VR specific adaptation covered under MIT License
- SNES cabinet by arthur_felipe from https://sketchfab.com/models/ad2c2c6fa1d24f569eb0e35c064bf05a#