2024-10-02 16:08:45 +03:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://dfvl3luba7j4"]
|
2024-09-14 16:52:12 +03:00
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://5hxbsfm0aa0" path="res://icon.svg" id="1_3phrh"]
|
|
|
|
|
|
|
|
[sub_resource type="GDScript" id="GDScript_axp0a"]
|
|
|
|
resource_name = "Test"
|
2024-10-02 16:08:45 +03:00
|
|
|
script/source = "extends Control
|
2024-09-14 16:52:12 +03:00
|
|
|
|
|
|
|
|
|
|
|
func _ready() -> void:
|
|
|
|
$ScramblingText.infinite = true
|
|
|
|
$ScramblingText.start()
|
2024-10-02 16:08:45 +03:00
|
|
|
$AnimationPlayer.play(\"blink\");
|
2024-09-14 16:52:12 +03:00
|
|
|
|
|
|
|
|
|
|
|
func _on_timer_timeout() -> void:
|
|
|
|
$ScramblingText.infinite = false;
|
|
|
|
"
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_w3bnc"]
|
|
|
|
font_size = 48
|
|
|
|
|
2024-10-02 16:08:45 +03:00
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_78g6a"]
|
|
|
|
font_size = 48
|
|
|
|
|
2024-10-08 15:50:32 +03:00
|
|
|
[sub_resource type="Animation" id="Animation_dirfa"]
|
|
|
|
length = 0.001
|
2024-10-02 16:08:45 +03:00
|
|
|
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 = {
|
2024-10-08 15:50:32 +03:00
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
2024-10-02 16:08:45 +03:00
|
|
|
"update": 1,
|
2024-10-08 15:50:32 +03:00
|
|
|
"values": [true]
|
2024-10-02 16:08:45 +03:00
|
|
|
}
|
|
|
|
|
2024-10-08 15:50:32 +03:00
|
|
|
[sub_resource type="Animation" id="Animation_t3ulj"]
|
|
|
|
resource_name = "blink"
|
|
|
|
length = 2.0
|
|
|
|
loop_mode = 1
|
2024-10-02 16:08:45 +03:00
|
|
|
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 = {
|
2024-10-08 15:50:32 +03:00
|
|
|
"times": PackedFloat32Array(0, 1),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
2024-10-02 16:08:45 +03:00
|
|
|
"update": 1,
|
2024-10-08 15:50:32 +03:00
|
|
|
"values": [false, true]
|
2024-10-02 16:08:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
[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
|
2024-09-14 16:52:12 +03:00
|
|
|
script = SubResource("GDScript_axp0a")
|
|
|
|
|
2024-10-02 16:08:45 +03:00
|
|
|
[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)
|
|
|
|
|
2024-09-14 16:52:12 +03:00
|
|
|
[node name="Icon" type="Sprite2D" parent="."]
|
|
|
|
position = Vector2(534, 309)
|
|
|
|
texture = ExtResource("1_3phrh")
|
|
|
|
|
|
|
|
[node name="ScramblingText" type="ScramblingText" parent="."]
|
2024-10-02 16:08:45 +03:00
|
|
|
speed = 5.0
|
|
|
|
duration = 0.05
|
2024-10-01 17:29:36 +03:00
|
|
|
infinite = false
|
2024-10-08 15:50:32 +03:00
|
|
|
layout_mode = 0
|
2024-09-14 16:52:12 +03:00
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 23.0
|
2024-10-02 16:08:45 +03:00
|
|
|
text = "LOADING DEMO..."
|
2024-09-14 16:52:12 +03:00
|
|
|
label_settings = SubResource("LabelSettings_w3bnc")
|
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
2024-10-02 16:08:45 +03:00
|
|
|
wait_time = 1.5
|
2024-09-14 16:52:12 +03:00
|
|
|
one_shot = true
|
|
|
|
autostart = true
|
|
|
|
|
2024-10-02 16:08:45 +03:00
|
|
|
[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")
|
|
|
|
}
|
|
|
|
|
2024-09-14 16:52:12 +03:00
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|