-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
63 lines (63 loc) · 2.92 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
<html>
<head>
<title>Shootr</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#000">
<link href='//fonts.googleapis.com/css?family=Dosis:300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/shootr.css">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/seedrandom.min.js"></script>
<script src="js/pixi.min.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="row">
<ul class="nav nav-pills visible-xs">
<li role="presentation" class="active game text-center"><a href="#" onclick="ShootrUI.tabSwitch('game')">Game</a></li>
<li role="presentation" class="upgrades text-center"><a href="#" onclick="ShootrUI.tabSwitch('upgrades')">Uprades</a></li>
<li role="presentation" class="options text-center"><a href="#" onclick="ShootrUI.tabSwitch('options')">Options</a></li>
</ul>
<div class="col-xs-12 col-sm-4 hidden-xs" id="upgradetab">
<button onclick="ShootrUI.pauseGame();" class="hidden-xs">Pause</button>
<select id="gamepad-sel" onchange="ShootrUI.selectGamepad(this, 1);"><option>Select Gamepad</option></select>
<div id="p1-shield-div"><canvas id="p1-shield"></canvas></div>
<div id="p1-stats"></div>
<div id="p1-upgrades"></div>
</div>
<div class="col-xs-12 col-sm-4 col-no-pad">
<div class="col-xs-12 hidden-xs" id="level-select"></div>
<div class="canvas-container">
<canvas id="game_canvas"></canvas>
<div id="message-overlay">Click or press start to begin</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 hidden-xs" id="optionstab">
<button onclick="if (confirm('You will lose all progress')) { resetSaveGame(); }">Reset Game</button>
<button onclick="ShootrUI.toggleFullscreen()">Full screen</button>
<div>
<p>
Volume: <span id="vol-display"></span>%
</p>
<input id="vol-slider" type="range" min="0" max="1" step="0.01" onchange="ShootrUI.updateVolume(this);"/>
</div>
</div>
</div>
</div>
<script src="js/utilfunctions.js"></script>
<script src="js/stars.js"></script>
<script src="js/ships.js"></script>
<script src="js/playership.js"></script>
<script src="js/enemyships.js"></script>
<script src="js/bullets.js"></script>
<script src="js/gamemodel.js"></script>
<script src="js/powerups.js"></script>
<script src="js/gametext.js"></script>
<script src="js/sounds.js"></script>
<script src="js/shootrui.js"></script>
<script src="js/shootr.js"></script>
</body>
</html>