Skip to content

Commit

Permalink
Update example build
Browse files Browse the repository at this point in the history
  • Loading branch information
Insality committed Oct 16, 2024
1 parent 2ea635f commit c787ed8
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10,330 deletions.
10,321 changes: 0 additions & 10,321 deletions docs/druid/Druid_asmjs.js

This file was deleted.

2 changes: 1 addition & 1 deletion docs/druid/archive/archive_files.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"content":[{"name":"game.projectc","size":4401,"pieces":[{"name":"game0.projectc","offset":0}]},{"name":"game.arci","size":11968,"pieces":[{"name":"game0.arci","offset":0}]},{"name":"game.arcd","size":3549174,"pieces":[{"name":"game0.arcd","offset":0},{"name":"game1.arcd","offset":2097152}]},{"name":"game.dmanifest","size":13396,"pieces":[{"name":"game0.dmanifest","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game0.public.der","offset":0}]}],"total_size":3579101}
{"content":[{"name":"game.projectc","size":4491,"pieces":[{"name":"game0.projectc","offset":0}]},{"name":"game.arci","size":11968,"pieces":[{"name":"game0.arci","offset":0}]},{"name":"game.arcd","size":3549174,"pieces":[{"name":"game0.arcd","offset":0},{"name":"game1.arcd","offset":2097152}]},{"name":"game.dmanifest","size":13396,"pieces":[{"name":"game0.dmanifest","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game0.public.der","offset":0}]}],"total_size":3579191}
Binary file modified docs/druid/archive/game0.arcd
Binary file not shown.
Binary file modified docs/druid/archive/game0.arci
Binary file not shown.
Binary file modified docs/druid/archive/game0.dmanifest
Binary file not shown.
8 changes: 5 additions & 3 deletions docs/druid/archive/game0.projectc
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
[project]
title = Druid
title = druid
version = 1.0.0
write_log = 0
compress_archive = 1
publisher = Insality
developer = Maksim Tuprikov
custom_resources = /example/locales
title_as_file_name = Druid
commit_sha = 2ea635fc563980bafb1b50025db6c6ef1da7aef4
build_date = 2024-10-16T23:12:59Z
title_as_file_name = druid

[display]
width = 1920
Expand Down Expand Up @@ -128,7 +130,7 @@ default_language = en
localizations = en

[android]
version_code = 1
version_code = 809
minimum_sdk_version = 19
target_sdk_version = 34
package = com.insality.druid
Expand Down
4 changes: 2 additions & 2 deletions docs/druid/dmloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ var FileLoader = {
var EngineLoader = {
wasm_size: 2374239,
wasmjs_size: 340441,
asmjs_size: 5039346,
asmjs_size: 4000000,
wasm_instantiate_progress: 0,

stream_wasm: "false" === "true",
Expand Down Expand Up @@ -1001,7 +1001,7 @@ Module["locateFile"] = function(path, scriptDirectory)
// dmengine*.wasm is hardcoded in the built JS loader for WASM,
// we need to replace it here with the correct project name.
if (path == "dmengine.wasm" || path == "dmengine_release.wasm" || path == "dmengine_headless.wasm") {
path = "Druid.wasm";
path = "druid.wasm";
}
return scriptDirectory + path;
};
Expand Down
4 changes: 2 additions & 2 deletions docs/druid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->

<title>Druid 1.0.0</title>
<title>druid 1.0.0</title>
<style type='text/css'>
/* Disable user selection to avoid strange bug in Chrome on Windows:
* Selecting a text outside the canvas, then clicking+draging would
Expand Down Expand Up @@ -150,7 +150,7 @@ <h1>WebGL not supported ⚠️</h1>
runningFromFileWarning.style.display = "block";
}
else {
EngineLoader.load("canvas", "Druid");
EngineLoader.load("canvas", "druid");
runningFromFileWarning.parentNode.removeChild(runningFromFileWarning);
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion game.project
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dynamic_orientation = 1
high_dpi = 1

[project]
title = Druid
title = druid
version = 1.0.0
publisher = Insality
developer = Maksim Tuprikov
Expand Down

0 comments on commit c787ed8

Please sign in to comment.