-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
91 lines (85 loc) · 4.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-98DP5VKS42"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-98DP5VKS42");
</script>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" />
<link rel="stylesheet" href="assets/css/app.css" type="text/css" />
<title>Basketball Stars | 3kh0</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div id="content"></div>
<div id="orientation"></div>
<div id="loader">Loading ...</div>
<script type="text/javascript" src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<script type="text/javascript" src="assets/box2dweb/nape.min.js">
var nape ="nape.min.js" ;
</script>
<script type="text/javascript" src="assets/box2dweb/nape-debug-draw.min.js"></script>
<script type="text/javascript" src="assets/box2dweb/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="assets/box2dweb/easeljs-0.8.2.combined.js"></script>
<script type="text/javascript" src="assets/box2dweb/bluebird.min.js"></script>
<script type="text/javascript">
var useEvents = typeof Event === "function";
var myDispatchEvent = function (name) {
var event;
if (useEvents) {
event = new Event(name);
} else {
event = document.createEvent("Event");
event.initEvent(name, true, true);
}
document.getElementById("content").dispatchEvent(event);
};
window["GD_OPTIONS"] = {
gameId: "69d78d071f704fa183d75b4114ae40ec",
onEvent: function (event) {
switch (event.name) {
case "SDK_GAME_START":
// advertisement done, resume game logic and unmute audio
myDispatchEvent("SDK_GAME_START");
break;
case "SDK_GAME_PAUSE":
// pause game logic / mute audio
myDispatchEvent("SDK_GAME_PAUSE");
// document.getElementById("content").dispatchEvent(new Event("SDK_GAME_PAUSE"));
break;
case "SDK_GDPR_TRACKING":
// this event is triggered when your user doesn't want to be tracked
console.log("SDK_GDPR_TRACKING");
break;
case "SDK_GDPR_TARGETING":
// this event is triggered when your user doesn't want personalised targeting of ads and such
console.log("SDK_GDPR_TARGETING");
break;
case "SDK_READY":
// this event is triggered when your user doesn't want personalised targeting of ads and such
console.log("SDK_READY");
// gdsdk.openConsole();
break;
}
},
};
(function (d, s, id) {
var js,
fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = "assets/main.min.js";
fjs.parentNode.insertBefore(js, fjs);
})(document, "script", "gamedistribution-jssdk");
</script>
<script type="text/javascript" src="assets/basketball_legends_2019.min.js"></script>
</body>
</html>