Move sounds
New task (textures only)
This commit is contained in:
@@ -56,12 +56,15 @@ func _on_Timer_timeout():
|
||||
if progressbar.value >= 100:
|
||||
$Light2D.visible = false
|
||||
$Area2D/CollisionShape2D.disabled = true
|
||||
Networking.add_to_chat("You did task Wifi")
|
||||
_on_Close_pressed()
|
||||
|
||||
timer.wait_time = rng.randf_range(0.1, 0.5)
|
||||
progressbar.value += rng.randf_range(1, 4.3)
|
||||
|
||||
if progressbar.value >= 100:
|
||||
(get_node("/root/Node2D/Hints/Explosion") as VideoPlayer).visible = true
|
||||
(get_node("/root/Node2D/Hints/Explosion") as VideoPlayer).play()
|
||||
$Task/UI/Close.visible = false
|
||||
timer.wait_time = 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user