settings, small fixes

This commit is contained in:
Daniel Kauss Serna 2026-02-15 16:17:51 +01:00
parent b12c193636
commit e08e3ebb13
174 changed files with 997 additions and 1040 deletions

View file

@ -2,11 +2,13 @@ extends ColorRect
func _ready():
EventBus.player_dmg.connect(flash_red)
visible = false
color.a = 0
func flash_red():
var tween = create_tween()
visible = true
color.a = 0.3
tween.tween_property(self, "color:a", 0.0, 0.2).set_trans(Tween.TRANS_SINE)
tween.tween_property(self, "visible", false, 0.0);