PDA

View Full Version : How to play a Game Boy emulator on Chromecast



wraggster
July 31st, 2013, 20:57
http://hackadaycom.files.wordpress.com/2013/07/gameboy-on-chromecast.png?w=580&h=349
It’s small, it’s blurry, but it’s working. Here’s a proof of concept for playing emulators on a Chromecast (https://github.com/acordar/chromecast-gb) which uses the original Game Boy as an example.
Notice that there are two screens shown in the demo. Out of focus in the background is the television with the Chromecast displaying the game play. In the foreground is a computer with a browser open which lists off the control setup. These are the button mappings for an Xbox 360 controller. The emulator is a JavaScript Game Boy emulator (http://codebase.es/jsgb/). This is loaded on the Chromecast through a simple html file (called the receiver in the repo). The sender — also a simple html file — loads another JavaScript package on the computer which translates the controller’s button presses to keyboard inputs and sends them out to the receiver.
This puts stars in our eyes about emulator hacks. We’d love to see this boiled down to smartphone and Chromecast as the two pieces of hardware, with the touchscreen as the gaming input.

http://hackaday.com/2013/07/31/how-to-play-a-game-boy-emulator-on-chromecast/