-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (29 loc) · 1.35 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
<!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="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Creepster&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<title>Javascript 2D Game</title>
</head>
<body>
<canvas id="canvas1"></canvas>
<img id="player" src="images/player.png">
<img id="layer1" src="images/Background/layer-1.png">
<img id="layer2" src="images/Background/layer-2.png">
<img id="layer3" src="images/Background/layer-3.png">
<img id="layer4" src="images/Background/layer-4.png">
<img id="layer5" src="images/Background/layer-5.png">
<img id="enemy_fly" src="images/Enemies/enemy_fly.png">
<img id="enemy_plant" src="images/Enemies/enemy_plant.png">
<img id="enemy_spider_big" src="images/Enemies/enemy_spider_big.png">
<img id="fire" src="images/Particles/fire.png">
<img id="collisionAnimation" src="images/CollisionAnimation/boom.png">
<img id="lives" src="images/UI/heart.png">
<script type="module" src="js/app.js"></script>
</body>
</html>