-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
41 lines (37 loc) · 1.35 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
<!DOCTYPE HTML>
<title>Beatrix</title>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src="scripts/phaser.min.js"></script>
<script src="scripts/graphics.js"></script>
<script src="scripts/beat.js"></script>
<script src="scripts/indicator.js"></script>
<script src="scripts/drum.js"></script>
<script src="scripts/levels/0.js"></script>
<script src="scripts/levels/1.js"></script>
<script src="scripts/levels/2.js"></script>
<script src="scripts/levels/3.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/preload.js"></script>
<script src="scripts/boot.js"></script>
<style type="text/css">
body{
margin: 0;
padding: 0
}
</style>
</head>
<body>
<div id="gameContainer"></div>
<script type="text/javascript">
window.onload = function() {
var game = new Phaser.Game(GRID_SIZE*PIXEL_SIZE, GRID_SIZE*PIXEL_SIZE, Phaser.AUTO, 'gameContainer');
game.state.add('boot', BasicGame.Boot);
game.state.add('preload', BasicGame.Preload);
game.state.add('game', GameState);
game.state.start('boot');
};
</script>
</body>
</html>