Add ugly menu

This commit is contained in:
Vojtěch Struhár 2025-02-12 10:38:17 +01:00
parent e489469119
commit 013f01d401
7 changed files with 137 additions and 52 deletions

15
NOTES.md Normal file
View File

@ -0,0 +1,15 @@
# DP Konzultace 1
- 11.2.2024
## Poznámky k implementaci
### 5 roomka
- Portál který vidím skrz jiný portál se NEVYPNE, ale vidí scénu z nějakého uplně pošahaného
venkovního úhlu. Protože reálně jsem od něj mega daleko, takže portálová kamera je taky daleko.
### Island level
- Dolní collider jsem musel hodně zvětšit aby skrz něj hráč neproletěl během 1 physics framu

View File

@ -1,9 +1,10 @@
[gd_scene load_steps=11 format=3 uid="uid://c0uk51mh24sl6"]
[gd_scene load_steps=13 format=3 uid="uid://c0uk51mh24sl6"]
[ext_resource type="PackedScene" uid="uid://cjd40tsurltut" path="res://addons/platformer-assets/block-grass-large.glb" id="1_1wwjl"]
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="3_7knre"]
[ext_resource type="PackedScene" uid="uid://c6u7a7bisra5b" path="res://addons/platformer-assets/flowers.glb" id="3_qvh7i"]
[ext_resource type="PackedScene" uid="uid://2oao5c24w74u" path="res://addons/platformer-assets/grass.glb" id="4_wg85y"]
[ext_resource type="PackedScene" uid="uid://btdarsbrym1d4" path="res://addons/platformer-assets/flag.glb" id="5_r0or3"]
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="5_wg85y"]
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="6_3fidx"]
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="7_hwdx8"]
@ -17,7 +18,10 @@ glow_enabled = true
size = Vector3(2, 1, 2)
[sub_resource type="BoxShape3D" id="BoxShape3D_2wcgd"]
size = Vector3(2, 2.5, 0.2)
size = Vector3(2, 2.5, 8.79824)
[sub_resource type="ViewportTexture" id="ViewportTexture_hwdx8"]
viewport_path = NodePath("SubViewport")
[node name="Main" type="Node3D"]
@ -34,6 +38,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.84696, 1.60873, -1.16561)
[node name="Island" type="Node3D" parent="."]
[node name="block-grass-large2" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 5)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large2"]
@ -42,7 +47,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large3" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 5)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large3"]
@ -51,7 +56,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large4" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 3)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large4"]
@ -60,7 +65,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large5" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -2)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 3)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large5"]
@ -69,7 +74,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large6" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 5)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large6"]
@ -78,7 +83,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large7" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 5)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large7"]
@ -87,7 +92,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large8" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -2)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 3)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large8"]
@ -96,7 +101,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large9" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -2)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 3)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large9"]
@ -105,7 +110,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large10" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 1)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large10"]
@ -114,7 +119,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large11" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -4)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 1)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large11"]
@ -123,7 +128,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large12" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -4)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large12"]
@ -132,7 +137,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large13" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -4)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 1)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large13"]
@ -141,7 +146,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large14" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -1)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large14"]
@ -150,7 +155,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large15" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -6)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -1)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large15"]
@ -159,7 +164,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large16" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -3)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large16"]
@ -168,7 +173,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large17" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -8)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large17"]
@ -177,7 +182,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large18" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -6)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -1)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large18"]
@ -186,7 +191,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large19" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -6)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -1)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large19"]
@ -195,7 +200,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large20" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -8)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -3)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large20"]
@ -204,7 +209,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large21" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -8)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -3)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large21"]
@ -213,7 +218,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large22" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -5)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large22"]
@ -222,7 +227,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large23" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -10)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -5)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large23"]
@ -231,7 +236,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large24" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -10)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -5)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large24"]
@ -240,7 +245,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large25" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -10)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -5)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large25"]
@ -249,52 +254,65 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="flowers" parent="Island" instance=ExtResource("3_qvh7i")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.683421, 1, -0.22983)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.31658, 1, 4.77017)
[node name="flowers2" parent="Island" instance=ExtResource("3_qvh7i")]
transform = Transform3D(0.82088, 0, -0.5711, 0, 1, 0, 0.5711, 0, 0.82088, 5.6032, 1, -2.39323)
transform = Transform3D(0.82088, 0, -0.5711, 0, 1, 0, 0.5711, 0, 0.82088, 2.6032, 1, 2.60677)
[node name="grass2" parent="Island" instance=ExtResource("4_wg85y")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.443156, 1, -4.40125)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.44316, 1, 0.59875)
[node name="P_white_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
transform = Transform3D(20, 0, 0, 0, -8.74228e-07, 1, 0, -20, -4.37114e-08, 0, -15, 0)
[node name="flag2" parent="Island" instance=ExtResource("5_r0or3")]
transform = Transform3D(-0.896199, 0, 3.34466, 0, 3.46265, 0, -3.34466, 0, -0.896199, -3.34096, 1, -5.4095)
[node name="P_bottom" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
transform = Transform3D(-20, -1.74846e-06, -3.82137e-15, 0, -8.74228e-07, 1, -1.74846e-06, 20, 4.37114e-08, 0, -15, 0)
layers = 2
cast_shadow = 0
mesh = ExtResource("7_hwdx8")
script = ExtResource("5_wg85y")
disable_viewport_distance = 100.0
vertical_viewport_resolution = 1080
disable_viewport_distance = 55.0
destroy_disabled_viewport = false
fade_out_distance_max = 100.0
fade_out_distance_min = 90.0
fade_out_color = Color(1, 0, 1, 1)
fade_out_distance_max = 30.0
fade_out_distance_min = 28.0
fade_out_color = Color(0.590126, 0.615058, 0.699408, 1)
exit_cull_mask = 1048573
exit_portal = NodePath("../P_green_short")
exit_portal = NodePath("../P_top")
[node name="Teleport" type="Area3D" parent="P_white_wide"]
[node name="Teleport" type="Area3D" parent="P_bottom"]
script = ExtResource("6_3fidx")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_white_wide/Teleport"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_bottom/Teleport"]
transform = Transform3D(1, 0, 0, 0, 1, -2.88658e-14, 0, 7.16227e-12, 1, 0, -3.55271e-15, -4.39912)
shape = SubResource("BoxShape3D_2wcgd")
[node name="P_green_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
transform = Transform3D(-8.74228e-07, -20, 4.80825e-08, 0, -8.74228e-07, -1.1, 20, -8.74228e-07, 2.10175e-15, 0, 15, 0)
[node name="P_top" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
transform = Transform3D(20, 0, 0, 0, -8.74228e-07, -1.1, 0, 20, -4.80825e-08, 0, 15, 0)
layers = 2
cast_shadow = 0
mesh = ExtResource("7_hwdx8")
script = ExtResource("5_wg85y")
disable_viewport_distance = 100.0
vertical_viewport_resolution = 1080
disable_viewport_distance = 55.0
destroy_disabled_viewport = false
fade_out_distance_max = 100.0
fade_out_distance_min = 90.0
fade_out_color = Color(1, 0, 1, 1)
fade_out_distance_max = 50.0
fade_out_distance_min = 40.0
fade_out_color = Color(0.590126, 0.615058, 0.699408, 1)
exit_cull_mask = 1048573
exit_portal = NodePath("../P_white_wide")
exit_portal = NodePath("../P_bottom")
[node name="Teleport" type="Area3D" parent="P_green_short"]
script = ExtResource("6_3fidx")
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(512, 288)
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_short/Teleport"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
shape = SubResource("BoxShape3D_2wcgd")
[node name="Camera3D" type="Camera3D" parent="SubViewport"]
transform = Transform3D(-0.00436047, 0.491726, -0.870739, 0, 0.870747, 0.491731, 0.999991, 0.00214418, -0.00379687, -34.9621, 17.276, -0.665714)
fov = 52.5
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
visible = false
offset_right = 512.0
offset_bottom = 288.0
texture = SubResource("ViewportTexture_hwdx8")

10
menu.gd Normal file
View File

@ -0,0 +1,10 @@
extends Control
const LEVEL_5_ROOMS = preload("res://level_5rooms.tscn")
const LEVEL_PLATFORMER = preload("res://level_platformer.tscn")
func _on_level_button_1_pressed() -> void:
get_tree().change_scene_to_packed(LEVEL_5_ROOMS)
func _on_level_button_2_pressed() -> void:
get_tree().change_scene_to_packed(LEVEL_PLATFORMER)

1
menu.gd.uid Normal file
View File

@ -0,0 +1 @@
uid://cxh40jp4vov4d

42
menu.tscn Normal file
View File

@ -0,0 +1,42 @@
[gd_scene load_steps=2 format=3 uid="uid://cim3ul77o0ipr"]
[ext_resource type="Script" uid="uid://cxh40jp4vov4d" path="res://menu.gd" id="1_lti8b"]
[node name="Menu" 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_lti8b")
[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ItemsContainer" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="CenterContainer/ItemsContainer"]
layout_mode = 2
text = "Portals Demo"
horizontal_alignment = 1
[node name="HSeparator" type="HSeparator" parent="CenterContainer/ItemsContainer"]
layout_mode = 2
[node name="LevelButton_1" type="Button" parent="CenterContainer/ItemsContainer"]
layout_mode = 2
text = "Square rooms"
[node name="LevelButton_2" type="Button" parent="CenterContainer/ItemsContainer"]
layout_mode = 2
text = "Platformer"
[connection signal="pressed" from="CenterContainer/ItemsContainer/LevelButton_1" to="." method="_on_level_button_1_pressed"]
[connection signal="pressed" from="CenterContainer/ItemsContainer/LevelButton_2" to="." method="_on_level_button_2_pressed"]

View File

@ -7,7 +7,6 @@ const JUMP_VELOCITY = 4.5
const MOUSE_SENSITIVITY = 0.005
func _ready() -> void:
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED

View File

@ -11,7 +11,7 @@ config_version=5
[application]
config/name="DP Konzultace"
run/main_scene="uid://dpatwnepecl8r"
run/main_scene="uid://cim3ul77o0ipr"
config/features=PackedStringArray("4.4", "Forward Plus")
config/icon="res://icon.svg"