Add operational HTML5 game export from Unity
BIN
public/Project_Skylines/Build/Project_Skylines.asm.code.unityweb
Normal file
BIN
public/Project_Skylines/Build/Project_Skylines.data.unityweb
Normal file
16
public/Project_Skylines/Build/Project_Skylines.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"companyName": "Luaek",
|
||||
"productName": "Neon Skylines",
|
||||
"dataUrl": "Project_Skylines.data.unityweb",
|
||||
"wasmCodeUrl": "Project_Skylines.wasm.code.unityweb",
|
||||
"wasmFrameworkUrl": "Project_Skylines.wasm.framework.unityweb",
|
||||
"asmCodeUrl": "Project_Skylines.asm.code.unityweb",
|
||||
"asmMemoryUrl": "Project_Skylines.asm.memory.unityweb",
|
||||
"asmFrameworkUrl": "Project_Skylines.asm.framework.unityweb",
|
||||
"TOTAL_MEMORY": 268435456,
|
||||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"],
|
||||
"webglContextAttributes": {"preserveDrawingBuffer": false},
|
||||
"splashScreenStyle": "Dark",
|
||||
"backgroundColor": "#000000",
|
||||
"cacheControl": {"default": "must-revalidate"}
|
||||
}
|
4
public/Project_Skylines/Build/UnityLoader.js
Normal file
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 137 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
@ -3,13 +3,13 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Unity WebGL Player | New Unity Project</title>
|
||||
<title>Unity WebGL Player | Neon Skylines</title>
|
||||
<link rel="shortcut icon" href="TemplateData/favicon.ico">
|
||||
<link rel="stylesheet" href="TemplateData/style.css">
|
||||
<script src="TemplateData/UnityProgress.js"></script>
|
||||
<script src="Build/UnityLoader.js"></script>
|
||||
<script>
|
||||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/Unity_Test_Build.json", {onProgress: UnityProgress});
|
||||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/Project_Skylines.json", {onProgress: UnityProgress});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<div class="footer">
|
||||
<div class="webgl-logo"></div>
|
||||
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
|
||||
<div class="title">New Unity Project</div>
|
||||
<div class="title">Neon Skylines</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
|
@ -1,4 +1,14 @@
|
|||
These STL files are for demo/development purposes only and not to be used in a production environment.
|
||||
|
||||
skullart.stl - https://www.thingiverse.com/thing:1388237
|
||||
fox.stl - https://www.thingiverse.com/thing:937740
|
||||
# Project_Skylines
|
||||
|
||||
From https://github.com/Zaphyk/project-skylines
|
||||
HTML5 Build in Unity 2018.3.0f2 with `Standard` shaders, `.NET 4.0`, and `Linker Target`: `Both`.
|
||||
|
||||
# skullart.stl
|
||||
|
||||
https://www.thingiverse.com/thing:1388237
|
||||
|
||||
# fox.stl
|
||||
|
||||
https://www.thingiverse.com/thing:937740
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
"companyName": "DefaultCompany",
|
||||
"productName": "New Unity Project",
|
||||
"dataUrl": "Unity_Test_Build.data.unityweb",
|
||||
"wasmCodeUrl": "Unity_Test_Build.wasm.code.unityweb",
|
||||
"wasmFrameworkUrl": "Unity_Test_Build.wasm.framework.unityweb",
|
||||
"TOTAL_MEMORY": 268435456,
|
||||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"],
|
||||
"webglContextAttributes": {"preserveDrawingBuffer": false},
|
||||
"splashScreenStyle": "Dark",
|
||||
"backgroundColor": "#231F20",
|
||||
"cacheControl": {"default": "must-revalidate"}
|
||||
}
|