-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (35 loc) · 1.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="Lib/jquery-2.2.3.min.js"></script>
<script src="Engine/ScriptLoader.js"></script>
<title>Nightwatch</title>
</head>
<body style="margin: auto; overflow: hidden;">
<div>
<div style="position: absolute; top: 220px; left: 100px; color: white; font-size: 18px; font-family: sans-serif;">
<p style="display: inline;">Render: </p>
<input id="render" type="checkbox" checked>
<br>
<p style="display: inline;">Render Buffer Demo: </p>
<input id="renderBufferDemo" type="checkbox">
<br>
<p style="display: inline;">GlobalTime: </p>
<input id="globalTime" style="margin-top: 20px"
type="range" min="-2" max="2" value="1" step="0.01"
oninput="abstractionLayer.game.globalTimer.Speed = this.value;
$('#globalVal').text(this.value + 'x');">
<p id="globalVal" style="display: inline;">1x</p>
<br>
<p style="display: inline;">LocalTime: </p>
<input id="localTime" style="margin-top: 20px"
type="range" min="-2" max="2" value="0.5" step="0.01"
oninput="abstractionLayer.game.testLocalTimer.Speed = this.value;
$('#localVal').text(this.value + 'x');">
<p id="localVal" style="display: inline;">0.5x</p>
</div>
<canvas id="gameCanvas" style="min-height:300px;"></canvas>
</div>
</body>
</html>