2019-09-24 18:57:24 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
2019-10-29 21:26:46 +00:00
|
|
|
<title>Super Tea Witch</title>
|
2019-09-24 18:57:24 +00:00
|
|
|
<style>
|
|
|
|
* { padding: 0; margin: 0; }
|
|
|
|
body { background: black; color: white; font-family: monospace; }
|
|
|
|
div { text-align: center; }
|
|
|
|
canvas {
|
|
|
|
background: magenta;
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
padding: 1px;
|
|
|
|
image-rendering: pixelated;
|
2019-09-25 01:21:23 +00:00
|
|
|
image-rendering: crisp-edges;
|
|
|
|
image-rendering: -moz-crisp-edges;
|
2019-09-24 18:57:24 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2019-09-25 14:40:10 +00:00
|
|
|
<!-- The canvas drawing resolution is the SNES resolution: 256x224.
|
|
|
|
JavaScript upscales the canvas (hopefully in a way that the browser
|
|
|
|
doesn't antialias it.) -->
|
2019-09-25 14:24:31 +00:00
|
|
|
<canvas id="canvas" width="256" height="224" style="display: none"></canvas>
|
2019-09-24 23:44:08 +00:00
|
|
|
<div id="fps"></div>
|
2019-09-24 18:57:24 +00:00
|
|
|
<div id="debug"></div>
|
|
|
|
<button id="1x">1x</button>
|
|
|
|
<button id="2x">2x</button>
|
|
|
|
<button id="3x">3x</button>
|
|
|
|
<button id="4x">4x</button>
|
|
|
|
<button id="5x">5x</button>
|
2019-09-25 14:24:31 +00:00
|
|
|
<button id="6x">6x</button>
|
|
|
|
<button id="7x">7x</button>
|
|
|
|
<button id="8x">8x</button>
|
2019-10-29 21:26:46 +00:00
|
|
|
<img src="bundle/terrain.png" id="terrain" style="display: none">
|
|
|
|
<img src="bundle/witchtiles_1.png" id="witch" style="display: none">
|
2019-10-03 20:42:21 +00:00
|
|
|
<img src="bundle/spritesheet.png" id="spritesheet" style="display: none">
|
|
|
|
<script src="bundle/spritesheet.js"></script>
|
2019-09-24 18:57:24 +00:00
|
|
|
<script src="main.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|