-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
157 lines (153 loc) · 9.34 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<html>
<head>
<title>B1NMAN_ROFP</title>
<link rel="apple-touch-icon" sizes="57x57" href="/resources/images/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/resources/images/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/resources/images/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/resources/images/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/resources/images/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/resources/images/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/resources/images/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/resources/images/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/resources/images/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/resources/images/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/resources/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/resources/images/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/resources/images/favicon/favicon-16x16.png">
<link rel="manifest" href="/resources/images/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/resources/images/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<!-- Stylesheets -->
<link rel="stylesheet" href="./resources/style/application.css" />
</head>
<body>
<div class="game-container">
<div class="game-wrapper" data-cmp="game">
<div class="best-wrapper">BEST _ <span class="best-label">0</span></div>
<div class="debug-wrapper"></div>
<div class="game-intro-screen">
<h3>B1NMAN_ROFP</h3>
<div class="button-collection">
<div class="start-btn button">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve">
<g>
<g>
<path style="fill:#030104;" d="M53.479,27.435L10.672,0.915C7.553-1.132,5,0.374,5,4.261v51.48c0,3.885,2.553,5.391,5.672,3.346
l42.807-26.52c0,0,1.521-1.07,1.521-2.566S53.479,27.435,53.479,27.435z"/>
</g>
</g>
</svg>
</div>
<div class="howto-btn button">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
<path fill="#00000" d="M9 11h-3c0-3 1.6-4 2.7-4.6 0.4-0.2 0.7-0.4 0.9-0.6 0.5-0.5 0.3-1.2 0.2-1.4-0.3-0.7-1-1.4-2.3-1.4-2.1 0-2.5 1.9-2.5 2.3l-3-0.4c0.2-1.7 1.7-4.9 5.5-4.9 2.3 0 4.3 1.3 5.1 3.2 0.7 1.7 0.4 3.5-0.8 4.7-0.5 0.5-1.1 0.8-1.6 1.1-0.9 0.5-1.2 1-1.2 2z"></path>
<path fill="#00000" d="M9.5 14c0 1.105-0.895 2-2 2s-2-0.895-2-2c0-1.105 0.895-2 2-2s2 0.895 2 2z"></path>
</svg>
</div>
</div>
</div>
<div class="game-over-screen">
<h3>GAME_OVER</h3>
<div class="restart-btn button">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 14.155 14.155" style="enable-background:new 0 0 14.155 14.155;" xml:space="preserve" width="512px" height="512px">
<g>
<path d="M12.083,1.887c-0.795-0.794-1.73-1.359-2.727-1.697v2.135c0.48,0.239,0.935,0.55,1.334,0.95 c1.993,1.994,1.993,5.236,0,7.229c-1.993,1.99-5.233,1.99-7.229,0c-1.991-1.995-1.991-5.235,0-7.229 C3.466,3.269,3.482,3.259,3.489,3.25h0.002l1.181,1.179L4.665,0.685L0.923,0.68l1.176,1.176C2.092,1.868,2.081,1.88,2.072,1.887 c-2.763,2.762-2.763,7.243,0,10.005c2.767,2.765,7.245,2.765,10.011,0C14.844,9.13,14.847,4.649,12.083,1.887z" fill="#00000"/>
</g>
</div>
</div>
<div class="game-howto-screen">
<div class="close-howto">« Back</div>
<div class="content-wrapper">
<h3>_HOWTO</h3>
<p>The goal is simple. Stay alive!</p>
<p>
Down below you see a "power bar". This bar shows you the remaining power of B1NMAN.
</p>
<p>
You <u>lose</u> power by the following actions: Shooting, getting hit.
<br />
You <u>receive</u> power by killing enemies.
</p>
<p>
You play against two enemies. The time and the robots.<br />
Each wave lasts 30 seconds.
</p>
<p>
The game is over if the time passed or your power bar is empty.
</p>
<h3>_CONTROLS</h3>
<table>
<tr>
<td><p>[SPACE]</p></td>
<td><p>Shoot (Keep pressed)</p></td>
</tr>
<tr>
<td><p>[ARROW_LEFT]</p></td>
<td><p>Walk left</p></td>
</tr>
<tr>
<td><p>[ARROW_RIGHT]</p></td>
<td><p>Walk right</p></td>
</tr>
<tr>
<td><p>[ARROW_UP]</p></td>
<td><p>Jump</p></td>
</tr>
</table>
<h3>_ENEMIES</h3>
<div class="enemy-wrapper">
<div class="image">
<img src="./resources/images/preview/enemy1.png">
</div>
<div class="description">
<p>Emits an impulse after a time. <br />If you're intersecting with this impulse you lose some power. <br /> This enemy can be move for a tactical advantage.</p>
</div>
</div>
<div class="enemy-wrapper">
<div class="image">
<img src="./resources/images/preview/enemy2.png">
</div>
<div class="description">
<p>Moves if you're moving or shooting. <br />
If you intersect with him you lose some power and he destroys himself.<br />
You can't say what this guy is gonna do next.</p>
</div>
</div>
<h3>_HINTS</h3>
<p>Kill with style! (It saves you power)</p>
<img src="./resources/images/preview/stylekill.gif" />
</div>
</div>
</div>
<div class="hud-wrapper">
<div class="left">
<div class="power-bar">
<div class="power-bar-indicator"></div>
</div>
</div>
<div class="right">
<div class="wave-time">
<span>TIME _ </span>
<span class="wave-time-label">0</span>
</div>
<div class="wave-counter">
<span>WAVE _ </span>
<span class="wave-counter-label">0</span>
</div>
</div>
</div>
</div>
<!-- Scripts -->
<script src="./resources/node_modules/gsap/src/minified/TweenMax.min.js"></script>
<script src="./resources/node_modules/pixi.js/dist/pixi.min.js"></script>
<script src="./resources/node_modules/pixi-particles/dist/pixi-particles.min.js"></script>
<script src="./resources/node_modules/matter-js/build/matter.min.js"></script>
<!-- Dev -->
<script src="./resources/node_modules/google-closure-library/closure/goog/base.js"></script>
<script src="./resources/javascript/gen/application.deps.js"></script>
<script type="text/javascript">goog.require('rofp')</script>
<script>rofp.bootstrap();</script>
</body>
</html>