-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (87 loc) · 3.63 KB
/
index.html
File metadata and controls
93 lines (87 loc) · 3.63 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
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
<html data-theme="dark">
<head>
<title>BuildNow GG</title>
<link rel="stylesheet" href="game-loader/gameloader2020.css" />
<script src="game-loader/gameloader2020.js"></script>
<script src="game-loader/gameloader-helper.js"></script>
<link href="style/daisyui.min.css" rel="stylesheet" type="text/css" />
<link href="style/fontawesome.min.css" rel="stylesheet" type="text/css" />
<script src="scripts/tailwindcss.js"></script>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div class="game">
<div id="game-container">
<canvas id="canvas"></canvas>
</div>
<div id="loadingBlock" class="">
<!-- Loading screen area (fuzzy start) -->
<div class="jss1 flex items-center justify-center bg-base-100 text-base-content">
<div class="items-center justify-center gap-10 bg-base-200 p-5 rounded-xl shadow-md">
<!-- Loader Logo -->
<div class="flex btn btn-ghost text-3xl bg-base-100">
<span class="text-success">BUILD</span>
<span class="text-info">NOW</span>
<span class="text-primary">GG</span>
</div>
<!-- Loading Status -->
<div class="flex flex-col items-center justify-center mt-6">
<div class="gameloader-progressbar invisible">
<div class="gameloader-progressbar-progress" style="width: 100%"></div>
</div>
<progress id="loadingBar" class="progress w-56" value="100" max="100"></progress>
<div id="loadingText" class="gameloader-progress-info neutral-content mt-4">Game Loading...</div>
</div>
</div>
</div>
</div>
<!-- Bottom Bar -->
<div class="bg-base-200 z-0 absolute bottom-0 left-0 right-0 h-[60px] select-none box-content">
<div class="flex justify-between items-center h-full w-full">
<!-- Bar logo -->
<div class="flex btn btn-ghost text-1xl">
<span class="text-success">BUILD</span>
<span class="text-info">NOW</span>
<span class="text-primary">GG</span>
</div>
<!-- Bar icons -->
<div class="flex space-x-4 ml-auto mr-4 rounded-xl">
<button id="otherGamesButton" class="btn btn-ghost">
<i class="fa-solid fa-gamepad"></i>
</button>
<button id="themeButton" class="btn btn-ghost">
<i id="lightIcon" class="fa-solid fa-sun fill-current hidden"></i>
<i id="darkIcon" class="fa-solid fa-moon fill-current"></i>
</button>
<button id="fullScreenButton" class="btn btn-ghost" aria-label="Toggle fullscreen">
<i class="fa-solid fa-expand"></i>
</button>
</div>
</div>
</div>
<!-- Hidden Jaz -->
<div id="game-footer-logo-url" class="invisible"></div>
<div id="game-footer-more-url" class="invisible"></div>
<div class="gameloader-game-name invisible"></div>
</div>
<script src="scripts/index.js"></script>
<script type="text/javascript">
var options = {
author: "Vseigru, cloudirector",
gameName: "BuildNow GG",
locale: "en_US",
allowFullscreen: true,
loaderOptions: {
unityLoaderUrl: "Build/BuildNow.loader.js",
unityConfigOptions: {
dataUrl: "Build/BuildNow.data",
frameworkUrl: "Build/BuildNow.framework.js",
codeUrl: "Build/BuildNow.wasm",
},
},
};
GameInit.load(options);
</script>
</body>
</html>