Envoi sur GitHub du projet updated
This commit is contained in:
@@ -0,0 +1,156 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://7uw7j7ymucjx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bopx5vxrplpny" path="res://Dialogues/balloon.gd" id="1_okgs6"]
|
||||
[ext_resource type="FontFile" uid="uid://dv8ppra5tgn1t" path="res://Art/Fonts/PixelatedEleganceRegular-ovyAA.ttf" id="2_d4irk"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckvgyvclnwggo" path="res://addons/dialogue_manager/dialogue_label.tscn" id="3_sg5qg"]
|
||||
[ext_resource type="Script" uid="uid://bb52rsfwhkxbn" path="res://addons/dialogue_manager/dialogue_responses_menu.gd" id="5_cd5om"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sfbl0"]
|
||||
content_margin_top = 20.0
|
||||
content_margin_bottom = 20.0
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
border_color = Color(0.329412, 0.329412, 0.329412, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7gkrf"]
|
||||
content_margin_top = 20.0
|
||||
content_margin_bottom = 20.0
|
||||
bg_color = Color(0.352941, 0.352941, 0.352941, 1)
|
||||
border_color = Color(1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eipem"]
|
||||
content_margin_top = 20.0
|
||||
content_margin_bottom = 20.0
|
||||
bg_color = Color(0.352941, 0.352941, 0.352941, 1)
|
||||
border_color = Color(0.6, 0.6, 0.6, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_b3r5k"]
|
||||
content_margin_top = 20.0
|
||||
content_margin_bottom = 20.0
|
||||
bg_color = Color(0.196078, 0.196078, 0.196078, 1)
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cypdp"]
|
||||
|
||||
[sub_resource type="Theme" id="Theme_qq3yp"]
|
||||
default_font_size = 20
|
||||
Button/constants/outline_size = 3
|
||||
Button/styles/disabled = SubResource("StyleBoxFlat_sfbl0")
|
||||
Button/styles/focus = SubResource("StyleBoxFlat_7gkrf")
|
||||
Button/styles/hover = SubResource("StyleBoxFlat_eipem")
|
||||
Button/styles/normal = SubResource("StyleBoxFlat_b3r5k")
|
||||
MarginContainer/constants/margin_bottom = 15
|
||||
MarginContainer/constants/margin_left = 30
|
||||
MarginContainer/constants/margin_right = 30
|
||||
MarginContainer/constants/margin_top = 15
|
||||
Panel/styles/panel = SubResource("StyleBoxEmpty_cypdp")
|
||||
|
||||
[node name="ExampleBalloon" type="CanvasLayer"]
|
||||
layer = 100
|
||||
script = ExtResource("1_okgs6")
|
||||
|
||||
[node name="Balloon" type="Control" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
mouse_filter = 2
|
||||
mouse_force_pass_scroll_events = false
|
||||
theme = SubResource("Theme_qq3yp")
|
||||
|
||||
[node name="Panel" type="Panel" parent="Balloon"]
|
||||
clip_children = 2
|
||||
layout_mode = 1
|
||||
offset_left = 1167.0
|
||||
offset_top = 331.0
|
||||
offset_right = 1807.0
|
||||
offset_bottom = 566.0
|
||||
mouse_force_pass_scroll_events = false
|
||||
|
||||
[node name="Dialogue" type="MarginContainer" parent="Balloon/Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 2.0
|
||||
offset_top = -23.0
|
||||
offset_right = 2.0
|
||||
offset_bottom = 34.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Panel/Dialogue"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
|
||||
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Panel/Dialogue/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
clip_contents = false
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 2
|
||||
mouse_filter = 1
|
||||
theme_override_colors/default_color = Color(0.784314, 0, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_outline_size = 0
|
||||
theme_override_constants/outline_size = 0
|
||||
theme_override_fonts/normal_font = ExtResource("2_d4irk")
|
||||
theme_override_font_sizes/normal_font_size = 24
|
||||
bbcode_enabled = true
|
||||
text = "Character"
|
||||
fit_content = true
|
||||
scroll_active = false
|
||||
|
||||
[node name="DialogueLabel" parent="Balloon/Panel/Dialogue/VBoxContainer" instance=ExtResource("3_sg5qg")]
|
||||
unique_name_in_owner = true
|
||||
clip_contents = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/line_separation = 10
|
||||
theme_override_constants/shadow_outline_size = 6
|
||||
theme_override_constants/outline_size = 12
|
||||
theme_override_fonts/normal_font = ExtResource("2_d4irk")
|
||||
theme_override_font_sizes/normal_font_size = 24
|
||||
text = "Dialogue..."
|
||||
|
||||
[node name="Responses" type="MarginContainer" parent="Balloon"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 232.0
|
||||
offset_top = -384.0
|
||||
offset_right = 952.0
|
||||
offset_bottom = -4.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
theme_override_constants/margin_left = 28
|
||||
theme_override_constants/margin_top = 28
|
||||
theme_override_constants/margin_right = 36
|
||||
theme_override_constants/margin_bottom = 28
|
||||
|
||||
[node name="ResponsesMenu" type="VBoxContainer" parent="Balloon/Responses" node_paths=PackedStringArray("response_template")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 2
|
||||
script = ExtResource("5_cd5om")
|
||||
response_template = NodePath("ResponseExample")
|
||||
|
||||
[node name="ResponseExample" type="Button" parent="Balloon/Responses/ResponsesMenu"]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_d4irk")
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "What brought you here ?"
|
||||
autowrap_mode = 2
|
||||
|
||||
[connection signal="gui_input" from="Balloon" to="." method="_on_balloon_gui_input"]
|
||||
[connection signal="gui_input" from="Balloon/Panel" to="." method="_on_balloon_gui_input"]
|
||||
[connection signal="response_selected" from="Balloon/Responses/ResponsesMenu" to="." method="_on_responses_menu_response_selected"]
|
||||
Reference in New Issue
Block a user