-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·258 lines (254 loc) · 9.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
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<meta name="googlebot-news" content="all" />
<meta name="googlebot" content="all" />
<meta name="HandheldFriendly" content="True" />
<meta name="SLURP" content="all" />
<meta name="MSNBOT" content="all" />
<meta name="teoma" content="all" />
<meta name="keywords" content="nikodermus, javascript, nicolas m pardo, dakio" />
<meta name="description" content="This is a solo project in order to learn better JS, DOM Manipulation and my first approach to canvas, I hope it's fun for you too!"
/>
<meta name="date" content="2017" />
<meta name="author" content="Nicolas M. Pardo | Nikodermus" />
<meta name='generator' content='Nicolas M. Pardo | Nikodermus'>
<meta name="application-name" content="Catch and Run">
<meta property="fb:app_id" content="000000000" />
<meta property="og:title" content="Catch & Run | Nikodermus" />
<meta property="og:site_name" content="Catch and Run" />
<meta property="og:url" content="http://www.game.dakio.co" />
<meta property="og:type" content="website" />
<meta property="og:image" content="http://www.game.dakio.co/assets/facebook-preview.jpg" />
<meta property="og:image:type" content="image/jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:locale" content="en_US">
<meta property="og:description" content="This is a solo project in order to learn better JS, DOM Manipulation and my first approach to canvas, I hope it's fun for you too!"
/>
<meta property="article:author" content="https://www.facebook.com/nikodermus/" />
<meta itemprop="description" content="This is a solo project in order to learn better JS, DOM Manipulation and my first approach to canvas, I hope it's fun for you too!">
<meta itemprop="name" content="Catch & Run | Nikodermus">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@ndermus" />
<meta name="twitter:creator" content="@ndermus" />
<meta name="twitter:title" content="Catch & Run | Nikodermus" />
<meta name="twitter:description" content="This is a solo project in order to learn better JS, DOM Manipulation and my first approach to canvas, I hope it's fun for you too!">
<meta name="twitter:image" content="http://www.game.dakio.co/assets/twitter-preview.jpg" />
<meta name="twitter:image:src" content="http://www.game.dakio.co/assets/twitter-preview.jpg" />
<meta name="twitter:image:width" content="870" />
<meta name="twitter:image:height" content="750" />
<meta name="twitter:image:alt" content="This is a solo project in order to learn better JS, DOM Manipulation and my first approach to canvas, I hope it's fun for you too!"
/>
<meta name="msapplication-TileImage" content="./favicon.gif" />
<meta name="msapplication-TileColor" content="#9C1B00" />
<meta name="application-name" content="Catch and Run" />
<meta name="MobileOptimized" content="320" />
<meta name="msapplication-navbutton-color" content="#9C1B00" />
<!--Only use if needed<link rel="canonical" href="http://www.game.dakio.co"/>-->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-traslucent" />
<meta name="theme-color" content="#9C1B00" />
<link rel="mask-icon" href="assets/safari-pinned-tab.svg" color="#9C1B00" />
<link rel="icon" href="favicon.gif" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.gif" type="image/x-icon" />
<!--[if lt IE 8]><p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p><![endif]-->
<title>Catch & Run | Nikodermus</title>
<link rel="stylesheet" href="./assets/stylesheets/fonts.css" />
<link rel="stylesheet" href="./assets/stylesheets/icons.css" />
<link rel="stylesheet" href="./assets/stylesheets/main.css" />
<script src="./assets/javascripts/jquery.min.js"></script>
<script src="./assets/javascripts/js.cookie.js"></script>
<script src="./assets/javascripts/bundle.js"></script>
<script src="./assets/javascripts/sessions.js"></script>
</head>
<body>
<span id="global" hidden>
<span class="user_info" data-user="name"></span>
<span class="user_info" data-user="email"></span>
<span class="user_info" data-user="nickname"></span>
<span class="user_info" data-user="id"></span>
<span class="game_info" data-game="id"></span>
</span>
<div id="game_container">
<figure class="top">
<img src="./assets/images/pause_icon.png" alt="">
</figure>
<div class="border"></div>
<div class="border"></div>
<div class="border">
<div class="panel" class="no-select">
<div class="left">
<img src="./assets/images/lost_soul.gif" alt="">
<span id="souls_count">00</span>
</div>
<div class="right">
<figure class="lives" id="life_count"></figure>
<button id="pause_game" class="square">
<div>II</div>
</button>
</div>
<figure>
<img src="./assets/images/3_lifes.gif" alt="" id="player_status">
<img src="" alt="" id="power_active">
</figure>
</div>
</div>
<div class="border"></div>
<img src="./assets/images/corner.png" alt="" class="corner">
<img src="./assets/images/corner.png" alt="" class="corner">
<img src="./assets/images/corner.png" alt="" class="corner">
<img src="./assets/images/corner.png" alt="" class="corner">
<div id="canvas_container"></div>
</div>
<div id="pause_menu">
<div class="menu_overlay">
<div class="menu_container">
<h1>Menu</h1>
<div class="menu_buttons">
<a href="javaScript:void(0);">
<button class="square" id="close_menu">
<div class="square-content">
<i class="icon icon-cancel"></i>
</div>
</button>
</a>
<a href="javaScript:void(0);">
<button class="square" id="reload_game">
<div class="square-content">
<i class="icon icon-reset"></i>
</div>
</button>
</a>
<a href="https://facebook.com/Nikodermus">
<button class="square">
<div class="square-content">
<i class="icon icon-facebook"></i>
</div>
</button>
</a>
<a href="http://github.com/Nikodermus/catch-and-run-game">
<button class="square">
<div class="square-content">
<i class="icon icon-github"></i>
</div>
</button>
</a>
</div>
<h3>
<a href="https://www.idsoftware.com/en-gb" target="_blank">id Software</a>
</h3>
<h3>
<a href="http://github.com/Nikodermus" target="_blank">Nikodermus</a>
</h3>
<figure>
<img src="./assets/images/menu_img.png" alt="">
</figure>
</div>
</div>
</div>
<div id="power_up_text" class="no-select"></div>
<div id="count_down" class="no-select">
<span>3</span>
</div>
<div id="main_menu">
<div class="btn-container">
<div class="left">
<div class="user_elem">
<p class="inline_block">Hello
<span class="user_info" data-user="name"></span>!</p>
<a href="./my_profile.html">
<button>My Profile</button>
</a>
</div>
<div class="anonymous_elem">
<button class="login_btn">Login</button>
<button class="sign_up_btn">Sign Up</button>
</div>
</div>
<div class="right">
</div>
</div>
<div class="menu_content">
<div class="logo">
<figure>
<img src="./assets/images/main.gif" alt="">
</figure>
<figure>
<img src="./assets/images/logo.png" alt="">
</figure>
</div>
<button id="easy_level">I'm a baby</button>
<button id="normal_level">Hurt me</button>
<button id="hardcore_level">Hell Overlord</button>
<button></button>
<div class="text-center">
<a href="./leaderboard.html">
<h3 class="text-center">Leaderboard</h3>
</a>
</div>
</div>
<button id="close_session" class="user_elem">Close session</button>
</div>
<div id="game_over">
<div class="game_container">
<figure>
<img src="./assets/images/marine.gif" alt="" id="death_gif">
</figure>
<button id="restart_game">Restart</button>
<button id="reload_window">Main Menu</button>
</div>
</div>
<div class="fancybox_container" id="login_container">
<div class="fancybox">
<div class="fancybox_content">
<button class="close_btn">Close</button>
<form action="" accept-method="post" id="login_form">
<div class="column">
<label for="email_login">Email</label>
<input type="email" id="email_login" name="session[email]">
</div>
<div class="column">
<label for="password_login">Password</label>
<input type="password" id="password_login" name="session[password]">
</div>
<div>
<input type="submit" value="Login">
</div>
</form>
</div>
</div>
</div>
<div class="fancybox_container" id="sign_up_container">
<div class="fancybox">
<div class="fancybox_content">
<button class="close_btn">Close</button>
<form action="" id="sign_up_form" accept-method="post">
<div class="column">
<label for="name_sign_up">Name</label>
<input type="text" id="name_sign_up" name="user[name]">
<label for="email_sign_up">Email</label>
<input type="email" id="email_sign_up" name="user[email]">
<label for="nickname_sign_up">Nickname</label>
<input type="text" id="nickname_sign_up" name="user[nickname]">
</div>
<div class="column">
<label for="password_sign_up">Password</label>
<input type="password" id="password_sign_up" name="user[password]">
<label for="password_confirmation_sign_up">Password Confirmation</label>
<input type="password" id="password_confirmation_sign_up" name="user[password_confirmation]">
</div>
<div class="clearfix">
<input type="submit" value="Sign Up">
</div>
</form>
<button class="login_btn">Login</button>
</div>
</div>
</div>
</body>
</html>