-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (78 loc) · 3.29 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html translate="no" lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>El Pollo Locco</title>
<link rel="icon" type="image/x-icon" href="./img/8_coin/coin_2.png">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="fonts.css">
<script src="models/drawable-object.class.js"></script>
<script src="models/moveable-object.class.js"></script>
<script src="models/throwable-object.class.js"></script>
<script src="models/collectable-object.class.js"></script>
<script src="models/coin.class.js"></script>
<script src="models/keyboard.class.js"></script>
<script src="models/status-bar.class.js"></script>
<script src="models/status-bar-coin.class.js"></script>
<script src="models/status-bar-bottle.class.js"></script>
<script src="models/status-bar-boss.class.js"></script>
<script src="models/character.class.js"></script>
<script src="models/chicken.class.js"></script>
<script src="models/chicks.class.js"></script>
<script src="models/endboss.class.js"></script>
<script src="models/cloud.class.js"></script>
<script src="models/level.class.js"></script>
<script src="models/world.class.js"></script>
<script src="models/background-object.class.js"></script>
<script src="levels/level1.js"></script>
<script src="js/game.js"></script>
</head>
<body onload="init()">
<h1 id="title">El Pollo Locco</h1>
<div id="main-container">
<canvas id="canvas" width="860" height="480"></canvas>
<div id="start-screen" class="overlay">
<button onclick="startGame()">Start Game</button>
</div>
<div id="end-screen" class="overlay-end" style="display: none">
<button onclick="restartGame()">Restart Game</button>
</div>
<div id="win-screen" class="overlay-win" style="display: none">
<button onclick="restartGame()">Restart Game</button>
</div>
<div class="fullscreen">
<img class="hover" src="./img/icons/expand.png" onclick="fullscreen()">
</div>
<div class="volume">
<img class="hover" id="volume" src="./img/icons/volume.png" onclick="toggleSounds()">
</div>
</div>
<br>
<br>
<div>
<span>Forward: Right Backward: Left Jump:
Space Throw: D</span>
</div>
<div class="footer">
<a class="overlay-impressum" href="imprint.html">Impressum</a>
<a class="overlay-impressum" href="privacy.html">Datenschutz</a>
</div>
<div id="overlayScreen">
<div id="mobileActionButtons">
<div id="leftActinButtons">
<img id="arrowLeft" src="./img/icons/angle-left.png">
<img id="arrowRight" src="./img/icons/angle-right.png">
</div>
<div id="rightActionButtons">
<img id="arrowUp" src="./img/icons/angle-up.png">
<img id="bottle" src="./img/icons/bottle-droplet.png">
</div>
</div>
</div>
<div id="turnDisplay">
<h2 class="turn-h2">Turn your <br> screen</h2>
</div>
<script src="js/fullscreen.js"></script>
</body>
</html>