-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
134 lines (120 loc) · 7.3 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<link rel="manifest" href="manifest.webmanifest">
<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="logger.js" crossorigin="anonymous"></script>
<script src="gd.js" crossorigin="anonymous"></script>
<script src="libs/rbush.js" crossorigin="anonymous"></script>
<script src="AsyncTasksManager.js" crossorigin="anonymous"></script>
<script src="inputmanager.js" crossorigin="anonymous"></script>
<script src="jsonmanager.js" crossorigin="anonymous"></script>
<script src="Model3DManager.js" crossorigin="anonymous"></script>
<script src="timemanager.js" crossorigin="anonymous"></script>
<script src="polygon.js" crossorigin="anonymous"></script>
<script src="runtimeobject.js" crossorigin="anonymous"></script>
<script src="profiler.js" crossorigin="anonymous"></script>
<script src="RuntimeInstanceContainer.js" crossorigin="anonymous"></script>
<script src="runtimescene.js" crossorigin="anonymous"></script>
<script src="scenestack.js" crossorigin="anonymous"></script>
<script src="force.js" crossorigin="anonymous"></script>
<script src="RuntimeLayer.js" crossorigin="anonymous"></script>
<script src="layer.js" crossorigin="anonymous"></script>
<script src="RuntimeCustomObjectLayer.js" crossorigin="anonymous"></script>
<script src="timer.js" crossorigin="anonymous"></script>
<script src="runtimewatermark.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="affinetransformation.js" crossorigin="anonymous"></script>
<script src="CustomRuntimeObjectInstanceContainer.js" crossorigin="anonymous"></script>
<script src="CustomRuntimeObject.js" crossorigin="anonymous"></script>
<script src="events-tools/commontools.js" crossorigin="anonymous"></script>
<script src="events-tools/variabletools.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="splash/gd-logo-light.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/pixi-bitmapfont-manager.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/spriteruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/CustomObjectPixiRenderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/DebuggerPixiRenderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/loadingscreen-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/pixi-effects-manager.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__panelspritebutton__buttonfsm.js" crossorigin="anonymous"></script>
<script src="gdjs-evtsext__panelspritebutton__panelspritebutton.js" crossorigin="anonymous"></script>
<script src="Extensions/BBText/bbtextruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="Extensions/BBText/bbtextruntimeobject.js" crossorigin="anonymous"></script>
<script src="Extensions/BBText/pixi-multistyle-text/dist/pixi-multistyle-text.umd.js" crossorigin="anonymous"></script>
<script src="Extensions/PanelSpriteObject/panelspriteruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="Extensions/PanelSpriteObject/panelspriteruntimeobject.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="Extensions/TiledSpriteObject/tiledspriteruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="Extensions/TiledSpriteObject/tiledspriteruntimeobject.js" crossorigin="anonymous"></script>
<script src="Extensions/TweenBehavior/shifty.js" crossorigin="anonymous"></script>
<script src="Extensions/TweenBehavior/shifty_setup.js" crossorigin="anonymous"></script>
<script src="Extensions/TweenBehavior/tweenruntimebehavior.js" crossorigin="anonymous"></script>
<script src="code0.js" crossorigin="anonymous"></script>
<script src="code1.js" crossorigin="anonymous"></script>
<script src="code2.js" crossorigin="anonymous"></script>
<script src="code3.js" crossorigin="anonymous"></script>
<script src="code4.js" crossorigin="anonymous"></script>
<script src="code5.js" crossorigin="anonymous"></script>
<script src="data.js" crossorigin="anonymous"></script>
</head>
<body>
<script>
(function() {
//Initialization
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>