-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
45 lines (39 loc) · 1.31 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<title>Crash Landing</title>
<script type="text/javascript" charset="utf-8">
var gameWidth = 640,
gameHeight = 360;
</script>
<script src="src/js/lib/phaser/build/phaser.js"></script>
<script src="src/js/lib/Shatter.js/build/shatter.js"></script>
<script src="src/js/Boot.js"></script>
<script src="src/js/Preloader.js"></script>
<script src="src/js/MainMenu.js"></script>
<script src="src/js/Game.js"></script>
<script src="src/js/Player.js"></script>
<script src="src/js/Audio.js"></script>
<script src="src/js/Ground.js"></script>
<script src="src/js/Input.js"></script>
<script src="src/js/ShatterSprite.js"></script>
<script src="src/js/ShatterArray.js"></script>
<script src="src/js/Shaker.js"></script>
<script src="src/js/MobileGamepad.js"></script>
<script src="src/js/Fishguy.js"></script>
</head>
<body>
<div id="gameContainer"></div>
<script type="text/javascript">
window.onload = function() {
var game = new Phaser.Game(gameWidth, gameHeight, Phaser.AUTO, 'gameContainer');
game.state.add('Boot', CrashLanding.Boot);
game.state.add('Preloader', CrashLanding.Preloader);
game.state.add('MainMenu', CrashLanding.MainMenu);
game.state.add('Game', CrashLanding.Game);
game.state.start('Boot');
};
</script>
</body>
</html>