Restructured files and worked on more complex quest progression
This commit is contained in:
@@ -52,6 +52,16 @@ pivot_offset = Vector2(125, 0)
|
||||
size_flags_horizontal = 4
|
||||
script = ExtResource("1_3w4v3")
|
||||
|
||||
[node name="HeroLabel" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 30.0
|
||||
offset_top = 2.0
|
||||
offset_right = 223.0
|
||||
offset_bottom = 25.0
|
||||
text = "Hero Name Here"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ProgressBar" type="TextureProgressBar" parent="."]
|
||||
custom_minimum_size = Vector2(213, 14)
|
||||
layout_mode = 0
|
||||
@@ -143,7 +153,9 @@ position = Vector2(-1, -12)
|
||||
texture = ExtResource("6_lufuo")
|
||||
script = ExtResource("7_nby1n")
|
||||
|
||||
[node name="UpdateBubble" type="NinePatchRect" parent="ProgressBar/Hero"]
|
||||
[node name="SpeechBubble" type="NinePatchRect" parent="ProgressBar/Hero"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
clip_contents = true
|
||||
anchors_preset = -1
|
||||
anchor_left = 1.0
|
||||
@@ -168,7 +180,7 @@ axis_stretch_horizontal = 1
|
||||
axis_stretch_vertical = 1
|
||||
script = ExtResource("9_pq74m")
|
||||
|
||||
[node name="Label" type="Label" parent="ProgressBar/Hero/UpdateBubble"]
|
||||
[node name="Label" type="Label" parent="ProgressBar/Hero/SpeechBubble"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 5.0
|
||||
@@ -182,7 +194,7 @@ text = "testing one 1 2 3"
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Timer" type="Timer" parent="ProgressBar/Hero/UpdateBubble"]
|
||||
[node name="Timer" type="Timer" parent="ProgressBar/Hero/SpeechBubble"]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Container" type="Container" parent="ProgressBar"]
|
||||
@@ -199,4 +211,4 @@ offset_top = 34.0
|
||||
offset_right = 231.0
|
||||
offset_bottom = 54.0
|
||||
|
||||
[connection signal="timeout" from="ProgressBar/Hero/UpdateBubble/Timer" to="ProgressBar/Hero/UpdateBubble" method="_on_timer_timeout"]
|
||||
[connection signal="timeout" from="ProgressBar/Hero/SpeechBubble/Timer" to="ProgressBar/Hero/SpeechBubble" method="_on_timer_timeout"]
|
||||
|
||||
Reference in New Issue
Block a user