Godot 4.5 beta 6

pull/28/head
Dr. Sascha Woitschetzki 2025-08-23 12:14:19 +07:00
parent 739bccd3dd
commit c870e59a6d
2 changed files with 6 additions and 9 deletions

@ -6,9 +6,7 @@
<component name="ChangeListManager">
<list default="true" id="c3091895-9cbd-4d08-bc3f-599dc2d3e86d" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/audio_manager.gd" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/audio_manager.gd" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/enemies_ui_manager.gd" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/enemies_ui_manager.gd" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/spawn_manager.gd" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/spawn_manager.gd" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/game_manager.gd" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/game_manager.gd" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -46,6 +44,7 @@
"Notification.DisplayName-DoNotAsk-GodotSupportNotificationGroupId": "Godot LSP",
"Notification.DoNotAsk-GodotSupportNotificationGroupId": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
"RunOnceActivity.git.unshallow": "true",
"gdscript.promo.shown": "true",
"git-widget-placeholder": "range__weapons",
@ -53,7 +52,7 @@
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"settings.editor.selected.configurable": "preferences.build.godotPlugin",
"settings.editor.selected.configurable": "preferences.pluginManager",
"vue.rearranger.settings.migration": "true"
}
}]]></component>
@ -69,7 +68,7 @@
<method v="2" />
</configuration>
<configuration name="Editor" type="RunNativeExe" factoryName="Native Executable">
<option name="EXE_PATH" value="$USER_HOME$/Godot/Godot_v4.5-beta5_linux.x86_64" />
<option name="EXE_PATH" value="$USER_HOME$/Godot/Godot_v4.5-beta6_linux.x86_64" />
<option name="PROGRAM_PARAMETERS" value="--path &quot;./&quot; --editor" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="PASS_PARENT_ENVS" value="1" />
@ -93,6 +92,7 @@
<workItem from="1755703701834" duration="2144000" />
<workItem from="1755849033123" duration="59000" />
<workItem from="1755849134118" duration="393000" />
<workItem from="1755943940188" duration="97000" />
</task>
<task id="LOCAL-00001" summary="AI part 5">
<option name="closed" value="true" />

@ -8,9 +8,7 @@ const DEFAULT_SPAWN_MANAGER_PATH := NodePath("../SpawnManager")
@onready var _player: Player = get_tree().get_first_node_in_group(PLAYER_GROUP) as Player
@onready var _spawn_manager: Node = get_node_or_null(DEFAULT_SPAWN_MANAGER_PATH)
func _ready() -> void:
if _player == null:
push_warning("GameManager: Kein Player gefunden (Export-Referenz setzen oder Gruppe 'player' verwenden).")
if _spawn_manager == null:
@ -21,8 +19,7 @@ func _ready() -> void:
func game_over() -> void:
var gold := _player.gold if _player else 0
print("Game Over! You have collected {gold} gold in this run. Try to collect more in the next run...".format({"gold": gold}))
# TODO: Show Game Over screen with gold
func _schedule_enemy_count_sync() -> void: