This repository has been archived on 2024-02-25. You can view files and clone it, but cannot push or open issues or pull requests.
Wol/Dialogue.tscn

56 lines
1.5 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=2]
[ext_resource path="res://addons/Wol/Ostrich Sans Font.tres" type="DynamicFont" id=1]
[ext_resource path="res://addons/Wol/Wol.gd" type="Script" id=2]
[ext_resource path="res://Dialogue.gd" type="Script" id=7]
2021-11-20 11:10:20 +01:00
[node name="Dialogue" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Wol" type="Node" parent="."]
script = ExtResource( 2 )
path = "res://dialogue.yarn"
auto_start = true
[node name="RichTextLabel" type="RichTextLabel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = 16.0
margin_right = -16.0
margin_bottom = -256.0
custom_fonts/normal_font = ExtResource( 1 )
text = "Here is where the dialogue will go.
Run the scene in order to see how \"wol\" works."
2021-11-20 12:20:33 +01:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = 344.0
margin_right = -16.0
2021-11-20 11:10:20 +01:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ButtonTemplate" type="Button" parent="VBoxContainer"]
margin_right = 992.0
margin_bottom = 66.0
custom_fonts/font = ExtResource( 1 )
text = "This is a dialogue option"
2021-11-20 12:20:33 +01:00
[node name="Tween" type="Tween" parent="."]
2021-11-20 22:29:24 +01:00
[connection signal="finished" from="Wol" to="." method="_on_Wol_finished"]
[connection signal="line" from="Wol" to="." method="_on_Wol_line"]
2021-11-20 12:20:33 +01:00
[connection signal="options" from="Wol" to="." method="_on_Wol_options"]