-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (38 loc) · 1.55 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>dino-game</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@font-face{
font-family: 'ArcadeClassic';
src:url('./build/font/arcadeclassic.regular.ttf');
}
body{
margin: 0px;
}
/* canvas{
border: 2px solid #000000;
} */
</style>
</head>
<body>
<div style="display: none">
<img src="./build/images/dino/dino1.png" id="dino1" />
<img src="./build/images/dino/dino2.png" id="dino2" />
<img src="./build/images/dino/dino3.png" id="dino3" />
<img src="./build/images/elements/alien_ship_1.png" id="alien_ship_1" />
<img src="./build/images/elements/alien_ship_2.png" id="alien_ship_2" />
<img src="./build/images/elements/alien_ship_3.png" id="alien_ship_3" />
<img src="./build/images/elements/arrow.png" id="arrow" />
<img src="./build/images/elements/heart_gray.png" id="heart_gray" />
<img src="./build/images/elements/heart_red.png" id="heart_red" />
<img src="./build/images/elements/spear.png" id="spear" />
<img src="./build/images/elements/sword.png" id="sword" />
</div>
<canvas id="can"></canvas>
<script src="./build/js/main.bundle.js"></script>
</body>
</html>