diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-11-14 15:11:12 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-11-14 15:11:38 +0200 |
| commit | 90a9c362734fb59dc0c17ef040fac6be0369398a (patch) | |
| tree | 030cef9283d8cfcb293432a62d6877452e4783ab | |
| parent | 0495b64b8c7e266d150aa4adf391b1a4d8da15c2 (diff) | |
Make menu controls smaller
| -rw-r--r-- | docs/index.html | 2 | ||||
| -rw-r--r-- | docs/index.pck | bin | 1944352 -> 1944084 bytes | |||
| -rw-r--r-- | docs/index.service.worker.js | 2 | ||||
| -rw-r--r-- | level_main_menu.tscn | 25 |
4 files changed, 19 insertions, 10 deletions
diff --git a/docs/index.html b/docs/index.html index e792c47..4ede326 100644 --- a/docs/index.html +++ b/docs/index.html @@ -112,7 +112,7 @@ body { <script src="index.js"></script> <script> -const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"emscriptenPoolSize":8,"ensureCrossOriginIsolationHeaders":true,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":1944352,"index.wasm":38034280},"focusCanvas":true,"gdextensionLibs":[],"godotPoolSize":4,"serviceWorker":"index.service.worker.js"}; +const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"emscriptenPoolSize":8,"ensureCrossOriginIsolationHeaders":true,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":1944084,"index.wasm":38034280},"focusCanvas":true,"gdextensionLibs":[],"godotPoolSize":4,"serviceWorker":"index.service.worker.js"}; const GODOT_THREADS_ENABLED = false; const engine = new Engine(GODOT_CONFIG); diff --git a/docs/index.pck b/docs/index.pck Binary files differindex 3515215..3548ef3 100644 --- a/docs/index.pck +++ b/docs/index.pck diff --git a/docs/index.service.worker.js b/docs/index.service.worker.js index bd6c032..500a128 100644 --- a/docs/index.service.worker.js +++ b/docs/index.service.worker.js @@ -4,7 +4,7 @@ // Incrementing CACHE_VERSION will kick off the install event and force // previously cached resources to be updated from the network. /** @type {string} */ -const CACHE_VERSION = '1763124396|13412553254'; +const CACHE_VERSION = '1763125881|14897589719'; /** @type {string} */ const CACHE_PREFIX = 'MobileMetroidvan-sw-cache-'; const CACHE_NAME = CACHE_PREFIX + CACHE_VERSION; diff --git a/level_main_menu.tscn b/level_main_menu.tscn index 1cefb23..67de822 100644 --- a/level_main_menu.tscn +++ b/level_main_menu.tscn @@ -9,15 +9,24 @@ script = ExtResource("1_rbk04") position = Vector2(96, 54) [node name="TestLevelButton" type="Button" parent="."] -offset_left = 55.0 -offset_top = 47.0 -offset_right = 136.0 -offset_bottom = 78.0 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 76.0 +offset_top = 51.0 +offset_right = 157.0 +offset_bottom = 82.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(0.5, 0.5) text = "Test level" [node name="Label" type="Label" parent="."] -offset_left = 53.0 -offset_top = 15.0 -offset_right = 141.0 -offset_bottom = 38.0 +offset_top = 24.0 +offset_right = 384.0 +offset_bottom = 47.0 +scale = Vector2(0.5, 0.5) text = "Main menu" +horizontal_alignment = 1 |
