blob: 01bf2efc70a88b76f1e4ca6ab245f2258a7febcb (
plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/GUI.gd" type="Script" id=1]
[ext_resource path="res://scripts/DialogueBox.gd" type="Script" id=2]
[ext_resource path="res://scenes/DialogueOptionButton.tscn" type="PackedScene" id=3]
[node name="GUI" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TopRow" type="VBoxContainer" parent="."]
margin_right = 984.0
margin_bottom = 560.0
[node name="DebugLabel" type="Label" parent="TopRow"]
margin_right = 984.0
margin_bottom = 14.0
[node name="BottomRow" type="VBoxContainer" parent="."]
margin_right = 984.0
margin_bottom = 560.0
alignment = 2
[node name="DialogueBox" type="ColorRect" parent="BottomRow"]
visible = false
margin_top = 520.0
margin_right = 984.0
margin_bottom = 560.0
rect_min_size = Vector2( 0, 40 )
color = Color( 0.403922, 0.360784, 0.54902, 1 )
script = ExtResource( 2 )
[node name="Name" type="Label" parent="BottomRow/DialogueBox"]
anchor_left = 0.02
anchor_right = 0.02
margin_left = 18.9
margin_top = 14.0836
margin_right = 84.9
margin_bottom = 28.0836
rect_pivot_offset = Vector2( 12.2909, 7.63709 )
text = "Name"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Body" type="Label" parent="BottomRow/DialogueBox"]
margin_left = 94.1902
margin_top = 14.0836
margin_right = 160.19
margin_bottom = 28.0836
rect_pivot_offset = Vector2( 12.2909, 7.63709 )
text = "Text"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="BottomRow/DialogueBox"]
anchor_left = 0.94
anchor_right = 0.98
margin_top = 10.0
margin_bottom = 10.0
grow_horizontal = 0
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DialogueOptionButton" parent="BottomRow/DialogueBox/HBoxContainer" instance=ExtResource( 3 )]
margin_left = 0.0
margin_right = 71.0
[connection signal="option_pressed" from="BottomRow/DialogueBox" to="." method="_on_DialogueBox_option_pressed"]
[connection signal="pressed" from="BottomRow/DialogueBox/HBoxContainer/DialogueOptionButton" to="BottomRow/DialogueBox" method="_on_DialogueOptionButton_pressed"]
|