-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (54 loc) · 2.39 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
66
67
68
69
70
71
72
73
74
<!DOCTYPE HTML>
<html manifest="" lang="en">
<head>
<meta charset="utf-8">
<title>SHOOTER HTML5 WEBGL</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="apple-touch-icon" sizes="57x57" href="assets/img/ico/favicon114.png" />
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/ico/favicon114.png" />
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/ico/favicon144.png" />
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/ico/favicon144.png" />
<link rel="apple-touch-icon-precomposed" href="assets/img/ico/favicon144.png" />
<link rel="shortcut icon" href="assets/img/ico/favicon.ico">
<!--[if gte IE 9]>
<meta name="application-name" content="SHOOTER HTML5 WEBGL" />
<meta name="msapplication-tooltip" content="SHOOTER HTML5 WEBGL" />
<meta name="msapplication-starturl" content="git.t2p0.com/roccojanse/shooter" />
<![endif]-->
<link rel="stylesheet" href="css/shooter.css" />
<script src="js/jquery/jquery-2.0.3.min.js"></script>
<script src="js/three/three.js"></script>
<script src="js/physijs/physi.js"></script>
<script src="js/three/libs/stats.min.js"></script>
<script src="js/three/controls/PointerLockControls.js"></script>
<script src="src/js/Skybox.js"></script>
<script src="src/js/Lensflare.js"></script>
<script src="src/js/tgf/TGF.Namespace.js"></script>
<script src="src/js/tgf/TGF.FirstPersonControls.js"></script>
<script src="src/js/tgf/TGF.Game.js"></script>
<!-- <script src="src/js/game.js"></script> -->
</head>
<body>
<div id="game-container"></div>
<div id="game-debug-controls">
<a>hide game view</a>
</div>
<script>
// vars
var width = $(window).width(),
height = $(window).height(),
screens,
assets,
objects,
game;
// init game engine
game = new TGF.Game($('#game-container'), width, height);
game.doDebug();
console.log(game);
</script>
</body>
</html>