add coin and script

This commit is contained in:
2025-10-20 14:02:27 +01:00
parent f36faba437
commit 2c584fcbbf
5 changed files with 134 additions and 1 deletions

6
scripts/coin.gd Normal file
View File

@@ -0,0 +1,6 @@
extends Area2D
func _on_body_entered(body: Node2D) -> void:
print("Plus 1 coin")
queue_free()