-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (99 loc) · 5.5 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="theme-color" content="#000000" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
body {
margin: 0;
padding: 0;
background-color: #000000;
overflow: hidden;
}
#canvasArea {
margin-left: auto;
margin-right: auto;
overflow: hidden;
}
</style>
<!-- Libs and GDJS core files : -->
<script src="libs\jshashtable.js" crossorigin="anonymous"></script>
<script src="gd.js" crossorigin="anonymous"></script>
<script src="gd-splash-image.js" crossorigin="anonymous"></script>
<script src="libs\hshg.js" crossorigin="anonymous"></script>
<script src="libs\rbush.js" crossorigin="anonymous"></script>
<script src="inputmanager.js" crossorigin="anonymous"></script>
<script src="jsonmanager.js" crossorigin="anonymous"></script>
<script src="timemanager.js" crossorigin="anonymous"></script>
<script src="runtimeobject.js" crossorigin="anonymous"></script>
<script src="profiler.js" crossorigin="anonymous"></script>
<script src="runtimescene.js" crossorigin="anonymous"></script>
<script src="scenestack.js" crossorigin="anonymous"></script>
<script src="polygon.js" crossorigin="anonymous"></script>
<script src="force.js" crossorigin="anonymous"></script>
<script src="layer.js" crossorigin="anonymous"></script>
<script src="timer.js" crossorigin="anonymous"></script>
<script src="runtimegame.js" crossorigin="anonymous"></script>
<script src="variable.js" crossorigin="anonymous"></script>
<script src="variablescontainer.js" crossorigin="anonymous"></script>
<script src="oncetriggers.js" crossorigin="anonymous"></script>
<script src="runtimebehavior.js" crossorigin="anonymous"></script>
<script src="spriteruntimeobject.js" crossorigin="anonymous"></script>
<script src="events-tools\commontools.js" crossorigin="anonymous"></script>
<script src="events-tools\runtimescenetools.js" crossorigin="anonymous"></script>
<script src="events-tools\inputtools.js" crossorigin="anonymous"></script>
<script src="events-tools\objecttools.js" crossorigin="anonymous"></script>
<script src="events-tools\cameratools.js" crossorigin="anonymous"></script>
<script src="events-tools\soundtools.js" crossorigin="anonymous"></script>
<script src="events-tools\storagetools.js" crossorigin="anonymous"></script>
<script src="events-tools\stringtools.js" crossorigin="anonymous"></script>
<script src="events-tools\windowtools.js" crossorigin="anonymous"></script>
<script src="events-tools\networktools.js" crossorigin="anonymous"></script>
<script src="pixi-renderers\pixi.js" crossorigin="anonymous"></script>
<script src="pixi-renderers\pixi-filters-tools.js" crossorigin="anonymous"></script>
<script src="pixi-renderers\runtimegame-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers\runtimescene-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers\layer-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers\pixi-image-manager.js" crossorigin="anonymous"></script>
<script src="pixi-renderers\spriteruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers\loadingscreen-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="howler-sound-manager\howler.min.js" crossorigin="anonymous"></script>
<script src="howler-sound-manager\howler-sound-manager.js" crossorigin="anonymous"></script>
<script src="fontfaceobserver-font-manager\fontfaceobserver.js" crossorigin="anonymous"></script>
<script src="fontfaceobserver-font-manager\fontfaceobserver-font-manager.js" crossorigin="anonymous"></script>
<script src="gdjs-evtsext__sinemovement__sinemovement.js" crossorigin="anonymous"></script>
<script src="code0.js" crossorigin="anonymous"></script>
<script src="gdjs-evtsext__flash__flash.js" crossorigin="anonymous"></script>
<script src="gdjs-evtsext__health__health.js" crossorigin="anonymous"></script>
<script src="gdjs-evtsext__stayonscreen__stayonscreen.js" crossorigin="anonymous"></script>
<script src="Extensions\ParticleSystem\particleemitterobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="Extensions\ParticleSystem\particleemitterobject.js" crossorigin="anonymous"></script>
<script src="Extensions\ParticleSystem\pixi-particles-pixi-renderer.min.js" crossorigin="anonymous"></script>
<script src="Extensions\TextObject\textruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="Extensions\TextObject\textruntimeobject.js" crossorigin="anonymous"></script>
<script src="code1.js" crossorigin="anonymous"></script>
<script src="data.js" crossorigin="anonymous"></script>
</head>
<body>
<script>
(function() {
//Initialization
gdjs.registerObjects();
gdjs.registerBehaviors();
gdjs.registerGlobalCallbacks();
var game = new gdjs.RuntimeGame(gdjs.projectData, {});
//Create a renderer
game.getRenderer().createStandardCanvas(document.body);
//Bind keyboards/mouse/touch events
game.getRenderer().bindStandardEvents(game.getInputManager(), window, document);
//Load all assets and start the game
game.loadAllAssets(function() {
game.startGameLoop();
});
})();
</script>
</body>
</html>