Add netplay demo

This commit is contained in:
Ethan O'Brien 2022-11-27 19:45:31 -06:00
parent c26a029d9a
commit 5bd54177ef
2 changed files with 13 additions and 0 deletions

BIN
demos/mega_mountain.nes Normal file

Binary file not shown.

13
demos/netplay.html Normal file
View file

@ -0,0 +1,13 @@
<div style='width:640px;height:480px;max-width:100%'>
<div id='game'></div>
</div>
<script type='text/javascript'>
EJS_player = '#game';
EJS_core = 'nes';
EJS_oldCores = true;
EJS_gameUrl = 'mega_mountain.nes';
EJS_pathtodata = '/data/';
EJS_gameID = 1;
</script>
<script src="data/loader.js"></script>