Hacker News new | past | comments | ask | show | jobs | submit login
Legend Of Zelda - Link's Awakening, now playable in HTML5 (grantgalitz.org)
117 points by xelfer on June 27, 2011 | hide | past | favorite | 26 comments



If your keyboard is like mine, and it doesn't like pressing Enter + Shift + Z + X (which is how you go to the save screen here), you can simulate the key combination with this quick hack:

    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.


This runs... incredibly well. Nothing short of impressed.


Using only ~20% of my quad-core CPU to emulate a game that was made for the 8-bit 8MHz Gameboy color...


Actually, it runs at ~10fps on my Dell E1705.


Use Firefox 5, other browsers take a shit on putImageData performance when blitting to the canvas.


Thanks


Strange thing just happened when I fired this up. I was playing some other music, and it suddenly sounded like I was blowing out my speakers. I wasn't playing the music very loud, but the bass became extremely scratchy. As soon as I closed the tab, it cleared up. (Win 7 Chrome 12.0.742.100)


You see, the problem is that chrome has bugs. Try running it in Firefox 5 for windows. It's not my fault. period. See some comments in http://www.reddit.com/r/gaming/comments/i9s9h/legend_of_zeld... for other various chrome related issues.


Oh! I didn't mean to blame you! I'm well aware of Chrome's various issues, but this one was new to me.

I didn't mean to detract from an awesome project!


I see. Chrome has bugs, but thank heavens because Firefox 5 for Windows (no less) doesn't.

I think I speak on behalf of all of us when I say thank you for enlightening us!


Unfortunately can't get this old chestnut to work with it.. otherwise great!! http://www.youtube.com/watch?v=cWdxSz65iXc


Very cool. It works for me in chrome, but its shows this message four times before working In windowStack::windowStack() : The DOM element passed was invalid.

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.


I bet the resource files are 503'ing from server overload. :/


This incredibly awesome! I hope it doesn't get taken down soon


Truly amazing. Congrats!


Gives me an "Aw, Snap!" Chrome crash on 14.0.797.0 on Lion.


Use Firefox 5 then. Problem solved?


Look, the page itself doesn't have a 'Works best in Firefox 5'. There's no need to be so blunt/rude when people mention it doesn't work in other browsers. I'm sure they're not trying to insult your (awesome :) ) work.


Because these are OS-dependent bugs for certain browsers and should get fixed soon by the browser makers. :P


Wow, lots of nostalgia with this one. I love the disproportionate hitbox of Links Sword and the sound of the Owl's 8-bit hoot.


Cheaper than £4.40 on the 3DS E-shop.


Two seconds per frame on iPad 1. And two times crashing mobile Safari at the intro. ^^


WoW. Cant believe you can play emu games in browser... So in html6 i will be able to play World of Warcraft 2 or Crysis 3 with DX13 support. I love this world.


Isn't this just the javascript gameboy emulator that has been posted here before?

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


Yup


My god this thing is loud. Also, at least on OSX, there is no way to lower the volume/mute that tab, individually(or even all of Firefox?!, which is insane, even Windows has the built-in). Can you add some kind of volume control? Or at least a mute button :)




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: