From b8e8658b601b48f24c5536efdad288b63ed601d1 Mon Sep 17 00:00:00 2001 From: SnekInAScarf Date: Thu, 12 Nov 2026 11:46:25 -0800 Subject: [PATCH] - Removed Jump key from options menu. - Made windowed move not show things beyond the camera. --- Autoloads/settings.gd | 6 +++++- Levels/test_level.tscn | 1 + project.godot | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Autoloads/settings.gd b/Autoloads/settings.gd index 9d84bba..46f2ab4 100755 --- a/Autoloads/settings.gd +++ b/Autoloads/settings.gd @@ -10,13 +10,17 @@ const SAVE_PATH = "user://settings.cfg" # Which input actions show up in the Controls tab. "pause" is left out on # purpose so the player can't lose the key that opens the menu. -const REBINDABLE_ACTIONS = ["moveLeft", "moveRight", "moveUp", "moveDown", "jump"] +const REBINDABLE_ACTIONS = ["moveLeft", "moveRight", "moveUp", "moveDown"] # Audio bus names, as set up in the Audio tab at the bottom of the editor. const VOLUME_BUSES = ["Master", "Music", "SFX"] func _ready() -> void: load_settings() + # Don't let the window be dragged smaller than the game's 640x480 view. + get_window().min_size = Vector2i( + ProjectSettings.get_setting("display/window/size/viewport_width"), + ProjectSettings.get_setting("display/window/size/viewport_height")) func save_settings() -> void: var config := ConfigFile.new() diff --git a/Levels/test_level.tscn b/Levels/test_level.tscn index cab812f..130d482 100755 --- a/Levels/test_level.tscn +++ b/Levels/test_level.tscn @@ -25,4 +25,5 @@ visible = false stream = ExtResource("4_i4ak4") volume_db = -20.0 autoplay = true +bus = &"Music" parameters/looping = true diff --git a/project.godot b/project.godot index bf673cb..93363f3 100755 --- a/project.godot +++ b/project.godot @@ -28,7 +28,7 @@ window/size/mode=2 window/size/window_width_override=1280 window/size/window_height_override=960 window/stretch/mode="viewport" -window/stretch/aspect="expand" +window/stretch/aspect="keep" window/stretch/scale_mode="integer" [dotnet]