-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
20 lines (18 loc) · 1.04 KB
/
Copy pathindex.html
File metadata and controls
20 lines (18 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Super Kingyo Sukui</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Haga, Takeshi" />
<meta name="repository" content="https://github.com/thaga/SuperKingyoSukui-JSX" />
<script src="game.jsx.js"></script>
</head>
<body style="position:relative; padding:0; margin:0;">
<canvas id='webgl-canvas' width='256' height='256' style="position: absolute;"></canvas>
<div style="position: absolute; top: 5px; left: 5px; color: white; overflow: hidden;" id="status">click to start</div>
<div style="position: absolute; top: 25px; left: 5px; color: white; overflow: hidden;" id="fps">0 fps</div>
<div style="position: absolute; left: 200px; top: 10px; width: 64px; height:16px; background-color: red; overflow: hidden;"></div>
<div style="position: absolute; left: 200px; top: 10px; width: 64px; height:16px; background-color: #90ee90; overflow: hidden;" id='life-bar'></div>
</body>
</html>