feat: visual level adjustments

This commit is contained in:
Sara Gerretsen 2026-01-29 16:14:49 +01:00
parent c53058fb46
commit dd6a639eb1
5 changed files with 6 additions and 1476 deletions

View file

@ -1,9 +1,9 @@
[gd_scene load_steps=2 format=3 uid="uid://dti7d1rslmhgp"] [gd_scene format=3 uid="uid://dti7d1rslmhgp"]
[sub_resource type="GDScript" id="GDScript_kvqlu"] [sub_resource type="GDScript" id="GDScript_kvqlu"]
script/source = "extends Control script/source = "extends Control
@onready var next_scene := preload(\"res://maps/game.tscn\") @onready var next_scene := preload(\"res://maps/game.scn\")
func _ready(): func _ready():
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
@ -12,7 +12,7 @@ func _on_start_button_pressed() -> void:
get_tree().change_scene_to_packed.call_deferred(next_scene) get_tree().change_scene_to_packed.call_deferred(next_scene)
" "
[node name="MainMenu" type="Control"] [node name="MainMenu" type="Control" unique_id=1132875586]
layout_mode = 3 layout_mode = 3
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@ -21,7 +21,7 @@ grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
script = SubResource("GDScript_kvqlu") script = SubResource("GDScript_kvqlu")
[node name="CenterContainer" type="CenterContainer" parent="."] [node name="CenterContainer" type="CenterContainer" parent="." unique_id=1899341646]
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@ -29,10 +29,10 @@ anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"] [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer" unique_id=1514750426]
layout_mode = 2 layout_mode = 2
[node name="StartButton" type="Button" parent="CenterContainer/VBoxContainer"] [node name="StartButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=856435673]
layout_mode = 2 layout_mode = 2
text = "Start" text = "Start"

BIN
project/maps/game.scn Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long