rendering fixes and menu

This commit is contained in:
2025-10-15 00:18:23 +02:00
parent ea63279633
commit 283e3cbb5a
21 changed files with 338 additions and 65 deletions

View File

@@ -0,0 +1,35 @@
[gd_scene load_steps=2 format=3 uid="uid://dgq21ggr3br2g"]
[ext_resource type="Script" uid="uid://bfgqkpn60hhwj" path="res://scripts/menus/main_menu.gd" id="1_xqga4"]
[node name="MainMenu" 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_xqga4")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
[node name="Button" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 8
text = "Start"
[node name="MenuSlot" type="CanvasLayer" parent="."]
[connection signal="pressed" from="VBoxContainer/Button" to="." method="_on_start_button_pressed"]

View File

@@ -0,0 +1,12 @@
[gd_scene load_steps=2 format=3 uid="uid://cd657k2lc3gyc"]
[ext_resource type="Script" uid="uid://cs1ylnivyrbc2" path="res://scripts/menus/profile_creator.gd" id="1_4xjd5"]
[node name="ProfileCreator" 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_4xjd5")