wasm-test/index.html.template

48 lines
1.3 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<script src="load.js"></script>
<style>
#demo-canvas:hover {
cursor: none
}
.penger-img {
width: 64px;
image-rendering: pixelated;
}
@media screen and (min-width: 1620px) {
body {
content: "";
display: table;
clear: both;
}
#left {
float: left;
width: 50%;
}
#right {
float: right;
width: 50%;
}
}
</style>
</head>
<body>
<div id="left">
<canvas id="demo-canvas"></canvas>
<br>
<button id='descaling'>scale - 1</button>
<button id='scaling'>scale + 1</button>
<button id='reset'>reset velocity</button>
<br>
<p id='scale'></p>
<p>Press arrow key to move</p>
<p>Press space key to jump</p>
<p>Penger is afraid of your stinky hand</p>
</div>
<div id="right">
<h3>Choose your penger:</h3>
</div>
</body>
</html>