mirror of
https://github.com/db48x/emularity.git
synced 2026-07-27 19:56:37 +00:00
Also, clean up the various get_foo_files functions by factoring out some common elements. Fixes #29.
20 lines
826 B
HTML
20 lines
826 B
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>example arcade game</title>
|
|
</head>
|
|
<body>
|
|
<canvas id="canvas" style="width: 50%; height: 50%; display: block; margin: 0 auto;"></canvas>
|
|
<script type="text/javascript" src="es6-promise.js"></script>
|
|
<script type="text/javascript" src="browserfs.min.js"></script>
|
|
<script type="text/javascript" src="loader.js"></script>
|
|
<script type="text/javascript">
|
|
var emulator = new IALoader(document.querySelector("#canvas"),
|
|
"Pitfall_Activision_1982");
|
|
emulator.setScale(3);
|
|
emulator.start({ waitAfterDownloading: true });
|
|
// some other items to try are FigurePic_1020, arcade_mrdo, Wolfenstein_3d, and mac_DarkCastle_1_2
|
|
</script>
|
|
</body>
|
|
</html>
|