Skip to content

Commit

Permalink
Deploying to gh-pages from @ 4ef95c1 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
aglitchman committed Oct 22, 2024
1 parent 5a70b27 commit 3dbdd5c
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 49 deletions.
2 changes: 1 addition & 1 deletion archive/archive_files.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"content":[{"name":"game.projectc","size":3862,"pieces":[{"name":"game0.projectc","offset":0}]},{"name":"game.arci","size":4448,"pieces":[{"name":"game0.arci","offset":0}]},{"name":"game.arcd","size":241679,"pieces":[{"name":"game0.arcd","offset":0}]},{"name":"game.dmanifest","size":4663,"pieces":[{"name":"game0.dmanifest","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game0.public.der","offset":0}]}],"total_size":254814}
{"content":[{"name":"game.projectc","size":3856,"pieces":[{"name":"game0.projectc","offset":0}]},{"name":"game.arci","size":4528,"pieces":[{"name":"game0.arci","offset":0}]},{"name":"game.arcd","size":431233,"pieces":[{"name":"game0.arcd","offset":0}]},{"name":"game.dmanifest","size":4757,"pieces":[{"name":"game0.dmanifest","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game0.public.der","offset":0}]}],"total_size":444536}
Binary file modified archive/game0.arcd
Binary file not shown.
Binary file modified archive/game0.arci
Binary file not shown.
Binary file modified archive/game0.dmanifest
Binary file not shown.
6 changes: 3 additions & 3 deletions archive/game0.projectc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ max_draw_calls = 1024
max_characters = 8192
max_font_batches = 128
max_debug_vertices = 10000
texture_profiles = /builtins/graphics/default.texture_profiles
texture_profiles = /demo/mipmaps.texture_profiles
verify_graphics_calls = 1
memory_size = 512

Expand All @@ -83,7 +83,7 @@ max_resources = 1024
repeat_delay = 0.5
repeat_interval = 0.2
gamepads = /builtins/input/default.gamepadsc
game_binding = /demo/input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
use_accelerometer = 1

[sprite]
Expand Down Expand Up @@ -166,7 +166,7 @@ wasm_streaming = 0
show_fullscreen_button = 1
show_made_with_defold = 1
show_console_banner = 1
scale_mode = fit
scale_mode = stretch

[particle_fx]
max_count = 64
Expand Down
Binary file modified archive/game0.public.der
Binary file not shown.
20 changes: 5 additions & 15 deletions dmloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,10 @@ var CUSTOM_PARAMETERS = {
var actualRatio = innerWidth / innerHeight;


//Stretch
width = innerWidth;
height = innerHeight;

//Fit
if (actualRatio > targetRatio) {
width = innerHeight * targetRatio;
height = innerHeight;
app_container.style.marginLeft = ((innerWidth - width) / 2) + "px";
app_container.style.marginTop = "0px";
}
else {
width = innerWidth;
height = innerWidth / targetRatio;
app_container.style.marginLeft = "0px";
app_container.style.marginTop = ((innerHeight - height) / 2) + "px";
}


var dpi = 1;
Expand Down Expand Up @@ -205,9 +195,9 @@ var FileLoader = {


var EngineLoader = {
wasm_size: 2410789,
wasm_size: 2411137,
wasmjs_size: 269933,
asmjs_size: 5046343,
asmjs_size: 5047042,
wasm_instantiate_progress: 0,

stream_wasm: "false" === "true",
Expand Down
Binary file modified sharp_sprite.wasm
Binary file not shown.
58 changes: 29 additions & 29 deletions sharp_sprite_asmjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sharp_sprite_wasm.js

Large diffs are not rendered by default.

0 comments on commit 3dbdd5c

Please sign in to comment.