-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (66 loc) · 2.96 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
<!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">
<link rel="shortcut icon" href="img/3_enemies_chicken/chicken_normal/1_walk/1_w.png" type="image/x-icon">
<title>El-Pollo-Loco</title>
<link rel="stylesheet" href="style.css">
<script src="models/drawable-objects.class.js"></script>
<script src="models/movable-object.class.js"></script>
<script src="models/hitbox.class.js"></script>
<script src="models/cloud.class.js"></script>
<script src="models/character.class.js"></script>
<script src="models/collectables.class.js"></script>
<script src="models/chicken_small.class.js"></script>
<script src="models/chicken.class.js"></script>
<script src="models/status-bar.class.js"></script>
<script src="models/world.class.js"></script>
<script src="models/background-object.class.js"></script>
<script src="models/keyboard.class.js"></script>
<script src="models/level.class.js"></script>
<script src="models/throwable-object.class.js"></script>
<script src="models/endboss.class.js"></script>
<script src="levels/level1.js"></script>
<script src="js/game.js"></script>
<script src="js/audio.js"></script>
</head>
<body>
<div class="game" id="game">
<div class="rotate-phone d-none" id="rotatephone">
<img src="img/icons/rotate-smartphone.svg" alt="">
<P>Rotate your phone to have a better gaming experience.</P>
</div>
<div class="gameover-win d-none" id="gameoverwinimage">
<img src="" alt="" id="gameoverwin">
<div>
<button onclick="goToMenu()">Go To Menu</button>
</div>
</div>
<div class="buttons-in-game d-none" id="showbuttonsingame">
<div>
<button class="settings-icon sound-on sound-button-in-game" onclick="toggleSound()"id="soundbuttoningame"></button>
</div>
<div class="action-buttons d-none" id="actionbuttons">
<div>
<button class="move-left" id="moveleftphone"></button>
<button class="move-right" id="moverightphone"></button>
</div>
<div>
<button class="jump-high" id="jumpphone"></button>
<button class="throw" id="throwphone"></button>
</div>
</div>
</div>
<canvas id="canvas" width="720" height="480" class="d-none"></canvas>
<div class="menu-container-section" id="gamemenu">
<button class="start" onclick="startGame()">START</button>
<div>
<button class="settings-icon sound-on" onclick="toggleSound()" id="soundbutton"></button>
<button onclick="openSettings()" class="settings-icon setting"></button>
</div>
</div>
</div>
</body>
</html>