-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (104 loc) · 4.83 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!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="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png">
<script src="js models/drawableObject.class.js"></script>
<script src="js models/moveableObject.class.js"></script>
<script src="js models/character.class.js"></script>
<script src="js models/villain.class.js"></script>
<script src="js models/statusBar.class.js"></script>
<script src="js models/manabar.class.js"></script>
<script src="js models/collectableObjects.class.js"></script>
<script src="js models/potion.class.js"></script>
<script src="js models/spellbook.class.js"></script>
<script src="js models/world.class.js"></script>
<script src="js models/background-object.class.js"></script>
<script src="js models/keyboard.class.js"></script>
<script src="js models/level.class.js"></script>
<script src="js models/castableObject.class.js"></script>
<script src="js models/fireball.class.js"></script>
<script src="js models/flash.class.js"></script>
<script src="js models/endboss.class.js"></script>
<script src="levels/level1.js"></script>
<script src="js/game.js"></script>
<link rel="stylesheet" href="style.css">
<title>Mirkwoods Destiny</title>
</head>
<body onload="init()">
<header class="logo">
<img src="img\mirkwoods_logo_shadow.png" alt="">
</header>
<div class="game">
<canvas id="canvas" width="720" height="480"></canvas>
<div class="menu">
<div class="score">
<span>Highscore:</span>
<span id="score">0000000</span>
</div>
<div class="sound">
<img src="img/icons/unmute.png" id="soundIconIngame" alt="" onclick="soundMute()">
</div>
</div>
</div>
<div class="mobileControllerLeft" id="mobileControllerLeft">
<div>
<button class="btnSmall" id="btnJump">
<img class="arrowUp" src="img/icons/arrow-204-256.png" alt="">
</button>
</div>
<div class="buttonContainer">
<button class="btnSmall" id="btnLeft">
<img class="arrowLeft" src="img/icons/arrow-204-256.png" alt="">
</button>
<button class="btnSmall" id="btnRight">
<img class="arrowRight" src="img/icons/arrow-204-256.png" alt="">
</button>
</div>
</div>
<div class="mobileControllerRight" id="mobileControllerRight">
<button class="btnSmall" id="btnFlash">
<img class="flashcastBtn" src="img/Flashcast/flash06.png" alt="">
</button>
<button class="btnSmall" id="btnFireball">
<img class="firecastBtn" src="img/Firecast/22.png" alt="">
</button>
</div>
<div class="startscreen" id="startscreen">
<div class="backdrop">
<img class="logo" src="img\mirkwoods_logo_shadow.png" alt="">
<button class="btn" id="continue" onclick=" continueGame()">Into battle!</button>
<div class="gameLore dnone" id="description">
<span>Once elves lived in droves in the trees of the Mirkwoods, gentle and pure in their countenance, tending their homeland for thousands of generations. <br>
Now a dark power rises in the east and casts its shadow menacingly over the treetops of the Forest. <br>
<br>
Night falls, drums roll in the impenetrable thicket of the undergrowth, clashing swords and clattering armor in the gloom. <br>
The future of your ancestral home is in your hands, are you ready to fulfill your destiny?
</span>
</div>
<div class="startMenu dnone" id="startMenu">
<button class="btnSmall" onclick="howToPlay()">
<img class="icon" src="img/icons/joystick-2-128.png" alt="">
</button>
<button class="btn" id="startGame" onclick="startGame()">READY!</button>
<button class="btnSmall">
<img class="icon" id="soundIconMenu" src="img/icons/unmute.png" alt="" onclick="soundMute()">
</button>
</div>
</div>
</div>
<div class="endscreen dnone" id="endscreen">
<div class="endscreenContent">
<span id="endscreenHeadline"></span>
<button class="btn" id="startGame" onclick="startGame()">RESTART!</button>
</div>
</div>
<div class="imprintSec">
<a class="imprint" href="imprint.html">Imprint</a>
<p class="copyright">| © 2023 Niklas Tibbe</p>
</div>
</div>
</body>
</html>