Post Game jam commit

This commit is contained in:
Daniel Kauss Serna 2026-02-03 21:06:49 +01:00
commit 6db2131520
164 changed files with 172524 additions and 0 deletions

231
ui/ui_layer.tscn Normal file
View file

@ -0,0 +1,231 @@
[gd_scene load_steps=13 format=3 uid="uid://bq8ig7s8gxia4"]
[ext_resource type="Theme" uid="uid://d3iyu7ukwsn1p" path="res://ui/default_theme.tres" id="1_1evs6"]
[ext_resource type="PackedScene" uid="uid://bvp37ljy8eaba" path="res://ui/texture_container.tscn" id="3_nsgok"]
[ext_resource type="Script" uid="uid://c62xd44e27oki" path="res://scripts/settings_menu.gd" id="4_f4m0o"]
[ext_resource type="Script" uid="uid://da2hsusvv3rxg" path="res://scripts/debug_ui.gd" id="5_h6use"]
[ext_resource type="Script" uid="uid://bimyryljv4hs2" path="res://ui/dialogue.gd" id="6_kes38"]
[ext_resource type="Texture2D" uid="uid://bng412si6gw5w" path="res://assets/healt_bar.png" id="7_np4cb"]
[ext_resource type="Script" uid="uid://cj6pb1828dcfr" path="res://scripts/health_bar.gd" id="8_8fqmc"]
[ext_resource type="Texture2D" uid="uid://03jo0w8b3r0j" path="res://ui/bar_under.png" id="9_fl7ai"]
[ext_resource type="Texture2D" uid="uid://do36o00w1kfgm" path="res://ui/bar_progress.png" id="10_iwd8l"]
[ext_resource type="Script" uid="uid://cqrqqn2p0h0kb" path="res://scripts/mask_bar.gd" id="11_01h74"]
[ext_resource type="Script" uid="uid://llka3aa044jo" path="res://click.gd" id="12_14s75"]
[sub_resource type="AtlasTexture" id="AtlasTexture_dhpj7"]
atlas = ExtResource("7_np4cb")
region = Rect2(0, 0, 0, 32)
[node name="UILayer" type="CanvasLayer"]
scale = Vector2(4, 4)
transform = Transform2D(4, 0, 0, 4, 0, 0)
[node name="UI" type="Control" parent="."]
process_mode = 3
layout_mode = 3
anchors_preset = 0
offset_right = 480.0
offset_bottom = 270.0
size_flags_horizontal = 0
mouse_filter = 2
theme = ExtResource("1_1evs6")
[node name="Debug" type="Control" parent="UI"]
visible = false
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -40.0
offset_bottom = 40.0
grow_horizontal = 0
mouse_filter = 2
script = ExtResource("5_h6use")
[node name="Label" type="Label" parent="UI/Debug"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -40.0
offset_bottom = 23.0
grow_horizontal = 0
text = "Dbue
g
g
g
g
g
g
g
g
g
g
g
"
horizontal_alignment = 2
[node name="DialogueBox" parent="UI" node_paths=PackedStringArray("dialogue_label") instance=ExtResource("3_nsgok")]
visible = false
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -172.61873
offset_top = -71.0
offset_right = 172.61873
offset_bottom = 0.0
grow_horizontal = 2
grow_vertical = 0
script = ExtResource("6_kes38")
dialogue_label = NodePath("MarginContainer/DialogueLabel")
[node name="MarginContainer" type="MarginContainer" parent="UI/DialogueBox"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="DialogueLabel" type="RichTextLabel" parent="UI/DialogueBox/MarginContainer"]
layout_mode = 2
theme = ExtResource("1_1evs6")
text = "This is example dialogue!!"
[node name="HBoxContainer" type="HBoxContainer" parent="UI"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -83.5
offset_top = -63.0
offset_right = 83.5
offset_bottom = -23.0
grow_horizontal = 2
grow_vertical = 0
mouse_filter = 2
[node name="TextureProgressBar" type="TextureProgressBar" parent="UI/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
max_value = 1.0
step = 0.01
value = 1.0
texture_under = ExtResource("9_fl7ai")
texture_progress = ExtResource("10_iwd8l")
script = ExtResource("11_01h74")
[node name="HealthBar" type="TextureRect" parent="UI/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
texture = SubResource("AtlasTexture_dhpj7")
script = ExtResource("8_8fqmc")
[node name="SettingsMenu" parent="UI" node_paths=PackedStringArray("volume_slider", "fullscreen_check", "vsync_check") instance=ExtResource("3_nsgok")]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -100.5625
offset_top = -100.5625
offset_right = 100.5625
offset_bottom = 100.5625
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_1evs6")
axis_stretch_horizontal = 1
axis_stretch_vertical = 1
script = ExtResource("4_f4m0o")
volume_slider = NodePath("MarginContainer/VBoxContainer/HBoxContainer/Volume")
fullscreen_check = NodePath("MarginContainer/VBoxContainer/Fullscreen/CheckBox")
vsync_check = NodePath("MarginContainer/VBoxContainer/Vsync/CheckBox")
[node name="MarginContainer" type="MarginContainer" parent="UI/SettingsMenu"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_1evs6")
[node name="VBoxContainer" type="VBoxContainer" parent="UI/SettingsMenu/MarginContainer"]
layout_mode = 2
theme = ExtResource("1_1evs6")
[node name="HBoxContainer" type="HBoxContainer" parent="UI/SettingsMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Volume"
[node name="Volume" type="HSlider" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_1evs6")
max_value = 1.0
step = 0.01
tick_count = 5
ticks_on_borders = true
ticks_position = 3
[node name="Fullscreen" type="HBoxContainer" parent="UI/SettingsMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/Fullscreen"]
layout_mode = 2
size_flags_horizontal = 0
text = "Fullscreen"
[node name="CheckBox" type="CheckBox" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/Fullscreen"]
layout_mode = 2
size_flags_horizontal = 10
[node name="Vsync" type="HBoxContainer" parent="UI/SettingsMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/Vsync"]
layout_mode = 2
size_flags_horizontal = 0
text = "Vsync"
[node name="CheckBox" type="CheckBox" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/Vsync"]
layout_mode = 2
size_flags_horizontal = 10
[node name="Buttons" type="MarginContainer" parent="UI/SettingsMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 10
[node name="HBoxContainer2" type="HBoxContainer" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/Buttons"]
layout_mode = 2
size_flags_vertical = 10
[node name="ExitButton" type="Button" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/Buttons/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 0
text = "Exit"
script = ExtResource("12_14s75")
[node name="ContinueButton" type="Button" parent="UI/SettingsMenu/MarginContainer/VBoxContainer/Buttons/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 10
text = "Continue"
script = ExtResource("12_14s75")
[connection signal="value_changed" from="UI/SettingsMenu/MarginContainer/VBoxContainer/HBoxContainer/Volume" to="UI/SettingsMenu" method="_on_volume_changed"]
[connection signal="toggled" from="UI/SettingsMenu/MarginContainer/VBoxContainer/Fullscreen/CheckBox" to="UI/SettingsMenu" method="_on_fullscreen_toggled"]
[connection signal="toggled" from="UI/SettingsMenu/MarginContainer/VBoxContainer/Vsync/CheckBox" to="UI/SettingsMenu" method="_on_vsync_toggled"]
[connection signal="pressed" from="UI/SettingsMenu/MarginContainer/VBoxContainer/Buttons/HBoxContainer2/ExitButton" to="UI/SettingsMenu" method="_on_exit_button_pressed"]
[connection signal="pressed" from="UI/SettingsMenu/MarginContainer/VBoxContainer/Buttons/HBoxContainer2/ContinueButton" to="UI/SettingsMenu" method="_on_continue_button_pressed"]