Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nesbox/emulator

Emulator of NES, Super Nintendo, Sega Mega Drive, GameBoy video consoles
https://github.com/nesbox/emulator

Last synced: about 1 month ago
JSON representation

Emulator of NES, Super Nintendo, Sega Mega Drive, GameBoy video consoles

Awesome Lists containing this project

README

        

Nesbox Emulator
========

NESbox is an emulator of NES, Super Nintendo, Sega Mega Drive and GameBoy video consoles, built on Adobe Flash technology and it can only be run directly in your browser's window.

How to embed the emulator to your webpage?
--------

Get all .swf files in /bin folder and upload to your server (for example to /flash folder).
Add the following html to page where you want to place the emulator.

```html



To play this game, please, download the latest Flash player!





Get Adobe Flash player


var resizeOwnEmulator = function(width, height)
{
var emulator = $('#emulator');
emulator.css('width', width);
emulator.css('height', height);
}

$(function()
{
function embed()
{
var emulator = $('#emulator');
if(emulator)
{
var flashvars =
{
system : 'sega',
url : '/roms/Flappy Bird (PD) v1.0.gen'
};
var params = {};
var attributes = {};

params.allowscriptaccess = 'sameDomain';
params.allowFullScreen = 'true';
params.allowFullScreenInteractive = 'true';

swfobject.embedSWF('flash/Nesbox.swf', 'emulator', '640', '480', '11.2.0', 'flash/expressInstall.swf', flashvars, params, attributes);
}
}

embed();
});

```

Supported systems: nes, snes, sega, gb, gba

License
----

MIT