-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (39 loc) · 1.54 KB
/
index.html
File metadata and controls
50 lines (39 loc) · 1.54 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="mobile-web-app-capable" content="yes">
<title>Laser Age Next</title>
</head>
<body>
<script src="scripts/game/utils.js"></script>
<!-- Pixi renderer, Hexi's modules, and Hexi's core -->
<script src="scripts/libs/mobile-detect.js"></script>
<script src="scripts/libs/pixi.js"></script>
<script src="scripts/libs/modules.js"></script>
<script src="scripts/libs/core.js"></script>
<!-- <script src="scripts/libs/hexi.min.js"></script> -->
<!-- Main application file -->
<script src="scripts/game/main.js"></script>
<script src="scripts/game/game.js"></script>
<script src="scripts/game/movementEngine.js"></script>
<script src="scripts/game/actor.js"></script>
<script src="scripts/game/weaponedActor.js"></script>
<script src="scripts/game/enemy.js"></script>
<script src="scripts/game/player.js"></script>
<script src="scripts/game/bonus.js"></script>
<script src="scripts/game/bulletsController.js"></script>
<script src="scripts/game/enemyController.js"></script>
<script src="scripts/game/inputDevice.js"></script>
<script src="scripts/game/mainScreen.js"></script>
<script src="scripts/game/gameStorage.js"></script>
<script>
var md = new MobileDetect(window.navigator.userAgent);
var isMobile = md.mobile() != null;
var isSoundSupported = window.isSoundSupported;
Main.graphics.isScaleToWindow = true;
var game = new Main(hexi, "laser-age", isMobile, isSoundSupported);
game.init();
</script>
</body>
</html>