Add VN textbox (needs some more bug fixing)
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://iibqlagufwhm"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://iibqlagufwhm"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/System/Systems.gd" id="1_uen2c"]
|
||||
[ext_resource type="Script" path="res://scripts/System/CutsceneSystem.gd" id="2_sf62c"]
|
||||
[ext_resource type="Script" path="res://scripts/System/ItemSystem.gd" id="3_nwp6i"]
|
||||
[ext_resource type="Script" path="res://scripts/System/QuestSystem.gd" id="4_d00wi"]
|
||||
[ext_resource type="Script" path="res://scripts/System/VNSystem.gd" id="5_22p3i"]
|
||||
|
||||
[node name="Systems" type="Node3D"]
|
||||
script = ExtResource("1_uen2c")
|
||||
@@ -16,3 +17,6 @@ script = ExtResource("3_nwp6i")
|
||||
|
||||
[node name="Quest" type="Node3D" parent="."]
|
||||
script = ExtResource("4_d00wi")
|
||||
|
||||
[node name="VN" type="Node3D" parent="."]
|
||||
script = ExtResource("5_22p3i")
|
||||
|
@@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bdrpqtbwvtivd"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://bdrpqtbwvtivd"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://yhtpoum3eek7" path="res://scenes/Entities/Rosa.tscn" id="1_3u2u0"]
|
||||
[ext_resource type="PackedScene" uid="uid://iibqlagufwhm" path="res://scenes/Systems.tscn" id="1_3x3uf"]
|
||||
[ext_resource type="PackedScene" uid="uid://dr4b2pmsknuhc" path="res://scenes/Entities/TestNPC.tscn" id="2_6f3lj"]
|
||||
[ext_resource type="PackedScene" uid="uid://7wjfo6u4dp3h" path="res://scenes/Maps/test.tscn" id="4_18e1y"]
|
||||
[ext_resource type="PackedScene" uid="uid://cy4r0tp2htivb" path="res://scenes/MapBounds.tscn" id="4_gv7tl"]
|
||||
[ext_resource type="Theme" uid="uid://dm7ee4aqjr2dl" path="res://Themes/UI Theme.tres" id="6_d185f"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkx3l0kckf4a8" path="res://scenes/UI/VNTextbox.tscn" id="7_nofjj"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_1b6it"]
|
||||
sky_horizon_color = Color(0.59625, 0.6135, 0.6375, 1)
|
||||
@@ -41,3 +43,16 @@ omni_range = 281.646
|
||||
|
||||
[node name="MapBounds" parent="." instance=ExtResource("4_gv7tl")]
|
||||
transform = Transform3D(22.0363, 0, 0, 0, 7.5201, 0, 0, 0, 19.278, 1.48402, 2.89779, 1.65935)
|
||||
|
||||
[node name="UI" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("6_d185f")
|
||||
|
||||
[node name="VNTextbox" parent="UI" instance=ExtResource("7_nofjj")]
|
||||
layout_mode = 1
|
||||
offset_top = -133.0
|
||||
|
26
scenes/UI/VNTextbox.tscn
Normal file
26
scenes/UI/VNTextbox.tscn
Normal 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"
|
Reference in New Issue
Block a user