first Prototype

This commit is contained in:
Exobyt 2025-08-02 12:27:49 +02:00
parent 89503407e7
commit c887a2168c
78 changed files with 2494 additions and 2 deletions

View file

@ -0,0 +1,8 @@
extends Area2D
@export var damage: int
func _on_area_entered(area: Area2D) -> void:
if area.is_in_group("healthArea"):
area.hurt.emit(damage)