Dialogic textbox

This commit is contained in:
MaddoScientisto 2025-03-17 21:52:41 +01:00
commit 4226891235
25 changed files with 497 additions and 55 deletions

View file

@ -18,8 +18,8 @@
[ext_resource type="Texture2D" uid="uid://bhmtp6i2g2f1c" path="res://Sprites/UI/ShieldBar.png" id="12_n0pka"]
[ext_resource type="Texture2D" uid="uid://cihsd5rw8i5xm" path="res://Sprites/UI/ShieldBar_Foreground.png" id="13_j6myr"]
[ext_resource type="StyleBox" uid="uid://24hh6h4juk3r" path="res://Resources/Styles/PixelStyleBoxRed_SquareBackground.tres" id="13_sjdna"]
[ext_resource type="Texture2D" uid="uid://d4lqqgx8yvp5" path="res://Sprites/Portraits/Status_Cirno.png" id="15_bkqle"]
[ext_resource type="Script" uid="uid://cwd3sksjqpuy3" path="res://Scripts/Utils/FpsCounterLabel.cs" id="15_x61tu"]
[ext_resource type="Texture2D" uid="uid://cid62phhew3ep" path="res://Sprites/UI/StatusSprite02.png" id="19_n0pka"]
[sub_resource type="LabelSettings" id="LabelSettings_a7f6n"]
font = ExtResource("2_0xmx2")
@ -206,7 +206,6 @@ offset_right = 226.0
offset_bottom = 144.0
[node name="InventoryMenu" type="TabContainer" parent="."]
visible = false
offset_left = 16.0
offset_top = 9.0
offset_right = 305.0
@ -214,11 +213,12 @@ offset_bottom = 153.0
mouse_filter = 2
theme = ExtResource("9_sx5r0")
theme_override_fonts/font = ExtResource("6_sk1eq")
current_tab = 0
current_tab = 4
script = ExtResource("11_7pulb")
metadata/_edit_group_ = true
[node name="Weapons" type="ItemList" parent="InventoryMenu"]
visible = false
layout_mode = 2
theme = ExtResource("9_sx5r0")
theme_override_styles/panel = ExtResource("13_sjdna")
@ -266,7 +266,6 @@ ItemsFilter = Array[int]([0, 1, 2, 13, 10, 11, 12])
metadata/_tab_index = 3
[node name="Status" type="PanelContainer" parent="InventoryMenu"]
visible = false
layout_mode = 2
theme = ExtResource("9_sx5r0")
theme_override_styles/panel = ExtResource("13_sjdna")
@ -300,7 +299,7 @@ label_settings = SubResource("LabelSettings_bkqle")
[node name="TextureRect" type="TextureRect" parent="InventoryMenu/Status/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
texture = ExtResource("15_bkqle")
texture = ExtResource("19_n0pka")
expand_mode = 1
stretch_mode = 3

View file

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://catf2cx0f8cnu" path="res://Scripts/UI/IntroLogos.cs" id="1_p43sh"]
[ext_resource type="Texture2D" uid="uid://dfncwtgc4ae6e" path="res://Sprites/UI/MaddoLogo.png" id="1_rm3c6"]
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="2_ryg35"]
[ext_resource type="LabelSettings" uid="uid://ct4jf3wlfmc4w" path="res://Resources/Styles/Silver_Text.tres" id="3_p43sh"]
[sub_resource type="Gradient" id="Gradient_p43sh"]
colors = PackedColorArray(0.027451, 0.0941176, 0.129412, 1, 0.027451, 0.0941176, 0.129412, 1)
@ -22,7 +22,15 @@ grow_horizontal = 2
grow_vertical = 2
texture = SubResource("GradientTexture1D_ahpdu")
[node name="TextureRect2" type="TextureRect" parent="."]
offset_left = 80.0
offset_top = -47.0
offset_right = 240.0
offset_bottom = 97.0
texture = ExtResource("1_rm3c6")
[node name="CenterContainer" type="CenterContainer" parent="."]
visible = false
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
@ -31,10 +39,6 @@ offset_right = 80.0
offset_bottom = 144.0
grow_horizontal = 2
[node name="TextureRect" type="TextureRect" parent="CenterContainer"]
layout_mode = 2
texture = ExtResource("1_rm3c6")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchors_preset = 7
anchor_left = 0.5
@ -50,13 +54,14 @@ theme_override_constants/separation = -1
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "This is a non official Touhou Project game.
Original By"
label_settings = ExtResource("2_ryg35")
text = "This is a non official Touhou Project fangame.
Original By:"
label_settings = ExtResource("3_p43sh")
horizontal_alignment = 1
[node name="Label2" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "上海アリス幻樂団"
label_settings = ExtResource("2_ryg35")
text = "Team Shanghai Alice
上海アリス幻樂団"
label_settings = ExtResource("3_p43sh")
horizontal_alignment = 1

View file

@ -61,7 +61,7 @@
[sub_resource type="Resource" id="Resource_6wo78"]
script = ExtResource("4_u1i8n")
EggIndex = 0
StartingEquipment = Array[ExtResource("5_u1i8n")]([])
StartingEquipment = []
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rff8l"]
size = Vector2(30, 52.5)

View file

@ -575,7 +575,7 @@ IsEnabled = true
Target = NodePath("../DebugTeleporter")
[node name="DebugTeleporter" parent="Parallax2D/Factory Tilemaps/LevelProps" instance=ExtResource("30_8fdby")]
position = Vector2(-1498, -111)
position = Vector2(-1078, -97)
Invisible = true
metadata/_edit_group_ = true
@ -1063,7 +1063,7 @@ position = Vector2(-2000, -736)
[node name="ControlPad8" parent="Parallax2D/Factory Tilemaps/LevelProps" node_paths=PackedStringArray("Targets") instance=ExtResource("12_hfkf1")]
position = Vector2(-2027, -735)
Targets = [NodePath("../HorizontalForceField")]
Requirements = Array[ExtResource("6_8tdlb")]([ExtResource("84_ma1ta")])
Requirements = [ExtResource("84_ma1ta")]
[node name="Ammo6" parent="Parallax2D/Factory Tilemaps/LevelProps" instance=ExtResource("34_17pjh")]
position = Vector2(-872, -220)