add coin and script
This commit is contained in:
6
scripts/coin.gd
Normal file
6
scripts/coin.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
extends Area2D
|
||||
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
print("Plus 1 coin")
|
||||
queue_free()
|
||||
Reference in New Issue
Block a user