Terminal textbox and ui

This commit is contained in:
MaddoScientisto 2025-12-30 13:44:49 +01:00
commit f1b5251045
12 changed files with 133 additions and 93 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://d3dusydsn1qjd"]
[gd_scene load_steps=10 format=3 uid="uid://d3dusydsn1qjd"]
[ext_resource type="Script" uid="uid://cfcx0of1aekhk" path="res://addons/dialogic/Modules/Character/node_portrait_container.gd" id="1_4jxq7"]
[ext_resource type="Script" uid="uid://dmxeo7lm8ftsi" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_SpeakerPortraitTextbox/speaker_portrait_textbox_layer.gd" id="1_7jt4d"]
@ -6,6 +6,7 @@
[ext_resource type="Script" uid="uid://be3h8wr0w68dx" path="res://addons/dialogic/Modules/Text/node_name_label.gd" id="2_y0h34"]
[ext_resource type="Script" uid="uid://ddkvkdb6nxtyi" path="res://addons/dialogic/Modules/Text/node_dialog_text.gd" id="3_11puy"]
[ext_resource type="Script" uid="uid://bkfrnlul8c6cv" path="res://addons/dialogic/Modules/Text/node_type_sound.gd" id="5_sr2qw"]
[ext_resource type="Shader" uid="uid://bee5btjyyqer2" path="res://Shaders/CRT_Menu.gdshader" id="7_0wct5"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dmg1w"]
bg_color = Color(0.254902, 0.254902, 0.254902, 1)
@ -15,6 +16,13 @@ corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
[sub_resource type="ShaderMaterial" id="ShaderMaterial_t1cgn"]
shader = ExtResource("7_0wct5")
shader_parameter/scanline_count = 135.714006446415
shader_parameter/x_curve = 10.0
shader_parameter/y_curve = 10.0
shader_parameter/aberration_strength = 0.037000239257499956
[node name="TextboxWithSpeakerPortrait" type="Control"]
layout_mode = 3
anchors_preset = 15
@ -126,4 +134,9 @@ script = ExtResource("3_11puy")
textbox_root = NodePath("../../..")
[node name="DialogicNode_TypeSounds" type="AudioStreamPlayer" parent="Anchor/Panel/HBox/VBoxContainer/DialogicNode_DialogText"]
bus = &"Voice"
script = ExtResource("5_sr2qw")
[node name="ColorRect" type="ColorRect" parent="Anchor/Panel"]
material = SubResource("ShaderMaterial_t1cgn")
layout_mode = 2