Fixed UI system
This commit is contained in:
@@ -1,21 +1,19 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://klfo3l0dxlht"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://klfo3l0dxlht"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d36d3fnpi8y30" path="res://scripts/Singletons/Debug.gd" id="1_5spvt"]
|
||||
[ext_resource type="PackedScene" uid="uid://bimrljk1rn7af" path="res://scenes/UI/SubsceneUI.tscn" id="2_5o7yr"]
|
||||
[ext_resource type="PackedScene" uid="uid://verg13jtqwvh" path="res://scenes/UI/DebugMenu.tscn" id="2_c2xgb"]
|
||||
|
||||
[node name="Debug" type="Node2D"]
|
||||
[node name="Debug" type="Node"]
|
||||
script = ExtResource("1_5spvt")
|
||||
|
||||
[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
|
||||
[node name="SubsceneUI" parent="." instance=ExtResource("2_5o7yr")]
|
||||
layer = 3
|
||||
|
||||
[node name="DebugMenu" parent="UI" instance=ExtResource("2_c2xgb")]
|
||||
[node name="DebugMenu" parent="SubsceneUI" instance=ExtResource("2_c2xgb")]
|
||||
layout_mode = 0
|
||||
anchors_preset = 0
|
||||
anchor_bottom = 0.0
|
||||
offset_right = 207.0
|
||||
offset_bottom = 206.0
|
||||
grow_vertical = 1
|
||||
|
6
scenes/Singletons/Quest.tscn
Normal file
6
scenes/Singletons/Quest.tscn
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cs3kmmd0rfm8w"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d0060jeyftia7" path="res://scripts/Singletons/Quest.gd" id="1_v2h4q"]
|
||||
|
||||
[node name="Quest" type="Node"]
|
||||
script = ExtResource("1_v2h4q")
|
37
scenes/Singletons/UI.tscn
Normal file
37
scenes/Singletons/UI.tscn
Normal file
@@ -0,0 +1,37 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b5bwpsh0gcicf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dahhuhiu8u88b" path="res://scripts/Singletons/UI.gd" id="1_g3au4"]
|
||||
|
||||
[node name="UI" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_g3au4")
|
||||
metadata/_custom_type_script = "uid://dahhuhiu8u88b"
|
||||
|
||||
[node name="LayerGame" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="LayerVN" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="LayerDebug" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
@@ -1,18 +1,14 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b6pl1cq5y05ad"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b6pl1cq5y05ad"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://benvf7v4p4i2l" path="res://scripts/Singletons/VN.gd" id="1_01fad"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkx3l0kckf4a8" path="res://scenes/UI/VNTextbox.tscn" id="2_adm0d"]
|
||||
[ext_resource type="PackedScene" uid="uid://bimrljk1rn7af" path="res://scenes/UI/SubsceneUI.tscn" id="2_hxsm8"]
|
||||
|
||||
[node name="VN" type="Node"]
|
||||
script = ExtResource("1_01fad")
|
||||
|
||||
[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
|
||||
[node name="SubsceneUI" parent="." instance=ExtResource("2_hxsm8")]
|
||||
layer = 1
|
||||
|
||||
[node name="VNTextbox" parent="UI" instance=ExtResource("2_adm0d")]
|
||||
[node name="VNTextbox" parent="SubsceneUI" instance=ExtResource("2_adm0d")]
|
||||
layout_mode = 1
|
||||
|
Reference in New Issue
Block a user