-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (45 loc) · 2.02 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>replit</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="gameContainer">
<!-- preload all the images before using them -->
<img src="assets/withyou.png" id="withyou" hidden>
<img src="assets/cinematic.png" id="cinematic" hidden>
<img src="assets/storysharing.png" id="storysharing" hidden>
<img src="assets/rough_startup.png" id="rough_startup" hidden>
<img src="assets/contaminated_area.png" id="contaminated_area" hidden>
<img src="assets/protagonist_levels.png" id="protagonist" hidden>
<img src="assets/levels/level1.png" id="level1" hidden>
<img src="assets/levels/level2.png" id="level2" hidden>
<img src="assets/levels/level3.png" id="level3" hidden>
<img src="assets/levels/level4.png" id="level4" hidden>
<img src="assets/levels/bridge.png" id="bridge" hidden>
<img src="assets/start/start1.png" id="start1" hidden>
<img src="assets/start/start2.png" id="start2" hidden>
<img src="assets/start/start3.png" id="start3" hidden>
<img src="assets/start/start4.png" id="start4" hidden>
<img src="assets/mist.png" id="mist" hidden>
<img src="assets/enemy.png" id="enemy" hidden>
<img src="assets/arrow.png" id="arrow" hidden>
<img src="assets/enter.png" id="enter" hidden>
<img src="assets/unknownarea.png" id="unknownarea" hidden>
<img src="assets/controls.png" id="controls" hidden>
<img src="assets/cannonball.png" id="cannon" hidden>
<img src="assets/credits.png" id="credits" hidden>
<canvas width=800 height=600 id="canvas">
<script src="common.js"></script>
<script src="script.js"></script>
<script src="levels/level1.js"></script>
<script src="levels/level2.js"></script>
<script src="levels/level3.js"></script>
<script src="levels/level4.js"></script>
<script src="levels/hole.js"></script>
<script src="levels/endgame.js"></script>
</body>
</html>