pluotsorbet/index.html

90 строки
3.0 KiB
HTML

<!doctype html>
<html>
<head>
<style type="text/css">
#canvas {
position: absolute;
top: 0px;
right: 0px;
border: 1px solid #ababab;
}
button {
display: none;
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
#canvas {
bottom: 0px;
left: 0px;
border: none;
}
button {
display: block;
position: absolute;
height: 40px;
width: 40px;
}
#up { left: 75px; bottom: 40px; }
#down { left: 75px; bottom: 0px; }
#left { left: 25px; bottom: 20px; }
#right { left: 125px; bottom: 20px; }
#fire { left: 250px; bottom: 20px; }
}
</style>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0">
<script type="text/javascript" src="legacy.js" defer></script>
<script type="text/javascript" src="timer.js" defer></script>
<script type="text/javascript" src="util.js" defer></script>
<script type="text/javascript" src="long.js" defer></script>
<script type="text/javascript" src="classfile/reader.js" defer></script>
<script type="text/javascript" src="classfile/accessflags.js" defer></script>
<script type="text/javascript" src="classfile/attributetypes.js" defer></script>
<script type="text/javascript" src="classfile/classfile.js" defer></script>
<script type="text/javascript" src="classfile/signature.js" defer></script>
<script type="text/javascript" src="classfile/tags.js" defer></script>
<script type="text/javascript" src="classinfo.js" defer></script>
<script type="text/javascript" src="arrays.js" defer></script>
<script type="text/javascript" src="signature.js" defer></script>
<script type="text/javascript" src="opcodes.js" defer></script>
<script type="text/javascript" src="classes.js" defer></script>
<script type="text/javascript" src="native.js" defer></script>
<script type="text/javascript" src="frame.js" defer></script>
<script type="text/javascript" src="vm.js" defer></script>
<script type="text/javascript" src="context.js" defer></script>
<script type="text/javascript" src="jvm.js" defer></script>
<script type="text/javascript" src="libs/zipfile.js" defer></script>
<script type="text/javascript" src="libs/long.js" defer></script>
<script type="text/javascript" src="libs/async_storage.js" defer></script>
<script type="text/javascript" src="libs/encoding.js" defer></script>
<script type="text/javascript" src="libs/fs.js" defer></script>
<script type="text/javascript" src="main.js" defer></script>
<script type="text/javascript" src="midp/midp.js" defer></script>
<script type="text/javascript" src="midp/gfx.js" defer></script>
<script type="text/javascript" src="game-ui.js" defer></script>
</head>
<body>
<button id="clearstorage">Clear storage</button>
<canvas id="canvas">
</canvas>
<div>
Output:
<pre id="output"></pre>
Log:
<pre id="log"></pre>
</div>
<button id="up">up</button>
<button id="down">down</button>
<button id="left">left</button>
<button id="right">right</button>
<button id="fire">fire</button>
</body>
</html>