police car weak point
This commit is contained in:
parent
324e7d437b
commit
8a173b968d
15 changed files with 203 additions and 9 deletions
12
utils/label_vfx/label_vfx.gd
Normal file
12
utils/label_vfx/label_vfx.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class_name LabelVFX
|
||||
extends Label3D
|
||||
|
||||
func _ready() -> void:
|
||||
create_tween().tween_property(self, "position:y", position.y + 10, 2.)
|
||||
create_tween().tween_method((func(alpha: float):
|
||||
modulate.a = alpha
|
||||
outline_modulate.a = alpha
|
||||
), 1., 0., 1.).set_delay(.5) \
|
||||
.finished.connect(queue_free)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue