rest of milestone 4
This commit is contained in:
parent
f958517574
commit
69faf54dc3
73 changed files with 3739 additions and 4560 deletions
23
levels/tutorial_label.gd
Normal file
23
levels/tutorial_label.gd
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
extends Label3D
|
||||
|
||||
func _ready() -> void:
|
||||
modulate.a = 0
|
||||
outline_modulate.a = 0
|
||||
await get_tree().process_frame
|
||||
|
||||
await Level.level.level_started
|
||||
|
||||
var t := create_tween()
|
||||
t.tween_property(self, "modulate:a", 1., .5)
|
||||
t.parallel().tween_property(self, "outline_modulate:a", 1., .5)
|
||||
|
||||
await SignalBus.building_destroyed
|
||||
|
||||
t.stop()
|
||||
t = create_tween()
|
||||
t.tween_property(self, "modulate:a", 0., .5)
|
||||
t.parallel().tween_property(self, "outline_modulate:a", 0., .5)
|
||||
|
||||
await t.finished
|
||||
|
||||
queue_free()
|
||||
Loading…
Add table
Add a link
Reference in a new issue