[gd_scene load_steps=8 format=3 uid="uid://dfvl3luba7j4"] [ext_resource type="Texture2D" uid="uid://5hxbsfm0aa0" path="res://icon.svg" id="1_3phrh"] [sub_resource type="GDScript" id="GDScript_axp0a"] resource_name = "Test" script/source = "extends Control func _ready() -> void: $ScramblingText.infinite = true $ScramblingText.start() $AnimationPlayer.play(\"blink\"); func _on_timer_timeout() -> void: $ScramblingText.infinite = false; " [sub_resource type="LabelSettings" id="LabelSettings_w3bnc"] font_size = 48 [sub_resource type="LabelSettings" id="LabelSettings_78g6a"] font_size = 48 [sub_resource type="Animation" id="Animation_t3ulj"] resource_name = "blink" length = 2.0 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Label:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [false, true] } [sub_resource type="Animation" id="Animation_dirfa"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Label:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_jgx00"] _data = { "RESET": SubResource("Animation_dirfa"), "blink": SubResource("Animation_t3ulj") } [node name="Test" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = SubResource("GDScript_axp0a") [node name="ColorRect" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 1) [node name="Icon" type="Sprite2D" parent="."] position = Vector2(534, 309) texture = ExtResource("1_3phrh") [node name="ScramblingText" type="ScramblingText" parent="."] speed = 5.0 duration = 0.05 infinite = false offset_right = 40.0 offset_bottom = 23.0 text = "LOADING DEMO..." label_settings = SubResource("LabelSettings_w3bnc") [node name="Timer" type="Timer" parent="."] wait_time = 1.5 one_shot = true autostart = true [node name="Label" type="Label" parent="."] layout_mode = 0 offset_top = 93.0 offset_right = 40.0 offset_bottom = 116.0 text = "PLEASE WAIT" label_settings = SubResource("LabelSettings_78g6a") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_jgx00") } [connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]