feature/showcase_kathi #12

Merged
Jonathan merged 73 commits from feature/showcase_kathi into develop 2025-07-23 12:37:50 +02:00
3 changed files with 2277 additions and 3 deletions
Showing only changes of commit b77b6e3a52 - Show all commits
File diff suppressed because it is too large Load Diff
@@ -201,7 +201,7 @@ radius = 472.086
[node name="IndoorTest" type="Node2D"]
y_sort_enabled = true
script = ExtResource("1_3vr4f")
_sceneNamesToLoad = PackedStringArray("res://scenes/Babushka_scene_indoor_vesnas_room.tscn", "res://scenes/Babushka_scene_farm_outside_2d.tscn")
_sceneNamesToLoad = PackedStringArray("res://scenes/Babushka_scene_indoor_vesnas_room.tscn", "res://scenes/Babushka_scene_farm_outside_2d_ducksCollected.tscn")
[node name="Foreground" type="Node" parent="."]
+3 -2
View File
@@ -29,8 +29,9 @@ public partial class MVPDuck : Node2D
public async void MoveAfterDelay()
{
await ToSignal(GetTree().CreateTimer(1.0f), "timeout"); // 1.0f seconds
Position = _penTarget.GlobalPosition;
await ToSignal(GetTree().CreateTimer(1.0f), "timeout");
if(!_penTarget.Equals(null))
Position = _penTarget.GlobalPosition;
EmitSignal(SignalName.DuckCollected);
}