-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtutorial.tscn
More file actions
47 lines (39 loc) · 1.2 KB
/
tutorial.tscn
File metadata and controls
47 lines (39 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[gd_scene load_steps=2 format=3 uid="uid://cmtcg0j0tdjsy"]
[ext_resource type="Script" path="res://tutorial.gd" id="1_yhvag"]
[node name="Tutorial" type="CanvasLayer"]
script = ExtResource("1_yhvag")
[node name="ColorRect" type="ColorRect" parent="."]
offset_top = 108.0
offset_bottom = 131.0
size_flags_horizontal = 3
size_flags_vertical = 3
color = Color(0, 0.34902, 0.203922, 1)
[node name="VBox" type="VBoxContainer" parent="ColorRect"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -47.5
offset_top = -20.0
offset_right = 47.5
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
[node name="HBox" type="HBoxContainer" parent="ColorRect/VBox"]
layout_mode = 2
alignment = 1
[node name="Message" type="Label" parent="ColorRect/VBox/HBox"]
custom_minimum_size = Vector2(300, 23)
layout_mode = 2
size_flags_horizontal = 0
text = "Sample Text
"
autowrap_mode = 3
[node name="MessageTimer" type="Timer" parent="."]
wait_time = 3.0
one_shot = true
[connection signal="resized" from="ColorRect/VBox" to="." method="_on_v_box_resized"]
[connection signal="timeout" from="MessageTimer" to="." method="on_message_timer_end"]