-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.html
63 lines (58 loc) · 1.91 KB
/
game.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
<!DOCTYPE html>
<html>
<head>
<title>Runner Man</title>
<link rel='stylesheet' href='game.css'/>
</head>
<body>
<div id='wrapper'>
<div id='toast'></div>
<div id='credits' class='credits'>
<div class='credit'>
<div class='title'>
~ Game Design and Programming ~
</div>
<div class='attribution'>
Steshik,Guzev and Glytov
</div>
</div>
<div>
<a id='new-game-link' href='#' style="font-size: 50px;">Play again</a>
</div>
</div>
<div id='header'>
<div id='score'>0</div>
<div id='lives'>
<img id='life-icon-left' src='images/runner-small.png'/>
<img id='life-icon-middle' src='images/runner-small.png'/>
<img id='life-icon-right' src='images/runner-small.png'/>
</div>
</div>
<div id='arena'>
<canvas id='game-canvas' width='800' height='400'>
Ваш браузер не поддерживает холст Canvas HTML5.
</canvas>
<div id='instructions'>
<div class='keys'>
a / d <div class='explanation'> move left/right</div>
</div>
<div class='keys'>
space <div class='explanation'> jump </div>
</div>
<div class='keys'>
p <div class='explanation'> pause </div>
</div>
</div>
<div id='copyright'> Steshik,Guzev and Glytov</div>
</div>
</div>
<script src='js/sprites.js'></script>
<script src='js/stopwatch.js'></script>
<script src='js/animationTimer.js'></script>
<script src='js/behaviors/cycle.js'></script>
<script src='js/behaviors/pulse.js'></script>
<script src='js/behaviors/bounce.js'></script>
<script src='js/requestNextAnimationFrame.js'></script>
<script src='game.js'></script>
</body>
</html>