2024-09-14 16:52:12 +03:00
|
|
|
[gd_scene load_steps=4 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 Node2D
|
|
|
|
|
|
|
|
|
|
|
|
func _ready() -> void:
|
|
|
|
$ScramblingText.infinite = true
|
|
|
|
$ScramblingText.start()
|
|
|
|
|
|
|
|
|
|
|
|
func _on_timer_timeout() -> void:
|
|
|
|
$ScramblingText.infinite = false;
|
|
|
|
"
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_w3bnc"]
|
|
|
|
font_size = 48
|
|
|
|
|
|
|
|
[node name="Test" type="Node2D"]
|
|
|
|
script = SubResource("GDScript_axp0a")
|
|
|
|
|
|
|
|
[node name="Icon" type="Sprite2D" parent="."]
|
|
|
|
position = Vector2(534, 309)
|
|
|
|
texture = ExtResource("1_3phrh")
|
|
|
|
|
|
|
|
[node name="ScramblingText" type="ScramblingText" parent="."]
|
2024-10-01 17:29:36 +03:00
|
|
|
infinite = false
|
2024-09-14 16:52:12 +03:00
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 23.0
|
|
|
|
text = "HELLO WORLD"
|
|
|
|
label_settings = SubResource("LabelSettings_w3bnc")
|
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
|
|
wait_time = 3.0
|
|
|
|
one_shot = true
|
|
|
|
autostart = true
|
|
|
|
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|