settings, small fixes
This commit is contained in:
parent
b12c193636
commit
e08e3ebb13
174 changed files with 997 additions and 1040 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue