forked from aji-slater/Welcome-to-Carver-House
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (49 loc) · 1.94 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="Welcome to Carver House"/>
<title>Welcome to Carver House</title>
<style> body {margin: 0; background: #000000;} </style>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script src="js/phaser.js"></script>
<script src="js/phaser-plugin-isometric.js"></script>
<script src="js/easystar-0.2.3.js"></script>
<script src="js/AssetLoader.js"></script>
<script src="js/Boot.js"></script>
<script src="js/Preloader.js"></script>
<script src="js/Story.js"></script>
<script src="js/character.js"></script>
<script src="js/Game.js"></script>
<script src="js/boardModel.js"></script>
<script src="js/itemModel.js"></script>
<script src="js/Globals.js"></script>
<script src="js/hudDisplay.js" type="text/javascript"></script>
<script src="js/MainMenu.js"></script>
<script src="js/enemies.js"></script>
<script src="js/illumination.js" type="text/javascript"></script>
<script src="js/FloorGen.js"></script>
<script src="js/GameOver.js"></script>
<script src="js/Win.js"></script>
</head>
<body>
<div id="gameContainer"></div>
<script type="text/javascript">
window.onload = function() {
var width = window.innerWidth;
var height = window.innerHeight;
game = new Phaser.Game(width, height, Phaser.AUTO, 'game', null, true, false);
game.state.add('Boot', BasicGame.Boot);
game.state.add('Preloader', BasicGame.Preloader);
game.state.add('AssetLoader', BasicGame.AssetLoader);
game.state.add('MainMenu', BasicGame.MainMenu);
game.state.add('Story', BasicGame.Story);
game.state.add('Game', BasicGame.Game);
game.state.add('GameOver', BasicGame.GameOver);
game.state.add('Win', BasicGame.Win);
game.state.start('Boot');
};
</script>
</body>
</html>