[gd_scene load_steps=4 format=1]

[ext_resource path="res://font/titilium-bold.fnt" type="BitmapFont" id=1]

[sub_resource type="GDScript" id=1]

script/source = "extends Label\n\nexport var appearDelay = 0;\n\nfunc _ready():\n\tget_node(\"delay\").set_wait_time(appearDelay);\n\tif(appearDelay == 0):\n\t\tget_node(\"AnimationPlayer\").play(\"appear\");\n\telse:\n\t\tget_node(\"delay\").start();\n\nfunc _on_AnimationPlayer_finished():\n\tget_parent().remove_child(self);\n\tpass # replace with function body\n\n\nfunc _on_delay_timeout():\n\tget_node(\"AnimationPlayer\").play(\"appear\");\n\tpass # replace with function body\n"

[sub_resource type="Animation" id=2]

length = 9.0
loop = false
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect/rotation")
tracks/0/interp = 2
tracks/0/imported = false
tracks/0/keys = { "times":FloatArray( 0, 0.4, 0.6 ), "transitions":FloatArray( 1, 1, 1 ), "update":0, "values":[ 150.0, -3.0, 0.0 ] }
tracks/1/type = "value"
tracks/1/path = NodePath(".:rect/scale")
tracks/1/interp = 1
tracks/1/imported = false
tracks/1/keys = { "times":FloatArray( 0, 0.6 ), "transitions":FloatArray( 1, 1 ), "update":0, "values":[ Vector2( 3, 3 ), Vector2( 1, 1 ) ] }
tracks/2/type = "value"
tracks/2/path = NodePath(".:visibility/opacity")
tracks/2/interp = 1
tracks/2/imported = false
tracks/2/keys = { "times":FloatArray( 0, 2, 7.5, 9 ), "transitions":FloatArray( 1, 1, 1, 1 ), "update":0, "values":[ 0.0, 1.0, 1.0, 0.0 ] }

[node name="appearLabel" type="Label"]

visibility/opacity = 0.0
rect/rotation = 150.0
rect/scale = Vector2( 3, 3 )
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 0.0
margin/top = 0.0
margin/right = 40.0
margin/bottom = 23.0
custom_fonts/font = ExtResource( 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 3
custom_constants/line_spacing = 5
custom_constants/shadow_offset_y = 3
text = "text"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
script/script = SubResource( 1 )
appearDelay = 0

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]

playback/process_mode = 1
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/appear = SubResource( 2 )
playback/active = true
playback/speed = 1.0
blend_times = [  ]
autoplay = ""

[node name="delay" type="Timer" parent="."]

process_mode = 1
wait_time = 1.0
one_shot = true
autostart = false

[connection signal="finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_finished"]

[connection signal="timeout" from="delay" to="." method="_on_delay_timeout"]


