Pinchos
unknown
plain_text
a year ago
137 B
11
Indexable
extends Area2D
func _on_Spikes_body_entered(body):
if body.get_script() == load("res://Scripts/Player.gd"):
body.damageTaken(1)
Editor is loading...
Leave a Comment
extends Area2D
func _on_Spikes_body_entered(body):
if body.get_script() == load("res://Scripts/Player.gd"):
body.damageTaken(1)