shine-runners-test/shiny.gd
2025-04-21 01:11:27 +10:00

9 lines
138 B
GDScript

extends RigidBody2D
func _on_body_entered(body: Node) -> void:
#print(body.name)
if body is Player:
body.score += 1
queue_free()