forked from ALSchwalm/PolygonPanic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html~
105 lines (75 loc) · 3.29 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Polygon Panic</title>
<link rel="stylesheet" href="css/hover-min.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="js/lib/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script>
jQuery.fn.center = function() {
this.css("position", "absolute");
//this.css("top", Math.max(0, (($(window).height() - $(this).outerHeight()) / 2) +
//$(window).scrollTop()) + "px");
this.css("left", Math.max(0, (($(window).width() - $(this).outerWidth()) / 2) +
$(window).scrollLeft()) + "px");
this.css("right", Math.max(0, (($(window).width() - $(this).outerWidth()) / 2) +
$(window).scrollRight()) + "px");
return this;
}
</script>
<script data-main="app" src="js/lib/require.js"></script>
</head>
<body>
<div align="center" id="mainMenu_Container" class="menuContainer jumbotron">
<div id="gameHeader" class="jumbotron">
<h1 class="header">PolygonPanic </h1>
<p class="subText">Can you survive the madness?</p>
</div>
<a href="#" id="playBtn" class="push_button red">Play</a>
<a class="push_button blue">How to Play?</a>
</div>
<div align="center" id="howToPlay" class="tutorialContainer jumbotron" style="display: none;">
<h1 class="header" style='margin-top: 1%;'> How To Play</h1>
<h3>Click To Toggle Menus</h3>
<br/>
<div id="image1">
<img src="../assets/images/howToPlay2.jpg" width="70%" height="auto" onclick="$('#image1').hide(); $('#image2').show(600);">
</div>
<div id="image2">
<img src="../assets/images/howToPlay1.jpg" width="70%" height="auto" onclick="$('#image2').hide(); $('#image1').show(600);">
</div>
<br/>
<a onclick="$('#howToPlay').hide(); $('#mainMenu_Container').show(1000);" class="push_button blue">Back to Menu</a>
</div>
<div id="level-transition">
<div class="container row">
<h1>Level Complete</h1>
<table class="table">
<tr><th>Statistic</th><th>Value</th></tr>
<tr><td>Total Score</td><td id="total-score"></td></tr>
<tr><td>Enemies Destroyed</td><td id="enemies-destroyed"></td></tr>
<tr><td>Time Played</td><td id="time-played"></td></tr>
</table>
<button class="btn btn-primary col-sm-4 col-sm-offset-4">Next</button>
</div>
</div>
<div id="game-over">
<div class="container row">
<h1>Game Over</h1>
</div>
</div>
<div id="game-container">
<div id="phaser-container">
<div id="phaser-body"></div>
</div>
</div>
</body>
</html>