-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (54 loc) · 1.98 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
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<head>
<title>#1GAM - Hexagon Snake</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0 minimal-ui" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<style type="text/css">
body, html
{
margin: 0px;
padding: 0px;
background-color: #030710;
}
canvas
{
width: 100%;
height: 100%;
margin-left: auto;
margin-right: auto;
}
</style>
<script type="text/javascript" src="Assets/JS/phaser.min.js"></script>
<script type="text/javascript" src="Assets/JS/Boot.js"></script>
<script type="text/javascript" src="Assets/JS/Preloader.js"></script>
<script type="text/javascript" src="Assets/JS/MainMenu.js"></script>
<script type="text/javascript" src="Assets/JS/Game.js"></script>
<script type="text/javascript" src="Assets/JS/Config.js"></script>
<script type="text/javascript">
window.onload = function()
{
var game = new Phaser.Game(
480,
800,
Phaser.AUTO,
''
);
game.state.add('Boot', HexagonSnake.Boot);
game.state.add('Preloader', HexagonSnake.Preloader);
game.state.add('MainMenu', HexagonSnake.MainMenu);
game.state.add('Game', HexagonSnake.Game);
game.state.start('Boot');
}
</script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-48540031-2', 'thunraz.com');
ga('send', 'pageview');
</script>
</head>
<body></body>
</html>