-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
40 lines (40 loc) · 1.78 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv= "Content-type" content= "text/html; charset= utf-8">
<title >Furious Fruit</title>
<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"> </script>
<script src="js/Box2dWeb-2.1.a.3.min.js" type="text/javascript" charset="utf-8"> </script>
<script src="js/game.js" type="text/javascript" charset="utf-8"> </script>
<link rel="stylesheet" href="css/styles.css" type="text/css" media="screen" charset="utf-9">
</head>
<body>
<div id="gamecontainer">
<canvas id="gamecanvas" width="640" height="480" class="gamelayer">
</canvas>
<div id="scorescreen" class="gamelayer">
<img id="togglemusic" src="img/ico/sound.png" onclick="game.toggleBackgroundMusic();">
<img src="img/ico/prev.png" onclick="game.restartLevel();">
<span id="score"> Score: 0</span>
</div>
<div id="gamestartscreen" class="gamelayer">
<img src="img/ico/play.png" alt="Play Game" onclick = "game.showLevelScreen()"> <br>
<img src="img/ico/settings.png" alt="settings">
</div>
<div id="levelselectscreen" class="gamelayer">
</div>
<div id="loadingscreen" class="gamelayer">
<div id="loadingmessage"> </div>
</div>
<div id="endingscreen" class="gamelayer">
<div>
<p id="endingmessage">The Level is over</p>
<p id="playcurrentlevel" onclick="game.restartLevel();"> <img src="img/ico/prev.png"> Replay current level</p>
<p id="playnextlevel" onclick="game.startNextLevel();"><img src="img/ico/next.png"> Play Next Level</p>
<p id="showLevelScreen" onclick="game.showLevelScreen();" ><img src="img/ico/return.png">Return to Level Start</p>
</div>
</div>
</div>
<canvas id="debugcanvas" class="debuglayer" width="1000" height="480" style="border:1px solid black;"></canvas>
</body>
</html>