Menu de inicio, nuevo nivel y ajustes en objetos

This commit is contained in:
Diego De la Viuda Llorente committed 2026-10-29 16:39:46 +01:00
1 parent cd9f31c8c1
commit 827e16cf50
61 files changed
+2685 -3553

No files matched your search

+2
View File
@@ -125,6 +125,8 @@ func _on_body_entered(body: Node2D) -> void:
if body.collect_pickup(pickup_data):
picked_up.emit(self, pickup_data)
queue_free()
elif pickup_data.effect_type in ["damage_boost", "air_damage_boost"]:
label.text = "%s\n(NO MEJORA TU DANO)" % pickup_data.display_name
elif pickup_data.effect_type == "heal":
# No es un fallo de colision: el jugador ya tiene la vida completa.
label.text = "%s\n(HP LLENO)" % pickup_data.display_name