Add VN textbox (needs some more bug fixing)

This commit is contained in:
2025-01-07 22:14:17 -06:00
parent 93c740f1ff
commit 75082e0598
10 changed files with 191 additions and 9 deletions

26
scenes/UI/VNTextbox.tscn Normal file
View File

@@ -0,0 +1,26 @@
[gd_scene load_steps=3 format=3 uid="uid://bkx3l0kckf4a8"]
[ext_resource type="Theme" uid="uid://dm7ee4aqjr2dl" path="res://Themes/UI Theme.tres" id="1_wx4lp"]
[ext_resource type="Script" path="res://scripts/UI/VNTextbox.gd" id="2_uo1gm"]
[node name="VNTextbox" type="PanelContainer"]
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -134.0
grow_horizontal = 2
grow_vertical = 0
theme = ExtResource("1_wx4lp")
script = ExtResource("2_uo1gm")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
theme = ExtResource("1_wx4lp")
[node name="Label" type="RichTextLabel" parent="MarginContainer"]
layout_mode = 2
theme = ExtResource("1_wx4lp")
text = "test
test
test"