
http://zelex.net/nezulator
w00t!
Moderator: Moderators
I get about 8-10FPS running SMB1 on my Intel core i5 @ 2.6GHz. Is this expected?Zelex wrote:Relaunch has none of the the old code that I wrote over 10 years ago. New code based off of jsNES, but with a ton of improvements to make it lots faster, uber fast 2x zooming, fixed a bunch of bugs, expanded mapper support, and google search integrated for lots of roms w/out the legal hastle!
http://zelex.net/nezulator
w00t!
Firefox 3 or Firefox 4?tokumaru wrote:I got around 6fps in Firefox
This page might explain: make a .wav file, base64 encode it as a data: URI, and put it in an <audio> element. The other way is to use an experimental browser-specific audio stream API.tokumaru wrote:How did you implement sound with JavaScript anyway?
Chrome and Firefox have a raw sound api that allows you to do it. It also uses a flash based fallback if your not in firefox. (currently implementing the chrome api). The flash based fallback is why the sound is delayed a bit. Working on implementing the chrome api soon.tokumaru wrote:I got around 6fps in Firefox but a perfect 60 in Chrome. The sound was badly out of sync though, but I didn't even expect it to have any sound. How did you implement sound with JavaScript anyway? This is pretty amazing.
Thats a good idea! I wonder if its hard to put it up there?3gengames wrote:Cool. I'm surprised nobody has made a decent emulator for the NES specifically for Chrome and put it on the Chromium projects. I forgot to mention earlier but I also had delayed sound, but apparently you know.
And it'd be nice to add the buttons WSADGHKL as Up,Down,Left,Right,Select,Start,B,A. It's a lot more natural to play that way.