More work on dialogue, portraits, customizer and intro

This commit is contained in:
2025-09-18 09:14:54 -04:00
parent 82c630d668
commit 023e88b84e
80 changed files with 2117 additions and 141 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=13 format=3 uid="uid://dfa6ep4o53s08"]
[gd_scene load_steps=12 format=3 uid="uid://dfa6ep4o53s08"]
[ext_resource type="Script" uid="uid://cci652umkym1f" path="res://scripts/test_scene.gd" id="1_752n1"]
[ext_resource type="Texture2D" uid="uid://c5yxq22ao1oyf" path="res://graphics/doorlight.png" id="2_oi1nh"]
@@ -7,7 +7,6 @@
[ext_resource type="PackedScene" uid="uid://c8ofw6na082gv" path="res://templates/main_panel.tscn" id="4_4k18p"]
[ext_resource type="PackedScene" uid="uid://c7jagw4y7w42l" path="res://templates/top_menu.tscn" id="5_p1w2f"]
[ext_resource type="AudioStream" uid="uid://cmray2frojcd" path="res://sounds/Door Hinge Creaking Door.wav" id="7_oi1nh"]
[ext_resource type="Texture2D" uid="uid://c25xtpn3k8s8d" path="res://external/mage.png" id="8_4k18p"]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_752n1"]
blend_mode = 3
@@ -124,10 +123,4 @@ layout_mode = 2
stream = ExtResource("7_oi1nh")
volume_db = -24.535
[node name="Mage" type="Sprite2D" parent="."]
z_index = 4096
position = Vector2(952, 354)
scale = Vector2(0.1890599, 0.1890599)
texture = ExtResource("8_4k18p")
[connection signal="timeout" from="Guildhall/VisitorSpawner/Timer" to="Guildhall/VisitorSpawner" method="_on_timer_timeout"]

View File

@@ -90,7 +90,7 @@ gradient = SubResource("Gradient_3vymb")
resource_local_to_scene = true
shader = ExtResource("3_3vymb")
shader_parameter/gradient = SubResource("GradientTexture1D_ht11g")
shader_parameter/fringe = 0.008000000001629815
shader_parameter/fringe = 0.00800000000162981
[node name="Guild Card Scene" type="Control"]
layout_mode = 3

View File

@@ -17,7 +17,7 @@ shader = ExtResource("3_2lpho")
shader_parameter/add_color = Color(1, 1, 1, 0)
shader_parameter/fringe_color = SubResource("GradientTexture1D_blm8a")
shader_parameter/fringe_threshold = 0.10000000000582077
shader_parameter/threshold = 0.3606666537395989
shader_parameter/threshold = 0.361
[node name="Control" type="Control"]
layout_mode = 3
@@ -38,11 +38,16 @@ texture = ExtResource("1_2klcf")
[node name="Map Pin2" parent="." instance=ExtResource("2_paxxb")]
layout_mode = 0
anchors_preset = 0
offset_left = 389.0
offset_top = 554.0
offset_right = 459.0
offset_bottom = 624.0
label = ""
locked_brief = null
unlocked_brief = null
[node name="Brief" parent="Map Pin2/Panel" index="0"]
text = ""
[node name="CanvasGroup" parent="Map Pin2" index="1"]
material = SubResource("ShaderMaterial_gldc4")
@@ -51,18 +56,35 @@ material = SubResource("ShaderMaterial_gldc4")
mouse_filter = 2
[node name="Banner" parent="Map Pin2/CanvasGroup" index="1"]
offset_left = 0.0
offset_top = 0.0
offset_right = 188.0
offset_bottom = 188.0
mouse_filter = 2
[node name="Label" parent="Map Pin2/CanvasGroup/Banner" index="0"]
text = "Avara Plains"
text = ""
[node name="Map Pin3" parent="." instance=ExtResource("2_paxxb")]
layout_mode = 0
anchors_preset = 0
offset_left = 144.0
offset_top = 382.0
offset_right = 214.0
offset_bottom = 452.0
primed = true
label = "Nestor's Woods"
locked_brief = null
unlocked_brief = null
[node name="Map Pin4" parent="." instance=ExtResource("2_paxxb")]
layout_mode = 0
offset_left = 229.0
offset_top = 89.0
offset_right = 299.0
offset_bottom = 159.0
primed = true
label = "Iko Gorge"
locked_brief = "Mysterious cliffs in the frozen north."
unlocked_brief = "One of the few northernmost lands uninhabited by [giants]. The snowy creatures of the Iko region run rampant here. Some say they are protected by the [giant] goddess, [Nakari]."
[editable path="Map Pin2"]

79
scenes/options.tscn Normal file
View File

@@ -0,0 +1,79 @@
[gd_scene load_steps=2 format=3 uid="uid://dpe7by8lvno0h"]
[ext_resource type="Script" uid="uid://b2jhi1k8mktqm" path="res://scripts/options.gd" id="1_c2u1v"]
[node name="Options" type="Control"]
z_index = 1000
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_c2u1v")
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.5921569)
[node name="PanelContainer" type="PanelContainer" parent="."]
custom_minimum_size = Vector2(500, 500)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -250.0
offset_top = -250.0
offset_right = 250.0
offset_bottom = 250.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 92
text = "Options"
horizontal_alignment = 1
[node name="Control" type="Control" parent="PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
[node name="QuitButton" type="Button" parent="PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
text = "Quit to Main Menu"
[node name="SuperquitButton" type="Button" parent="PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
text = "Quit Game"
[node name="BackButton" type="Button" parent="PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
text = "BACK"
[node name="ConfirmationDialog" type="ConfirmationDialog" parent="."]
oversampling_override = 1.0
title = "Confirm Quit"
initial_position = 2
size = Vector2i(256, 106)
ok_button_text = "QUIT"
dialog_text = "Are you sure you want to quit?
(Progress will be saved first)"
[connection signal="pressed" from="PanelContainer/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/SuperquitButton" to="." method="_on_superquit_button_pressed"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/BackButton" to="." method="_on_back_button_pressed"]
[connection signal="confirmed" from="ConfirmationDialog" to="." method="_on_confirmation_dialog_confirmed"]