breadwinner/scenes/player/in_game_menu.tscn
Balogh Krisztián 0ddbcf7744 major refactor + concept
- refactored the main player controller script into smaller components for readability
- refactored the file structure and added folder coloring
- added lore and concept for future reference
2026-07-29 00:05:40 +02:00

49 lines
1.5 KiB
Text

[gd_scene format=3 uid="uid://y5f3db7clptv"]
[ext_resource type="Script" uid="uid://d0g3mdq54p7oh" path="res://scenes/player/in_game_menu_manager.gd" id="1_s4bu6"]
[ext_resource type="Shader" uid="uid://desjwy54cjos8" path="res://shaders/blur_shader.gdshader" id="1_x6hgt"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_yf5fn"]
shader = ExtResource("1_x6hgt")
shader_parameter/blur_amount = 2.5
[node name="InGameMenu" type="Control" unique_id=1952418949]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_s4bu6")
[node name="Panel" type="Panel" parent="." unique_id=501811587]
material = SubResource("ShaderMaterial_yf5fn")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="." unique_id=1893717599]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.2
anchor_right = 0.7
anchor_bottom = 0.6
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="AspectRatioContainer" unique_id=1878750362]
layout_mode = 2
[node name="Options" type="Button" parent="AspectRatioContainer/VBoxContainer" unique_id=1588767106]
layout_mode = 2
text = "Options"
[node name="Exit" type="Button" parent="AspectRatioContainer/VBoxContainer" unique_id=1958391122]
layout_mode = 2
text = "Exit"
[connection signal="pressed" from="AspectRatioContainer/VBoxContainer/Exit" to="." method="_on_exit_pressed"]