Add operational HTML5 game export from Unity

This commit is contained in:
Shawn 2019-01-04 13:16:06 -06:00
parent 1eb886bc02
commit e2996417a5
26 changed files with 35 additions and 26858 deletions

View 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"}
}

File diff suppressed because one or more lines are too long

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 345 B

View file

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

View file

Before

Width:  |  Height:  |  Size: 159 B

After

Width:  |  Height:  |  Size: 159 B

View file

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 137 B

View file

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 142 B

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -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>

View file

@ -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

File diff suppressed because one or more lines are too long

View file

@ -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"}
}