-
Notifications
You must be signed in to change notification settings - Fork 1
/
game.html
85 lines (68 loc) · 2.72 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<meta charset="utf-8" />
<title>Fish game</title>
<link href="main.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<table width="100%" height="100%" border="0" bgcolor="#0e477b">
<tr align="middle">
<td height="6.25%" width="33.333%" id="lifes">Our lifes</td>
<td height="6.25%" width="33.333%" align="middle">
<a href='#' class="text" onclick="onPauseClick()">P a u s e</a>
</td>
<td height="6.25%" width="33.333%" id="scores">: 0</td>
</tr>
<tr>
<td colspan="3">
<canvas id="scene" width="800px" height="450px"></canvas>
<canvas id="heroCanvas" width="800px" height="450px"></canvas>
<img class="txt_name" id="txt_4" src="imgs/name.png"></img>
<input type="text" name="PlayerName" class="text_field" id="txt_field_name"></input>
<a class="button1" id="btn_1" id="button_p" href='#' target="_self" onclick="onResumeClick()">Button</a>
<a class="button2" id="btn_2" id="button_p" href='#' target="_self" onclick="onReplayClick()">Button</a>
<a class="button3" id="btn_3" id="button_p" href='#' target="_self" onclick="onToMenuClick()">Button</a>
<img class="g_o" id="game_over" src="imgs/game_over.png"></img>
</td>
</tr>
</table>
<audio id="mus">
<source src="music/but.mp3"/>
</audio>
<audio id="main" loop >
<source src="music/main.mp3" type="audio/mp3" />
<source src="music/main.ogg" type="audio/ogg"/>
</audio>
<audio id="over">
<source src="music/stop.mp3" type="audio/mp3" />
<source src="music/stop.ogg" type="audio/ogg"/>
</audio>
<audio id="rod">
<source src="music/rod.mp3" type="audio/mp3" />
<source src="music/rod.ogg" type="audio/ogg"/>
</audio>
<audio id="coll">
<source src="music/coll.mp3" type="audio/mp3" />
<source src="music/coll.ogg" type="audio/ogg"/>
</audio>
<audio id="coll1">
<source src="music/coll1.mp3" type="audio/mp3" />
<source src="music/coll1.ogg" type="audio/ogg"/>
</audio>
<audio id="anc">
<source src="music/anc.mp3" type="audio/mp3" />
<source src="music/anc.ogg" type="audio/ogg"/>
</audio>
<audio id="coll2">
<source src="music/coll2.mp3" type="audio/mp3" />
<source src="music/coll2.ogg" type="audio/ogg"/>
</audio>
<script type="text/javascript" src="jquery-1.8.2.js"></script>
<script type="text/javascript" src="game.js"></script>
</body>
</html>