-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·70 lines (68 loc) · 2.3 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE HTML>
<html lang = "en-US">
<head>
<meta charset = "UTF-8">
<title>Game State Demo</title>
<link rel = "stylesheet" type = "text/css" href = "styles/game.css">
</head>
<body onload = "DTD.screens.initialize();">
<div id = "game">
<div id = "page-mainmenu" class = "screen">
<ul class = "menu">
<li><button id = "id-new-game">New Game</button></li>
<li><button id = "id-keyboard-config">Keyboard Configuration</button></li>
<li><button id = "id-high-scores">High Scores</button></li>
<li><button id = "id-about">About</button></li>
</ul>
</div>
<div id = "page-game" class = "screen">
<canvas id = "canvas-main" width = "800" height = "600"></canvas>
</div>
<div id = "page-highscores" class = "screen">
<h1>High Scores</h1>
<ol id = "high-scores-list">
<li>7000</li>
</ol>
<ul class = "menu">
<li><button id = "id-high-scores-back">Back</button></li>
</ul>
</div>
<div id = "page-keyboard-config" class = "screen">
<h1>High Scores</h1>
<ol id = "key-bindings">
<li>7000</li>
</ol>
<ul class = "menu">
<li><button id = "id-keyboard-config-back">Back</button></li>
</ul>
</div>
<div id = "page-about" class = "screen">
<h1>About</h1>
<p>Developed by</p>
<p>Austin Stoker and Kendall Spackman</p>
<p>using code samples by Dean Mathias</p>
<ul class = "menu">
<li><button id = "id-about-back">Back</button></li>
</ul>
</div>
</div>
<script>
DTD = {
pages : {}
};
</script>
<script src = "scripts/Core/AssetManager.js"></script>
<script src = "scripts/Core/Graphics.js"></script>
<script src = "scripts/Core/input.js"></script>
<script src = "scripts/Core/HighScores.js"></script>
<script src = "scripts/Core/random.js"></script>
<script src = "scripts/Core/ParticleSystem.js"></script>
<script src = "scripts/Core/screens.js"></script>
<script src = "scripts/Gameplay/Components.js"></script>
<script src = "scripts/Gameplay/GameModel.js"></script>
<script src = "scripts/Gameplay/page-mainmenu.js"></script>
<script src = "scripts/Gameplay/page-game.js"></script>
<script src = "scripts/Gameplay/page-highscores.js"></script>
<script src = "scripts/Gameplay/page-about.js"></script>
</body>
</html>