Files
Embodiment/coin.gd
tiffanyfrias10 85ee3e7a07 Coin + Countdown Timer
Added a coin for player to pick up and a countdown timer
2021-11-23 11:27:33 -06:00

11 lines
206 B
GDScript

extends Area2D
func _ready() -> void:
pass # Replace with function body.
func _on_Node2D_body_entered(body: Node) -> void:
if body.get_name() == "Player":
queue_free() # Replace with function body.