forked from rybla/SuperSoccer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (20 loc) · 688 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
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="phaser.min.js"></script>
<script type="text/javascript" src="PlayStationController.js"></script>
<script type="text/javascript" src="titlescreen.js"></script>
<script type="text/javascript" src="game.js"></script>
<script type="text/javascript" src="endingscreen.js"></script>
</head>
<body>
<div id="game"></div>
<script type="text/javascript">
var game = new Phaser.Game(1000, 563, Phaser.CANVAS, 'game');
game.state.add('titlescreen', Soccer.titlescreen);
game.state.add('game', Soccer.game);
game.state.add('end', Soccer.endingscreen);
game.state.start('titlescreen');
</script>
</body>
</html>