-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGame.html
58 lines (48 loc) · 1.95 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="./css/index.css" />
<link rel="stylesheet" href="./css/gameStyles.css" />
<link rel="stylesheet" href="./css/gameButton.css" />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Game</title>
</head>
<body>
<!-- logo and title -->
<img class="logo" src="./img/logo.png" />
<h1 class="title">ELEMENTO</h1>
<!-- classes -->
<script src="./js/classes/CollisionBlock.js"></script>
<script src="./js/classes/Sprite.js"></script>
<script src="./js/classes/Player.js"></script>
<!-- player -->
<script src="./js/eventListeners.js"></script>
<script src="./js/elements.js"></script>
<script src="./js/player.js"></script>
<!-- levels -->
<script src="./js/levels/utils.js"></script>
<!-- maps -->
<script src="./js/levels/maps/map1.js"></script>
<script src="./js/levels/maps/map2.js"></script>
<script src="./js/levels/maps/map3.js"></script>
<script src="./js/levels/maps/map4.js"></script>
<script src="./js/levels/maps/map5.js"></script>
<!-- collisions -->
<script src="./js/levels/collisions/collisions1.js"></script>
<script src="./js/levels/collisions/collisions2.js"></script>
<script src="./js/levels/collisions/collisions3.js"></script>
<script src="./js/levels/collisions/collisions4.js"></script>
<script src="./js/levels/collisions/collisions5.js"></script>
<!-- game window -->
<canvas></canvas>
<script src="./js/game.js"></script>
</body>
<!-- footer -->
<footer class="game-footer">
<div classes="go-back-btn">
<button type="button" class="gameBtn2" role="button" onclick="window.location.href='./Home.html';"></button>
</div>
</footer>
</html>