117 points · by xelfer · 15y ago · 26 comments
function simuSave() {
gameboy.JoyPadEvent(4, true);gameboy.JoyPadEvent(5, true);gameboy.JoyPadEvent(6, true);gameboy.JoyPadEvent(7, true);
setTimeout(function() {
gameboy.JoyPadEvent(4, false);gameboy.JoyPadEvent(5, false);gameboy.JoyPadEvent(6, false);gameboy.JoyPadEvent(7, false);
}, 20);
}
Put that in Chrome's devtools or Firebug's console and call it with simuSave(). YMMV.I didn't mean to detract from an awesome project!
I think I speak on behalf of all of us when I say thank you for enlightening us!
It doesn't work for me in Firefox 5, but I don't have flash on my ff. Do I need that?
edit: more detail: On firefox, its sometimes a black screen, and sometimes a blue/green wavy screen.
Or maybe it's a different one: https://github.com/grantgalitz/GameBoy-Online
Gr, this link was hard to find, my Google-fu was weak. Previous discussion: http://news.ycombinator.com/item?id=2266701