📜 ⬆️ ⬇️

NES (Dendy) emulation in Flash


I present to you the first of its kind project on the Internet, allowing you to emulate NES ROMs in Flash.

Meet www.nesbox.com ! The site contains a collection of 1804 games! (I never dreamed of it in my childhood.

There are many similar services on the network, the most popular of them are:

In Java:
www.virtualnes.com
www.nescafeweb.com
www.playnes.net
And a big bunch of similar clones. All of them are based on the same Java engine.
There is also the recently announced silverlight emulator GameNES.net .
And absolutely crazy JavaScript project jsnes , however, sound support is implemented via Flash.
')
As for nesbox , it is written using Adobe Alchemy technology, which allows translating C ++ code into ActionScript3. The output is the usual swc library, which you can easily use in your projects.
The project was written exclusively “Just For Fun”, so no advertising will be on it in the near future. In the future I plan to lay out the source code in open access.

Best performance is observed (in descending order): Firefox, Chrome, IE, Opera, Safari. As for operating systems, on Windows and Linux it is still more or less playable, while on MacOS everything is absolutely bad. The Apple Apple Company doesn’t like it, and it’s very negative about it lately ( Jobs ran Google and Adobe ).



Immediately lay out links to the most popular ROMs (a similar section of the site is scheduled for the following versions):
Battletoads & Double Dragon - The Ultimate Team
Darkwing duck
Battle city
Chip and Dale
Chip and Dale 2
Super mario
and very much loved by me in childhood metal gear

Default controller:
[up] = w
[down] = s
[left] = a
[right] = d
[select] = t
[start] = y
[b] = j
[a] = k

In the next version I plan:
- Translate the site to HTML, since Flash is not very adapted for this. Only the emulator itself will remain on it;
- work hard on performance, especially on sound reproduction, although it works pretty well on modern machines;
- add the option to save, but only when you close the browser page, and restore the next time you download the game. Normal save / load anywhere, I think not sports;
- add rare modified ROMs, with Russian translation, etc .;
- support for two players (on one computer and remotely).

The post was specifically written by Friday, so I am waiting for suggestions, complaints and constructive criticism.
I ask everyone in the comments, I will answer any questions.
Have a great time!

Source: https://habr.com/ru/post/85560/


All Articles