-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·46 lines (43 loc) · 1.29 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
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>ShootIUT</title>
<style type="text/css">
@font-face {
font-family: SaranaiGame;
src: url(fonts/SaranaiGame-Bold.ttf);
}
body {
padding: 0; margin: 0;
}
</style>
</head>
<body>
<div style="font-family: SaranaiGame;width:0;height:0;overflow:hidden;">.</div>
<div id="gameContainer"></div>
<script src="js/lib/jquery-2.1.4.min.js"></script>
<script src="js/lib/phaser.min.js"></script>
<script src="js/boot.js"></script>
<script src="js/preloader.js"></script>
<script src="js/menu.js"></script>
<script src="js/game.js"></script>
<script src="js/settings.js"></script>
<script src="js/levels.js"></script>
<script src="js/weapons.js"></script>
<script src="js/enemies.js"></script>
<script src="js/end.js"></script>
<script>
(function() {
var game = new Phaser.Game(1280, 800, Phaser.AUTO, "gameContainer");
game.state.add("Boot", GameStates.Boot);
game.state.add("Preloader", GameStates.Preloader);
game.state.add("MainMenu", GameStates.MainMenu);
game.state.add("Game", GameStates.Game);
game.state.add("GameEnd", GameStates.GameEnd);
game.state.add("Settings", GameStates.Settings);
game.state.start("Boot");
})();
</script>
</body>
</html>