aframe-jsnes icon indicating copy to clipboard operation
aframe-jsnes copied to clipboard

👾An experiment to run a javascript Nintendo emulator inside of virtual reality with a-frame

aframe-jsnes

An experiment to run a javascript Nintendo emulator inside of virtual reality with a-frame.

Demo 1:

Click here to try it out here, 8-bit environment.

Demo 2:

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#