From 59bfb4ae7cb7e308995e87b1ff735e16b45082c1 Mon Sep 17 00:00:00 2001 From: OddlyTimbot Date: Mon, 2 Mar 2026 14:41:37 -0500 Subject: [PATCH] updates to week 1 for v4_6_1 --- week1/GodotSpeedRun/project.godot | 6 +++++- week1/GodotSpeedRun/scripts/gamecontroller.gd | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/week1/GodotSpeedRun/project.godot b/week1/GodotSpeedRun/project.godot index a322ba8..d04bd0d 100644 --- a/week1/GodotSpeedRun/project.godot +++ b/week1/GodotSpeedRun/project.godot @@ -8,11 +8,15 @@ config_version=5 +[animation] + +compatibility/default_parent_skeleton_in_mesh_instance_3d=true + [application] config/name="GodotSpeedRun" run/main_scene="res://scenes/game.tscn" -config/features=PackedStringArray("4.4", "Forward Plus") +config/features=PackedStringArray("4.6", "Forward Plus") config/icon="res://icon.svg" [file_customization] diff --git a/week1/GodotSpeedRun/scripts/gamecontroller.gd b/week1/GodotSpeedRun/scripts/gamecontroller.gd index 215ab00..9935205 100644 --- a/week1/GodotSpeedRun/scripts/gamecontroller.gd +++ b/week1/GodotSpeedRun/scripts/gamecontroller.gd @@ -28,7 +28,7 @@ func _on_area_2d_areatrigger(effect, body): # handle effects match effect: "destroy": - cratesDestroyed +=1 + cratesDestroyed +=1 body.queue_free() # destroy the crate - again will move to SceneManager if cratesDestroyed>=totalCrates: print("You win baby!")