HNHacker News
TopNewBestAskShowJobs

grantg

62 karma · joined January 10, 2011

submissionscomments
grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
For anyone interested in seeing this run well in a safari build on mac, please see http://chromium.googlecode.com/svn/trunk/samples/audio/bin/W...

It's a webkit/safari build with web audio in it, so audio is perfect as hell in it. :)

And for firefox, just get firefox 4 (god no, not 3.6!).

grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
+1 -webkit-crisp-edges or crisp-edges

See -moz-crisp-edges @ https://developer.mozilla.org/en/css/image-rendering

grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
Must be hardware specific then with the gfx cards. damnit firefox.
grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
Ubuntu has a GC issue for the canvas as far as I know of. Bitch to the Mozilla people to fix it. On Windows 7 and Mac OS X, it seems to work fine.
grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
You might want to talk to me then (Look at the user name on the github repo. ;) ). The DMG/CGB CPU needs to be emulated with clock-cycle accuracy though, so dynarec would be very difficult.

P.S.: Here's another game - http://www.grantgalitz.org/SuperMarioLand2/

grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
Use Firefox 4 for OSX and all will be resolved (I have Snow Leopard on a MacBook Pro, so it better work well on your Mac too). :P

http://www.mozilla.com/en-US/firefox/beta/

grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
If the audio stops playing after enabling web audio, then you just ran into a bad bug in chrome. :P

I've run into this bug before, it seems to be a bug with the GC possibly in V8.

grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
I'm guessing you're not using Firefox 4 then, I take it?

Edit: Firefox 4 on linux has a GC issue, not my fault.

grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
Try going to about:flags and enabling web audio (if you have that option.). Doing so will allow you to use native audio instead of data uri generation in real time. Kind of like mozAudio, but for webkit.
grantg··on GameBoy Color Emulator in JavaScript
First of all, it works perfectly in Firefox 4, since FF4 has the new Mozilla audio API. Anyways, the "save states" is really freeze states, since it saves the entire emulation into the offline storage, so you'll need to bump up the usual 5 MB limit for offline storage to something like 30 MB or so.
← PreviousPage 2 of 2