-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
81 lines (74 loc) · 2.4 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>MARS-TYPE I</title>
<meta property='og:title' content="RadMars GB Jam #5: MARS-TYPE I" />
<meta property='og:description' content='The best gameboy game ever' />
<meta property='og:image' content='http://radmars.com/gbjam5/data/image/favicon.png' />
<link rel="icon"
type="image/png"
href="data/image/favicon.png" />
<script src='libs/melonJS-3.1.0.js'></script>
<script src='src/main.js'></script>
<script src='src/Constant.js'></script>
<script src='src/GameResources.js'></script>
<script src='src/Loader.js'></script>
<script src='src/Screens/IntroScreen.js'></script>
<script src='src/Screens/PlayScreen.js'></script>
<script src='src/Screens/ControlScreen.js'></script>
<script src='src/Screens/TitleScreen.js'></script>
<script src='src/Screens/WinScreen.js'></script>
<script src='src/Screens/GameOverScreen.js'></script>
<script src='src/Screens/CreditsScreen.js'></script>
<script src='src/Path.js'></script>
<script src='src/PlayerEntity.js'></script>
<script src='src/Enemy.js'></script>
<script src='src/Enemy/Basic.js'></script>
<script src='src/Enemy/Boomer.js'></script>
<script src='src/Enemy/Shooter.js'></script>
<script src='src/Enemy/Spike.js'></script>
<script src='src/Enemy/Tank.js'></script>
<script src='src/Boss.js'></script>
<script src='src/Boss/Final.js'></script>
<script src='src/Boss/Hand.js'></script>
<script src='src/Boss/Skull.js'></script>
<script src='src/Bullet.js'></script>
<script src='src/Bullet/Player.js'></script>
<script src='src/Bullet/Shooter.js'></script>
<script src='src/Bullet/Spike.js'></script>
<script src='src/UI/LevelDisplay.js'></script>
<script src='src/UI/BombDisplay.js'></script>
<script src='src/LevelChanger.js'></script>
<script src='src/Particle.js'></script>
<script src='src/Bomb.js'></script>
<style>
body{
background-color: #1f1f1f;
margin: 0 0;
width: 100%;
height: 100%;
}
canvas {
margin: auto auto;
display: block;
}
</style>
</head>
<body style=''>
<script type="text/javascript">
window.onReady(function onReady() {
GBGJ.preload();
// Mobile browser hacks
if (me.device.isMobile && !navigator.isCocoonJS) {
// Prevent the webview from moving on a swipe
window.document.addEventListener("touchmove", function (e) {
e.preventDefault();
window.scroll(0, 0);
return false;
}, false);
}
});
</script>
</body>
</html>