-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.html
33 lines (24 loc) · 707 Bytes
/
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<title>Sliding Puzzle - Game Dolphin</title>
<script src="phaser.min.js"></script>
<script src="Boot.js"></script>
<script src="Preloader.js"></script>
<script src="Game.js"></script>
</head>
<body style="margin:0px;" bgcolor="#000000">
<div id="gameContainer"></div>
<script type="text/javascript">
window.onload = function() {
var game = new Phaser.Game(360,600, Phaser.AUTO, 'gameContainer');
game.state.add('Boot', BasicGame.Boot);
game.state.add('Preloader', BasicGame.Preloader);
// game.state.add('MainMenu', BasicGame.MainMenu);
game.state.add('Game', BasicGame.Game);
game.state.start('Boot');
};
</script>
</body>
</html>