JuegoClase/Personajes/MovingPlatform/fall_damage.gd
2024-10-26 07:47:55 +02:00

7 lines
91 B
GDScript

extends Area2D
func _on_body_entered(body):
if body is Player:
body.takeDamage(99999)