News for hackers. Stuff that matters.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by mynameishere on Tuesday September 27, 2011 @07:44PM (#3045781)
There's a bunch of java applets that do this (popular hobby project I guess), and one commonality among them always bothered me: Why don't they make the screen bigger? Not that much of a performance hit.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by program on Wednesday September 28, 2011 @04:26AM (#3046996)
The standard display resolution of the NES is 256 horizontal pixels by 240 vertical pixels. Upscaling on a canvas context can be a very slow operation even if you use the nearest-neighbor approach.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by akx on Thursday September 29, 2011 @09:26AM (#3052329)
Or you can let the browser do it for you.

<canvas width="256" height="240" style="width:512px;height:480px"></canvas>

Re:JSNES: A JavaScript NES emulator by Ben Firshman by Kishin on Tuesday September 27, 2011 @05:37PM (#3045338)
Awesome job!

Yeah, name is slightly confusing. Maybe use jsNES?

Re:JSNES: A JavaScript NES emulator by Ben Firshman by dfxm12 on Wednesday September 28, 2011 @09:04AM (#3047628)
Yeah, I immediately thought this was related to Jnes...
Re:JSNES: A JavaScript NES emulator by Ben Firshman by patrickc on Tuesday September 27, 2011 @05:35PM (#3045329)
The source code is well commented
Re:JSNES: A JavaScript NES emulator by Ben Firshman by WA on Wednesday September 28, 2011 @03:51AM (#3046915)
Americans, please stop using X and Z for game controls. On German keyboards, Y and Z are swapped, which makes those games unplayable.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by rheide on Wednesday September 28, 2011 @05:06AM (#3047081)
Germans, please stop using non-qwerty keyboards.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by WA on Wednesday September 28, 2011 @06:39AM (#3047237)
This makes no sense for us, because Z (especially "tz") is more common than Y in German language and QWERTY does not come with öäüß :)
Re:JSNES: A JavaScript NES emulator by Ben Firshman by dfxm12 on Wednesday September 28, 2011 @09:07AM (#3047634)
The first obvious answer is that software should be configurable to a point where it doesn't matter.

The second obvious answer is for Germans to make a piece of software that requires a qwerzy layout.

The third is to switch your keyboard layout software side...

Re:JSNES: A JavaScript NES emulator by Ben Firshman by mfkp on Tuesday September 27, 2011 @06:28PM (#3045530)
Seems to work pretty well, but I don't think this is supposed to happen: http://cl.ly/AUil
Re:JSNES: A JavaScript NES emulator by Ben Firshman by duskwuff on Tuesday September 27, 2011 @06:41PM (#3045570)
Re:JSNES: A JavaScript NES emulator by Ben Firshman by chc on Tuesday September 27, 2011 @06:43PM (#3045580)
Incidentally, the theory mentioned on that page that his name is actually "Errol" is nonsense. No Japanese person would write "Errol" as "ERAA." If they did not intend "Error," then it would have to be some fantasy-sounding name like "Erah."
Re:JSNES: A JavaScript NES emulator by Ben Firshman by chc on Tuesday September 27, 2011 @06:35PM (#3045551)
Assuming you're not rehashing one of the oldest jokes in video gaming: Yes, that is supposed to happen. His name really is Error.
Re:JSNES: A JavaScript NES emulator by Ben Firshman by krosaen on Tuesday September 27, 2011 @06:40PM (#3045568)
can't get the damn contra code to work!
Re:JSNES: A JavaScript NES emulator by Ben Firshman by extension on Tuesday September 27, 2011 @09:17PM (#3046010)
it works, you just gotta be fast

U U D D L R L R B A Select Start