-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoodle.html
59 lines (47 loc) · 1.61 KB
/
doodle.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
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>HTML5 Doodle Jump</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="container">
<canvas id="canvas">
Aww, your browser doesn't support HTML5!
</canvas>
<div id="mainMenu">
<h1>doodle jump</h1>
<h3>using HTML5,</h3>
<h3>...by <a href="http://twitter.com/solitarydesigns/" target="_blank">Kushagra Agarwal</a></h3>
<h3>and <a href="http://twitter.com/_rishabhp" target="_blank">Rishabh</a></h3>
<p class="info">
use
<span class="key left">←</span>
<span class="key right">→</span>
to move and space to (re) start...
</p>
<a class="button" href="javascript:init()">Play</a>
</div>
<div id="gameOverMenu">
<h1>game over!</h1>
<h3 id="go_score">you scored 0 points</h3>
<a class="button" href="javascript:reset()">Restart</a>
<a id="tweetBtn" target="_blank" class="button tweet" href="#">Tweet score</a>
<a id="fbBtn" target="_blank" class="button fb" href="#">Post on FB</a>
</div>
<!-- Preloading image ;) -->
<img id="sprite" src="image/all.png"/>
<div id="scoreBoard">
<p id="score">0</p>
</div>
</div>
<script src="js/Player.js"></script>
<script src="js/Platform.js"></script>
<script src="js/Spring.js"></script>
<script src="js/Base.js"></script>
<script src="js/Menu.js"></script>
<script src="js/Game.js"></script>
<script src="js/main.js"></script>
</body>
</html>