diff --git a/MyObsidianVault/Godot_Training/2D/Tutorial Game - to space and beyond/01. turning image towards direction (setting rotation).md b/MyObsidianVault/Godot_Training/2D/Tutorial Game 1 - to space and beyond/01. turning image towards direction (setting rotation).md similarity index 100% rename from MyObsidianVault/Godot_Training/2D/Tutorial Game - to space and beyond/01. turning image towards direction (setting rotation).md rename to MyObsidianVault/Godot_Training/2D/Tutorial Game 1 - to space and beyond/01. turning image towards direction (setting rotation).md diff --git a/MyObsidianVault/Godot_Training/2D/Tutorial Game - to space and beyond/02. Player Input.md b/MyObsidianVault/Godot_Training/2D/Tutorial Game 1 - to space and beyond/02. Player Input.md similarity index 100% rename from MyObsidianVault/Godot_Training/2D/Tutorial Game - to space and beyond/02. Player Input.md rename to MyObsidianVault/Godot_Training/2D/Tutorial Game 1 - to space and beyond/02. Player Input.md diff --git a/MyObsidianVault/Godot_Training/2D/Tutorial Game - to space and beyond/03. Increasing speed.md b/MyObsidianVault/Godot_Training/2D/Tutorial Game 1 - to space and beyond/03. Increasing speed.md similarity index 100% rename from MyObsidianVault/Godot_Training/2D/Tutorial Game - to space and beyond/03. Increasing speed.md rename to MyObsidianVault/Godot_Training/2D/Tutorial Game 1 - to space and beyond/03. Increasing speed.md diff --git a/MyObsidianVault/Godot_Training/2D/Tutorial Game - to space and beyond/04. Steering vector.md b/MyObsidianVault/Godot_Training/2D/Tutorial Game 1 - to space and beyond/04. Steering vector.md similarity index 100% rename from MyObsidianVault/Godot_Training/2D/Tutorial Game - to space and beyond/04. Steering vector.md rename to MyObsidianVault/Godot_Training/2D/Tutorial Game 1 - to space and beyond/04. Steering vector.md diff --git a/MyObsidianVault/Godot_Training/2D/Tutorial Game 2 - Loot it all/01. Self delete on collision (Area2D node).md b/MyObsidianVault/Godot_Training/2D/Tutorial Game 2 - Loot it all/01. Self delete on collision (Area2D node).md new file mode 100644 index 0000000..e9af9f4 --- /dev/null +++ b/MyObsidianVault/Godot_Training/2D/Tutorial Game 2 - Loot it all/01. Self delete on collision (Area2D node).md @@ -0,0 +1,9 @@ +```python +extends Area2D + +func _ready() -> void: + area_entered.connect(_on_area_entered) + +func _on_area_entered(area_that_entred: Area2D) -> void: + queue_free() +```