SupaLidlGame/UI/Base.tscn

165 lines
6.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=15 format=3 uid="uid://c271rdjhd1gfo"]
2023-08-13 16:49:18 -07:00
[ext_resource type="Script" path="res://UI/UIController.cs" id="2_b4b6l"]
[ext_resource type="PackedScene" uid="uid://bxo553hblp6nf" path="res://UI/HealthBar.tscn" id="3_j1j6h"]
[ext_resource type="PackedScene" uid="uid://01d24ij5av1y" path="res://UI/BossBar.tscn" id="4_igi28"]
2023-09-03 17:42:32 -07:00
[ext_resource type="PackedScene" uid="uid://cr7tkxctmyags" path="res://UI/LevelBar.tscn" id="4_rcekd"]
2023-08-13 20:11:40 -07:00
[ext_resource type="PackedScene" uid="uid://c77754nvmckn" path="res://UI/LocationDisplay.tscn" id="5_cr6vo"]
[ext_resource type="PackedScene" uid="uid://sfs8dpfitpdu" path="res://UI/Inventory/Hotbar.tscn" id="5_mmp18"]
2023-08-17 00:13:24 -07:00
[ext_resource type="PackedScene" uid="uid://d3q1yu3n7cqfj" path="res://UI/SceneTransition.tscn" id="6_j0nhv"]
[ext_resource type="PackedScene" uid="uid://cyggkyqosjk36" path="res://UI/Inventory/ShopMenu.tscn" id="8_ep3ae"]
[ext_resource type="PackedScene" uid="uid://2afbrf8asy2a" path="res://UI/PostProcessing/Vignette.tscn" id="9_p1ubd"]
[ext_resource type="PackedScene" uid="uid://bg51duwdtyl8w" path="res://UI/Inventory/InventoryMenu.tscn" id="10_5m8qa"]
2024-03-25 23:46:24 -07:00
[ext_resource type="PackedScene" uid="uid://b1wsryv4bn0cn" path="res://UI/PostProcessing/StunEffect.tscn" id="10_646ma"]
[ext_resource type="Shader" path="res://Shaders/Grayscale.gdshader" id="11_w4gn1"]
[ext_resource type="Texture2D" uid="uid://bw052v8ikfget" path="res://icon.svg" id="12_tyv35"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_kbd61"]
shader = ExtResource("11_w4gn1")
shader_parameter/grayscale_intensity = 0.0
2023-08-13 16:49:18 -07:00
[node name="BaseUI" type="CanvasLayer"]
2023-08-17 00:13:24 -07:00
process_mode = 3
2023-08-13 16:49:18 -07:00
[node name="PostProcessing" type="CanvasLayer" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="PostProcessing"]
[node name="Vignette" parent="PostProcessing/CanvasLayer" instance=ExtResource("9_p1ubd")]
[node name="CanvasLayer2" type="CanvasLayer" parent="PostProcessing"]
[node name="StunEffect" parent="PostProcessing/CanvasLayer2" instance=ExtResource("10_646ma")]
[node name="CanvasLayer3" type="CanvasLayer" parent="PostProcessing"]
[node name="Sprite2D" type="TextureRect" parent="PostProcessing/CanvasLayer3"]
visible = false
material = SubResource("ShaderMaterial_kbd61")
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -128.0
offset_top = -128.0
grow_horizontal = 0
grow_vertical = 0
texture = ExtResource("12_tyv35")
2023-08-13 16:49:18 -07:00
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
stretch = true
stretch_shrink = 3
[node name="UIViewport" type="SubViewport" parent="SubViewportContainer"]
2023-09-24 18:51:23 -07:00
disable_3d = true
2023-08-13 16:49:18 -07:00
transparent_bg = true
handle_input_locally = false
snap_2d_transforms_to_pixel = true
2023-08-13 16:49:18 -07:00
size = Vector2i(640, 360)
render_target_update_mode = 4
[node name="MainUILayer" type="CanvasLayer" parent="SubViewportContainer/UIViewport"]
2023-09-23 23:12:54 -07:00
layer = 3
2023-08-13 16:49:18 -07:00
[node name="Main" type="Control" parent="SubViewportContainer/UIViewport/MainUILayer"]
2023-08-13 16:49:18 -07:00
z_index = 128
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
2023-08-13 16:49:18 -07:00
script = ExtResource("2_b4b6l")
[node name="Top" type="HBoxContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
2023-09-03 17:42:32 -07:00
offset_bottom = 64.0
2023-08-13 16:49:18 -07:00
grow_horizontal = 2
2023-12-31 05:59:33 -08:00
[node name="Left" type="MarginContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top"]
2023-08-13 16:49:18 -07:00
layout_mode = 2
2023-12-31 05:59:33 -08:00
size_flags_horizontal = 3
2023-08-13 16:49:18 -07:00
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
2023-12-31 05:59:33 -08:00
[node name="VBoxContainer" type="VBoxContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Left"]
2023-08-13 16:49:18 -07:00
layout_mode = 2
2023-09-03 17:42:32 -07:00
theme_override_constants/separation = 12
2023-12-31 05:59:33 -08:00
[node name="HealthBar" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Left/VBoxContainer" instance=ExtResource("3_j1j6h")]
2023-09-03 17:42:32 -07:00
layout_mode = 2
2023-12-31 05:59:33 -08:00
[node name="LevelBar" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Left/VBoxContainer" instance=ExtResource("4_rcekd")]
2023-09-03 17:42:32 -07:00
layout_mode = 2
2023-12-31 05:59:33 -08:00
[node name="Margin2" type="MarginContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Left/VBoxContainer"]
2023-09-03 17:42:32 -07:00
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
2023-08-13 16:49:18 -07:00
2023-12-31 05:59:33 -08:00
[node name="Right" type="MarginContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top"]
layout_mode = 2
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
[node name="Hotbar" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Right" instance=ExtResource("5_mmp18")]
2023-12-31 05:59:33 -08:00
layout_mode = 2
[node name="BoxContainer" type="HBoxContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main"]
layout_mode = 1
anchors_preset = 11
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -236.0
grow_horizontal = 0
grow_vertical = 2
alignment = 2
[node name="ShopMenu" parent="SubViewportContainer/UIViewport/MainUILayer/Main/BoxContainer" instance=ExtResource("8_ep3ae")]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="InventoryMenu" parent="SubViewportContainer/UIViewport/MainUILayer/Main/BoxContainer" instance=ExtResource("10_5m8qa")]
unique_name_in_owner = true
visible = false
layout_mode = 2
2023-08-13 16:49:18 -07:00
[node name="Bottom" type="HBoxContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -44.0
grow_horizontal = 2
grow_vertical = 0
alignment = 1
[node name="BossBar" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Bottom" instance=ExtResource("4_igi28")]
visible = false
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main"]
visible = false
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
2023-08-13 20:11:40 -07:00
[node name="LocationDisplay" parent="SubViewportContainer/UIViewport/MainUILayer" instance=ExtResource("5_cr6vo")]
2023-08-17 00:13:24 -07:00
[node name="SceneTransition" parent="SubViewportContainer/UIViewport/MainUILayer" instance=ExtResource("6_j0nhv")]
z_index = 1