diff --git a/project.godot b/project.godot index c66ad2a..b3b313a 100644 --- a/project.godot +++ b/project.godot @@ -12,7 +12,7 @@ config_version=5 config/name="Sum Zero" config/description="s" -config/version="0.5.0" +config/version="0.5.1" run/main_scene="res://packed_scene/scene_2d/LevelManager.tscn" config/features=PackedStringArray("4.3", "Forward Plus") boot_splash/bg_color=Color(0.25098, 0.184314, 0.105882, 1) diff --git a/scripts/scene_2d/game_manager.gd b/scripts/scene_2d/game_manager.gd index 36d2919..601328a 100644 --- a/scripts/scene_2d/game_manager.gd +++ b/scripts/scene_2d/game_manager.gd @@ -150,7 +150,6 @@ func get_active_level(level_id: int = -1) -> LevelData: return _get_levels().levels[_active_level_id] as LevelData - func set_level_scale(level_width: int, level_height: int) -> void: var max_screen_width: float = get_viewport().size.x var max_screen_height: float = get_viewport().size.y * 0.8 diff --git a/scripts/user_interface/level_button.gd b/scripts/user_interface/level_button.gd index 6177522..b0f4038 100644 --- a/scripts/user_interface/level_button.gd +++ b/scripts/user_interface/level_button.gd @@ -92,7 +92,7 @@ func _create_label(index: int) -> Label: lab.theme = THEME lab.set_anchors_preset(PRESET_FULL_RECT) return lab - + func _count_stars(moves_left: int) -> int: # Less than -2 moves is equal to 0 stars. Zero or more moves are equivalent to 3 stars