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