diff --git a/.gitignore b/.gitignore index 8d4ddfd..64f7319 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ +# PROLUZ specific ignores +Exports/ + + # Godot 4+ specific ignores .godot/ /android/ -Exports +Trash/ diff --git a/InstrumentSans-Italic-VariableFont_wdth,wght.ttf.import b/InstrumentSans-Italic-VariableFont_wdth,wght.ttf.import index 2051cfd..8538fde 100644 --- a/InstrumentSans-Italic-VariableFont_wdth,wght.ttf.import +++ b/InstrumentSans-Italic-VariableFont_wdth,wght.ttf.import @@ -2,7 +2,7 @@ importer="font_data_dynamic" type="FontFile" -uid="uid://c0deno8y61t32" +uid="uid://dsgbhej3kmxkm" path="res://.godot/imported/InstrumentSans-Italic-VariableFont_wdth,wght.ttf-3da43071b972ad7fffdc3c068311e047.fontdata" [deps] diff --git a/InstrumentSans-VariableFont_wdth,wght.ttf.import b/InstrumentSans-VariableFont_wdth,wght.ttf.import index e19dc58..19b97c9 100644 --- a/InstrumentSans-VariableFont_wdth,wght.ttf.import +++ b/InstrumentSans-VariableFont_wdth,wght.ttf.import @@ -2,7 +2,7 @@ importer="font_data_dynamic" type="FontFile" -uid="uid://rswq6vrwr2nx" +uid="uid://cfk3fgwuhngcw" path="res://.godot/imported/InstrumentSans-VariableFont_wdth,wght.ttf-b2433b142cf6031f64aaf2de88699e1f.fontdata" [deps] diff --git a/InstrumentSerif-Italic.ttf.import b/InstrumentSerif-Italic.ttf.import index 1359302..6a176dc 100644 --- a/InstrumentSerif-Italic.ttf.import +++ b/InstrumentSerif-Italic.ttf.import @@ -2,7 +2,7 @@ importer="font_data_dynamic" type="FontFile" -uid="uid://dhn2iwihgai4c" +uid="uid://csg0b0d5pmx2m" path="res://.godot/imported/InstrumentSerif-Italic.ttf-bd90659153ae8d4aedbe7c1b02a78249.fontdata" [deps] diff --git a/InstrumentSerif-Regular.ttf.import b/InstrumentSerif-Regular.ttf.import index 2578283..2687f23 100644 --- a/InstrumentSerif-Regular.ttf.import +++ b/InstrumentSerif-Regular.ttf.import @@ -2,7 +2,7 @@ importer="font_data_dynamic" type="FontFile" -uid="uid://bulwhh7xjiip0" +uid="uid://bov4yqgsjbgm5" path="res://.godot/imported/InstrumentSerif-Regular.ttf-b87f4977a56bc3c53a6f935dc4b42962.fontdata" [deps] diff --git a/Level_Core.tscn b/Level_Core.tscn index 359c94b..4e3a745 100644 --- a/Level_Core.tscn +++ b/Level_Core.tscn @@ -3,16 +3,16 @@ [ext_resource type="Script" uid="uid://bpj62lqejp32d" path="res://main.gd" id="1_fwt2i"] [ext_resource type="PackedScene" uid="uid://bs6yq6gy7k2sb" path="res://player.tscn" id="1_lsi31"] [ext_resource type="Shape3D" uid="uid://30um6cm5oj6q" path="res://wall_cwt.tres" id="2_7sds5"] -[ext_resource type="FontFile" uid="uid://rswq6vrwr2nx" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="2_fq2vn"] +[ext_resource type="FontFile" uid="uid://cfk3fgwuhngcw" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="2_fq2vn"] [ext_resource type="Texture2D" uid="uid://dyl3l77lgdjfe" path="res://addons/kenney_prototype_textures/purple/texture_01.png" id="2_gp22r"] [ext_resource type="PackedScene" uid="uid://daoyebc0vm7sd" path="res://pause_menu.tscn" id="3_i8tni"] [ext_resource type="Shape3D" uid="uid://ck3ryefc358gp" path="res://wall_ncwt.tres" id="3_n0qnv"] [ext_resource type="Material" uid="uid://ca7djd5dag6ny" path="res://checkpoint.tres" id="5_27422"] [ext_resource type="Texture2D" uid="uid://d15530ei26qvv" path="res://addons/kenney_prototype_textures/purple/texture_02.png" id="5_r3eyv"] [ext_resource type="Texture2D" uid="uid://bg3acux3c10o6" path="res://addons/kenney_prototype_textures/dark/texture_13.png" id="6_qbfpe"] -[ext_resource type="FontFile" uid="uid://bulwhh7xjiip0" path="res://InstrumentSerif-Regular.ttf" id="8_o5bhp"] -[ext_resource type="FontFile" uid="uid://dhn2iwihgai4c" path="res://InstrumentSerif-Italic.ttf" id="10_o66vw"] -[ext_resource type="FontFile" uid="uid://c0deno8y61t32" path="res://InstrumentSans-Italic-VariableFont_wdth,wght.ttf" id="12_2uy0w"] +[ext_resource type="FontFile" uid="uid://bov4yqgsjbgm5" path="res://InstrumentSerif-Regular.ttf" id="8_o5bhp"] +[ext_resource type="FontFile" uid="uid://csg0b0d5pmx2m" path="res://InstrumentSerif-Italic.ttf" id="10_o66vw"] +[ext_resource type="FontFile" uid="uid://dsgbhej3kmxkm" path="res://InstrumentSans-Italic-VariableFont_wdth,wght.ttf" id="12_2uy0w"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_rv2mx"] sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1) @@ -240,7 +240,7 @@ visible = false shape = ExtResource("3_n0qnv") [node name="MeshInstance3D94" type="MeshInstance3D" parent="."] -transform = Transform3D(0.998721, 0.0357499, 0.0178749, -1.57275e-08, 0.707107, -0.353553, -0.050558, 0.706203, 0.353101, -118.096, 20.391, 2.58359) +transform = Transform3D(0.809017, 0.415627, 0.207813, -1.57275e-08, 0.707107, -0.353553, -0.587785, 0.572062, 0.286031, -118.096, 20.391, -0.849082) mesh = SubResource("PlaneMesh_rv2mx") skeleton = NodePath("../MeshInstance3D") @@ -2097,11 +2097,7 @@ outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) text = "This here? It's a cut off path. (like a chromosome mutation). And if you think you can jump over it, It is with deep regret that I have to tell you that you're wrong on that. Jumping is disabled, although you can try and walk through the -invibisility? -- -Dies hier? Ist ein Pfad mit fehlenden Abschnitt. (möglicherweise Chromosomen-Mutation). -Glaubst du dass du hier gumpen kannst? Nein, kannst du nicht. -Aber, versuche mal auf das unsichtbare zu laufen..." +invisibility?" font = ExtResource("2_fq2vn") [node name="Label3D11" type="Label3D" parent="."] @@ -2177,7 +2173,7 @@ text = "end" font = ExtResource("2_fq2vn") [node name="Label3D22" type="Label3D" parent="."] -transform = Transform3D(0.031202, 0, 0.999515, 0, 0.999999, 0, -0.999512, 0, 0.0312013, -3.92109, 21.1992, -2.22603) +transform = Transform3D(0.031202, 0, 0.999515, 0, 0.999999, 0, -0.999512, 0, 0.0312013, -3.92109, 21.1992, -5.01405) offset = Vector2(1, 0) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) @@ -2192,11 +2188,6 @@ transform = Transform3D(0.125091, 0, 0.992147, 0, 0.999999, 0, -0.992144, 0, 0.1 offset = Vector2(1, 0) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "Erinnerst du dich zufällig an die Wand am Anfang des Levels, -die aus einer anderen Perspektive verschwunden ist? -Fallenwände funktionieren mit ähnlichen Mechanismen. -Du musst also versuchen, die Fragen richtig zu beantworten, -indem du durch die richtige Wand gehst." font = ExtResource("2_fq2vn") [node name="Label3D31" type="Label3D" parent="."] @@ -2206,12 +2197,7 @@ modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) text = "The test level is basically over, so try to complete this station with everything you've learnt so far! -(Hint: try to walk through here) ------ -Dieses Test-Level ist eigentlich jetzt schon vorbei. -Versuche diese Station zu lösen, mit alles, das du -bis jetzt gelernt hast. (noch ein Tipp: versuche -hier durch zu laufen.)" +(Hint: try to walk through here)" font = ExtResource("2_fq2vn") [node name="Label3D37" type="Label3D" parent="."] @@ -2219,10 +2205,7 @@ transform = Transform3D(-0.0219028, 0, -0.999762, 0, 0.999999, 0, 0.999759, 0, - offset = Vector2(1, 0) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "Try to look around you for platforms you can try going through ------ -Versuche Plattformen zu finden die dir bei der Navigation hilfreich -sein könnten" +text = "Try to look around you for platforms you can try going through" font = ExtResource("2_fq2vn") [node name="Label3D13" type="Label3D" parent="."] @@ -2241,28 +2224,6 @@ font = ExtResource("2_fq2vn") font_size = 64 outline_size = 24 -[node name="MeshInstance3D101" type="MeshInstance3D" parent="."] -transform = Transform3D(-3.49691e-08, -1, -1.31134e-08, 0, -4.37114e-08, 0.3, -0.8, 4.37114e-08, 5.73206e-16, -23.2791, 12, 10.0294) -mesh = SubResource("PlaneMesh_rv2mx") -skeleton = NodePath("../MeshInstance3D") -surface_material_override/0 = ExtResource("5_27422") - -[node name="Label3D32" type="Label3D" parent="."] -transform = Transform3D(-4.37113e-08, 0, -1, 0, 1, 0, 0.999999, 0, -4.37115e-08, -23.5412, 12, 10) -offset = Vector2(1, 0) -modulate = Color(0.943031, 0.787658, 0.994854, 1) -outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "In dieser Station musst du mathematische -Aufgaben lösen, und die richtige Antwort auswählen. -Wenn eine Antwort falsch ist, dann musst -du die Station wiederholen. In dieser Station -lernst du auch, wie man auf diagonale Ebenen läuft -indem man sich vorwärts bewegt, währenddem man -sich auch gleichzeitig zur höheren Seite bewegt." -font = ExtResource("2_fq2vn") -font_size = 64 -outline_size = 24 - [node name="Label3D36" type="Label3D" parent="."] transform = Transform3D(-0.0240134, 0.999712, 4.36988e-08, -2.21834e-16, -4.37114e-08, 1, 0.999711, 0.0240134, 1.04966e-09, -12.3535, -9.39376, 9.30766) offset = Vector2(1, 0) @@ -2288,9 +2249,7 @@ transform = Transform3D(0.0271902, -0.685056, 0.727983, 0.025569, 0.728491, 0.68 offset = Vector2(1, 0) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "What has a ring, but no finger? ------ -Was hat einen Ring, dafür aber keinen Finger?" +text = "What has a ring, but no finger?" font = ExtResource("2_fq2vn") font_size = 64 outline_size = 24 @@ -2458,7 +2417,7 @@ transform = Transform3D(-4.37113e-08, 0, 1, 0, 1, 0, -0.999999, 0, -4.37114e-08, offset = Vector2(1, 0) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "Telefon/Telephone" +text = "Telefon" font = ExtResource("2_fq2vn") font_size = 128 outline_size = 48 @@ -2684,9 +2643,7 @@ transform = Transform3D(0.0271902, -0.685056, 0.727983, 0.025569, 0.728491, 0.68 offset = Vector2(1, 0) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "What comes once in a minute, twice in a moment, but never in a thousand years? ------ -Was kommt einmal in einer Minute, zweimal in einem Moment aber nie in tausend Jahren?" +text = "What comes once in a minute, twice in a moment, but never in a thousand years?" font = ExtResource("2_fq2vn") font_size = 64 outline_size = 24 @@ -2718,31 +2675,7 @@ modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) text = "The wall that used to be here now disappears, at least if you look at it from a different perspective. -You can even try walking through it! -- -Die Wand, die vorhin hier stand, ist nicht mehr hier. -Zumindest, wenn man es aus einer anderer Sicht anschaut. -Du kannst sogar mal versuchen, durch zu laufen" -font = ExtResource("2_fq2vn") - -[node name="Label3D3" type="Label3D" parent="."] -transform = Transform3D(0.971861, -0.161859, -0.171136, 0.212847, 0.914655, 0.34366, 0.100906, -0.370415, 0.923369, 0.568496, 0.970887, 0.103196) -offset = Vector2(1, 0) -modulate = Color(0.943031, 0.787658, 0.994854, 1) -outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "Drücke W um dich vorwärts zu bewegen -Drücke A um nach links zu bewegen -Drücke S um dich rückwarts zu bewegen -Drücke D um nach rechts zu bewegen" -font = ExtResource("2_fq2vn") - -[node name="Label3D4" type="Label3D" parent="."] -transform = Transform3D(0.840144, -0.185681, 0.509588, -0.0870775, 0.881203, 0.464649, -0.535327, -0.434746, 0.724169, -1.7922, 0.550958, 0.267265) -offset = Vector2(1, 0) -modulate = Color(0.943031, 0.787658, 0.994854, 1) -outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "Nutze die Maus um die -Kamera zu bewegen" +You can even try walking through it!" font = ExtResource("2_fq2vn") [node name="Label3D" type="Label3D" parent="."] @@ -2769,8 +2702,7 @@ font = ExtResource("2_fq2vn") transform = Transform3D(0.981249, -0.168665, 0.093287, 0.135956, 0.948748, 0.285296, -0.136625, -0.267264, 0.953889, -0.308552, 1.50331, -7.61301) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "To pause the game, press Escape -Um das Spiel zu pausieren, drücke Escape" +text = "To pause the game, press Escape" font = ExtResource("2_fq2vn") [node name="Label3D8" type="Label3D" parent="."] @@ -2778,9 +2710,7 @@ transform = Transform3D(0.940367, 0.267816, 0.209726, -0.311519, 0.925659, 0.214 modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) text = "If you're stuck, press Shift+R to -spawn at last checkpoint -Wenn du stecken bleibst, drück Shift+R -um beim letzten Checkpoint wieder zu erscheinen" +spawn at last checkpoint" font = ExtResource("2_fq2vn") [node name="Label3D6" type="Label3D" parent="."] @@ -2816,21 +2746,21 @@ layout_mode = 2 [node name="Label_Station" type="Label" parent="HUD/HBoxContainer/VBoxContainer"] layout_mode = 2 -text = "FEHLER BEIM LADEN" +text = "ERROR LOADING" label_settings = SubResource("LabelSettings_qbfpe") [node name="Label_Controls" type="Label" parent="HUD/HBoxContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 1 text = "esc - pause -shift+r - back to checkpoint/Zurück zum Checkpoint -f5 - restart level/Level neu starten" +shift+r - back to checkpoint +f5 - restart level" label_settings = SubResource("LabelSettings_27422") [node name="Label_Controls2" type="Label" parent="HUD/HBoxContainer/VBoxContainer"] layout_mode = 2 -text = "Wenn du dies siehst, wurde das Code nicht richtig geladen. -Versuche, das Spiel neu zu starten." +text = "if you see this, the game failed to load the code correctly. +in this case, please restart the game" label_settings = SubResource("LabelSettings_27422") [node name="HBoxContainer2" type="HBoxContainer" parent="HUD"] diff --git a/Level_Example.tscn b/Level_Example.tscn new file mode 100644 index 0000000..370d985 --- /dev/null +++ b/Level_Example.tscn @@ -0,0 +1,124 @@ +[gd_scene load_steps=16 format=3 uid="uid://uolufy8ucws4"] + +[ext_resource type="Script" uid="uid://bpj62lqejp32d" path="res://main.gd" id="1_l3h3d"] +[ext_resource type="Shape3D" uid="uid://ck3ryefc358gp" path="res://wall_ncwt.tres" id="4_agw2m"] +[ext_resource type="Texture2D" uid="uid://d15530ei26qvv" path="res://addons/kenney_prototype_textures/purple/texture_02.png" id="6_wh1he"] +[ext_resource type="PackedScene" uid="uid://bs6yq6gy7k2sb" path="res://player.tscn" id="8_cr84h"] +[ext_resource type="FontFile" uid="uid://csg0b0d5pmx2m" path="res://InstrumentSerif-Italic.ttf" id="11_h6ypg"] +[ext_resource type="FontFile" uid="uid://dsgbhej3kmxkm" path="res://InstrumentSans-Italic-VariableFont_wdth,wght.ttf" id="12_wa7vp"] +[ext_resource type="PackedScene" uid="uid://daoyebc0vm7sd" path="res://pause_menu.tscn" id="13_sbrf7"] + +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_rv2mx"] +sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1) +ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1) + +[sub_resource type="Sky" id="Sky_lsi31"] +sky_material = SubResource("ProceduralSkyMaterial_rv2mx") + +[sub_resource type="Environment" id="Environment_fq2vn"] +background_mode = 1 +background_color = Color(0.592153, 0.439631, 0.851984, 1) +sky = SubResource("Sky_lsi31") +tonemap_mode = 2 +glow_enabled = true + +[sub_resource type="LabelSettings" id="LabelSettings_qbfpe"] +font = ExtResource("11_h6ypg") +font_size = 75 +font_color = Color(0.941176, 0.788235, 0.996078, 1) +outline_size = 10 +outline_color = Color(0, 0, 0, 1) +shadow_size = 16 +shadow_color = Color(0.180005, 0.180005, 0.180005, 0.647059) + +[sub_resource type="LabelSettings" id="LabelSettings_27422"] +font = ExtResource("12_wa7vp") +font_size = 22 +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="LabelSettings" id="LabelSettings_2uy0w"] +font = ExtResource("12_wa7vp") +font_size = 38 +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qyexb"] +albedo_texture = ExtResource("6_wh1he") + +[sub_resource type="PlaneMesh" id="PlaneMesh_ulki5"] +size = Vector2(10, 10) + +[node name="LevelCore" type="Node3D"] +script = ExtResource("1_l3h3d") + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource("Environment_fq2vn") + +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] +transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0) +shadow_enabled = true + +[node name="Player" parent="." instance=ExtResource("8_cr84h")] +unique_name_in_owner = true +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) +top_level = true +linear_damp = 3.0 + +[node name="HUD" type="MarginContainer" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_constants/margin_left = 50 +theme_override_constants/margin_top = 50 +theme_override_constants/margin_right = 50 +theme_override_constants/margin_bottom = 50 + +[node name="HBoxContainer" type="HBoxContainer" parent="HUD"] +layout_mode = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="HUD/HBoxContainer"] +layout_mode = 2 + +[node name="Label_Station" type="Label" parent="HUD/HBoxContainer/VBoxContainer"] +layout_mode = 2 +text = "ERROR LOADING" +label_settings = SubResource("LabelSettings_qbfpe") + +[node name="Label_Controls" type="Label" parent="HUD/HBoxContainer/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 1 +text = "esc - pause +shift+r - back to checkpoint +f5 - restart level" +label_settings = SubResource("LabelSettings_27422") + +[node name="Label_Controls2" type="Label" parent="HUD/HBoxContainer/VBoxContainer"] +layout_mode = 2 +text = "if you see this, the game failed to load the code correctly. +in this case, please restart the game" +label_settings = SubResource("LabelSettings_27422") + +[node name="HBoxContainer2" type="HBoxContainer" parent="HUD"] +layout_mode = 2 + +[node name="Label_Health" type="Label" parent="HUD/HBoxContainer2"] +layout_mode = 2 +size_flags_vertical = 8 +text = "[||||||||||]" +label_settings = SubResource("LabelSettings_2uy0w") +vertical_alignment = 2 + +[node name="PauseMenu" parent="." instance=ExtResource("13_sbrf7")] +visible = false + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +material_override = SubResource("StandardMaterial3D_qyexb") +mesh = SubResource("PlaneMesh_ulki5") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"] +shape = ExtResource("4_agw2m") diff --git a/ProjektLuzidLogo.png.import b/ProjektLuzidLogo.png.import index 016bcfa..0c05369 100644 --- a/ProjektLuzidLogo.png.import +++ b/ProjektLuzidLogo.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://0hcyy1njk5tu" +uid="uid://bda13se7hqblo" path="res://.godot/imported/ProjektLuzidLogo.png-2fb04efa1a6e4a71c5850f10cac84350.ctex" metadata={ "vram_texture": false diff --git a/ProjektLuzidLogo.svg.import b/ProjektLuzidLogo.svg.import index cb51435..5137f18 100644 --- a/ProjektLuzidLogo.svg.import +++ b/ProjektLuzidLogo.svg.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://fad7xr2jj2nu" +uid="uid://clnhbd4dggxmo" path="res://.godot/imported/ProjektLuzidLogo.svg-6b4418cd7d6827c99660ac42e54c65e6.ctex" metadata={ "vram_texture": false diff --git a/Screenshot From 2025-03-17 14-25-26.png.import b/Screenshot From 2025-03-17 14-25-26.png.import index a89468b..a5c3df8 100644 --- a/Screenshot From 2025-03-17 14-25-26.png.import +++ b/Screenshot From 2025-03-17 14-25-26.png.import @@ -2,28 +2,26 @@ importer="texture" type="CompressedTexture2D" -uid="uid://btbycsdclf56y" -path.s3tc="res://.godot/imported/Screenshot From 2025-03-17 14-25-26.png-0164230af794a0770dffad19630b8b58.s3tc.ctex" -path.etc2="res://.godot/imported/Screenshot From 2025-03-17 14-25-26.png-0164230af794a0770dffad19630b8b58.etc2.ctex" +uid="uid://bkg747pfvhk2v" +path="res://.godot/imported/Screenshot From 2025-03-17 14-25-26.png-0164230af794a0770dffad19630b8b58.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://Screenshot From 2025-03-17 14-25-26.png" -dest_files=["res://.godot/imported/Screenshot From 2025-03-17 14-25-26.png-0164230af794a0770dffad19630b8b58.s3tc.ctex", "res://.godot/imported/Screenshot From 2025-03-17 14-25-26.png-0164230af794a0770dffad19630b8b58.etc2.ctex"] +dest_files=["res://.godot/imported/Screenshot From 2025-03-17 14-25-26.png-0164230af794a0770dffad19630b8b58.ctex"] [params] -compress/mode=2 +compress/mode=0 compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=true +mipmaps/generate=false mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" @@ -33,4 +31,4 @@ process/normal_map_invert_y=false process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 -detect_3d/compress_to=0 +detect_3d/compress_to=1 diff --git a/Screenshot From 2025-04-21 22-03-57.png.import b/Screenshot From 2025-04-21 22-03-57.png.import index baae557..578b9b2 100644 --- a/Screenshot From 2025-04-21 22-03-57.png.import +++ b/Screenshot From 2025-04-21 22-03-57.png.import @@ -2,28 +2,26 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dmifch7igyyqd" -path.s3tc="res://.godot/imported/Screenshot From 2025-04-21 22-03-57.png-2d437e5fbd8016f82332b3f6543292dd.s3tc.ctex" -path.etc2="res://.godot/imported/Screenshot From 2025-04-21 22-03-57.png-2d437e5fbd8016f82332b3f6543292dd.etc2.ctex" +uid="uid://4ya2p6mexdtx" +path="res://.godot/imported/Screenshot From 2025-04-21 22-03-57.png-2d437e5fbd8016f82332b3f6543292dd.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://Screenshot From 2025-04-21 22-03-57.png" -dest_files=["res://.godot/imported/Screenshot From 2025-04-21 22-03-57.png-2d437e5fbd8016f82332b3f6543292dd.s3tc.ctex", "res://.godot/imported/Screenshot From 2025-04-21 22-03-57.png-2d437e5fbd8016f82332b3f6543292dd.etc2.ctex"] +dest_files=["res://.godot/imported/Screenshot From 2025-04-21 22-03-57.png-2d437e5fbd8016f82332b3f6543292dd.ctex"] [params] -compress/mode=2 +compress/mode=0 compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=true +mipmaps/generate=false mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" @@ -33,4 +31,4 @@ process/normal_map_invert_y=false process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 -detect_3d/compress_to=0 +detect_3d/compress_to=1 diff --git a/Screenshot_20250519_194925.png.import b/Screenshot_20250519_194925.png.import index 5951193..57b4044 100644 --- a/Screenshot_20250519_194925.png.import +++ b/Screenshot_20250519_194925.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://ct42rxm2lmhxe" +uid="uid://pfe5c7ycva1j" path="res://.godot/imported/Screenshot_20250519_194925.png-836aad514ea45c20ccac676bb2d139f3.ctex" metadata={ "vram_texture": false diff --git a/assets/icons/learning.svg b/assets/icons/learning.svg new file mode 100644 index 0000000..d2ff1f9 --- /dev/null +++ b/assets/icons/learning.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/icons/learning.svg.import b/assets/icons/learning.svg.import new file mode 100644 index 0000000..d117ef1 --- /dev/null +++ b/assets/icons/learning.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://catqff7wmtny0" +path="res://.godot/imported/learning.svg-34a715e048edbf92cc73475ce0c2b476.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/icons/learning.svg" +dest_files=["res://.godot/imported/learning.svg-34a715e048edbf92cc73475ce0c2b476.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/icon.svg.import b/icon.svg.import index 31ab6cd..c47ef22 100644 --- a/icon.svg.import +++ b/icon.svg.import @@ -2,28 +2,26 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bnmet0ec7irdl" -path.s3tc="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.s3tc.ctex" -path.etc2="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.etc2.ctex" +uid="uid://iyjdhd82l6gt" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://icon.svg" -dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.s3tc.ctex", "res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.etc2.ctex"] +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] [params] -compress/mode=2 +compress/mode=0 compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=true +mipmaps/generate=false mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" @@ -33,7 +31,7 @@ process/normal_map_invert_y=false process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 -detect_3d/compress_to=0 +detect_3d/compress_to=1 svg/scale=1.0 editor/scale_with_editor_scale=false editor/convert_colors_with_editor_theme=false diff --git a/level_list.gd b/level_list.gd new file mode 100644 index 0000000..989c560 --- /dev/null +++ b/level_list.gd @@ -0,0 +1,7 @@ +extends VBoxContainer + +func _ready() -> void: + $bLEVEL1.pressed.connect(_LEVEL1) + +func _LEVEL1(): + get_tree().change_scene_to_file("res://Level_Core.tscn") diff --git a/level_list.gd.uid b/level_list.gd.uid new file mode 100644 index 0000000..5f3bede --- /dev/null +++ b/level_list.gd.uid @@ -0,0 +1 @@ +uid://8qg8pk1kg1hf diff --git a/loading-screen-transparent.png.import b/loading-screen-transparent.png.import index df23ef1..b854b27 100644 --- a/loading-screen-transparent.png.import +++ b/loading-screen-transparent.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://doatkgfq3rm5i" +uid="uid://i0wvqo27diby" path="res://.godot/imported/loading-screen-transparent.png-54b9add142b7ac10ba022b681513b038.ctex" metadata={ "vram_texture": false diff --git a/loading-screen.png.import b/loading-screen.png.import index 4df179f..06a5b4a 100644 --- a/loading-screen.png.import +++ b/loading-screen.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://y6nrywfnsq4c" +uid="uid://c4sjt176vc8e7" path="res://.godot/imported/loading-screen.png-b93c9f42a3d258918f0b7542b0d2f4dd.ctex" metadata={ "vram_texture": false diff --git a/main.gd b/main.gd index d3d112d..4581717 100644 --- a/main.gd +++ b/main.gd @@ -18,7 +18,7 @@ var checkpoint3 = Vector3(-50, 25, -5) var terminus = Vector3(-8, -8.5, 9.5) func _ready() -> void: - var player = get_node("Player") +# var player = get_node("%Player") checkpointtext.text = "station 0" # while true: # wait(5) diff --git a/pause_menu.tscn b/pause_menu.tscn index 7843394..00f9f71 100644 --- a/pause_menu.tscn +++ b/pause_menu.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=6 format=3 uid="uid://daoyebc0vm7sd"] [ext_resource type="Script" uid="uid://4v86257e5prv" path="res://pause_menu_itself.gd" id="1_hdmo1"] -[ext_resource type="FontFile" uid="uid://rswq6vrwr2nx" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="2_05uyy"] -[ext_resource type="FontFile" uid="uid://bulwhh7xjiip0" path="res://InstrumentSerif-Regular.ttf" id="3_p81d2"] +[ext_resource type="FontFile" uid="uid://cfk3fgwuhngcw" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="2_05uyy"] +[ext_resource type="FontFile" uid="uid://bov4yqgsjbgm5" path="res://InstrumentSerif-Regular.ttf" id="3_p81d2"] [sub_resource type="LabelSettings" id="LabelSettings_d3xb4"] font = ExtResource("3_p81d2") @@ -72,7 +72,7 @@ theme_override_colors/font_hover_color = Color(0.909804, 0.843137, 1, 1) theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_fonts/font = ExtResource("2_05uyy") theme_override_font_sizes/font_size = 30 -text = "resume game • Spiel fortsetzen" +text = "resume game" flat = true [node name="ExitButton" type="Button" parent="MarginContainer/VBoxContainer"] @@ -83,7 +83,7 @@ theme_override_colors/font_hover_color = Color(0.909804, 0.843137, 1, 1) theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_fonts/font = ExtResource("2_05uyy") theme_override_font_sizes/font_size = 30 -text = "quit to main menu • zum Hauptmenü zurückkehren" +text = "quit to main menu" flat = true [node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer"] @@ -91,6 +91,6 @@ layout_mode = 2 size_flags_horizontal = 8 size_flags_vertical = 4 -[connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_button_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"] diff --git a/player.gd b/player.gd index 53f231b..1cb5369 100644 --- a/player.gd +++ b/player.gd @@ -7,15 +7,17 @@ var mouse_sensitivity := 0.001 # Do not touch this part of the code var twist_input := 0.0 var pitch_input := 0.0 +# var levelcore: Node @onready var audioplayer = get_node("AudioStreamPlayer3D") @onready var twist_pivot := $TwistPivot @onready var pitch_pivot := $TwistPivot/PitchPivot -var levelcore: Node +@onready var levelcore = get_node("/root/LevelCore") var checkpoint: Vector3 + + func _ready() -> void: - levelcore = get_node("/root/LevelCore") Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) - checkpoint = levelcore.checkpoint3 + checkpoint = levelcore.checkpoint0 # while not get_node_or_null("/Level_Core/LevelCore"): # await get_tree().process_frame # Yield until the next frame # levelcore = get_node("/Level_Core/LevelCore") @@ -29,8 +31,8 @@ var touched = false var health = 100 func teleport_to_checkpoint(): - levelcore = get_node("/root/LevelCore") - var target_position = levelcore.checkpoint +# levelcore = get_node("/root/LevelCore") + var target_position = checkpoint global_transform.origin = target_position print("teleport to ", target_position, " successful") diff --git a/proluzbg.png.import b/proluzbg.png.import index f3eabe4..4622979 100644 --- a/proluzbg.png.import +++ b/proluzbg.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://b2mj17i87nwec" +uid="uid://cm58nw8150cah" path="res://.godot/imported/proluzbg.png-7fc6a35c77dc90eca2b591e2a87aa1aa.ctex" metadata={ "vram_texture": false diff --git a/start.gd b/start.gd index f446be2..17b2e0e 100644 --- a/start.gd +++ b/start.gd @@ -1,12 +1,27 @@ extends Control @onready var start_button = get_node("TextureRect/MarginContainer/HBoxContainer/VBoxContainer/PlayButton") +@onready var quit_button = get_node("TextureRect/MarginContainer/HBoxContainer/VBoxContainer/QuitButton") +@onready var levellist = $TextureRect/MarginContainer/HBoxContainer/LevelList +var playbutton = false func main(): print("Hey!") -func _start_button_pressed(): - get_tree().change_scene_to_file("res://Level_Core.tscn") - func _ready(): - start_button.pressed.connect(_start_button_pressed) + print("READY!!! >w<") + levellist.hide() +# start_button.pressed.connect(_start_button_pressed) +# quit_button.pressed.connect(_quit_button_pressed) + +func _start_button_pressed(): + if playbutton == false: + playbutton = true + levellist.show() + elif playbutton == true: + playbutton = false + levellist.hide() +# get_tree().change_scene_to_file("res://Level_Core.tscn") + +func _quit_button_pressed(): + get_tree().quit() diff --git a/start.tscn b/start.tscn index e9bd10b..b87c4a5 100644 --- a/start.tscn +++ b/start.tscn @@ -1,13 +1,13 @@ [gd_scene load_steps=13 format=3 uid="uid://bciy4rskxlowb"] [ext_resource type="Script" uid="uid://t2iw8p1c6rq3" path="res://start.gd" id="1_g38d0"] -[ext_resource type="Texture2D" uid="uid://b2mj17i87nwec" path="res://proluzbg.png" id="2_g38d0"] -[ext_resource type="Texture2D" uid="uid://0hcyy1njk5tu" path="res://ProjektLuzidLogo.png" id="3_gophc"] +[ext_resource type="Texture2D" uid="uid://cm58nw8150cah" path="res://proluzbg.png" id="2_g38d0"] +[ext_resource type="Texture2D" uid="uid://bda13se7hqblo" path="res://ProjektLuzidLogo.png" id="3_gophc"] [ext_resource type="Script" uid="uid://x6bi0h4rircc" path="res://animation_player.gd" id="4_p0nl4"] -[ext_resource type="FontFile" uid="uid://rswq6vrwr2nx" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="5_da165"] -[ext_resource type="Script" uid="uid://cax1b0y8uvwj3" path="res://button_2.gd" id="6_r8ukj"] -[ext_resource type="Script" uid="uid://dti3q3vy3rysn" path="res://quit_button.gd" id="7_1colc"] -[ext_resource type="Texture2D" uid="uid://fad7xr2jj2nu" path="res://ProjektLuzidLogo.svg" id="8_pob1m"] +[ext_resource type="FontFile" uid="uid://cfk3fgwuhngcw" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="5_da165"] +[ext_resource type="Script" uid="uid://8qg8pk1kg1hf" path="res://level_list.gd" id="6_g38d0"] +[ext_resource type="Texture2D" uid="uid://catqff7wmtny0" path="res://assets/icons/learning.svg" id="7_pob1m"] +[ext_resource type="Texture2D" uid="uid://clnhbd4dggxmo" path="res://ProjektLuzidLogo.svg" id="8_pob1m"] [sub_resource type="FontFile" id="FontFile_db7xr"] cache/0/16/0/ascent = 0.0 @@ -156,9 +156,9 @@ theme_override_colors/font_hover_color = Color(0.91048, 0.844425, 1, 1) theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_fonts/font = ExtResource("5_da165") theme_override_font_sizes/font_size = 30 -text = "play • spielen" +text = "play" flat = true -script = ExtResource("6_r8ukj") +alignment = 0 [node name="QuitButton" type="Button" parent="TextureRect/MarginContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 @@ -168,54 +168,60 @@ theme_override_colors/font_hover_color = Color(0.91048, 0.844425, 1, 1) theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_fonts/font = ExtResource("5_da165") theme_override_font_sizes/font_size = 30 -text = "quit • beenden" +text = "quit" flat = true -script = ExtResource("7_1colc") +alignment = 0 -[node name="VBoxContainer2" type="VBoxContainer" parent="TextureRect/MarginContainer/HBoxContainer"] +[node name="LevelList" type="VBoxContainer" parent="TextureRect/MarginContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 +alignment = 1 +script = ExtResource("6_g38d0") -[node name="Label" type="Label" parent="TextureRect/MarginContainer/HBoxContainer/VBoxContainer2"] +[node name="Label" type="Label" parent="TextureRect/MarginContainer/HBoxContainer/LevelList"] visible = false layout_mode = 2 text = "Notes and bugs:" label_settings = SubResource("LabelSettings_onc8m") horizontal_alignment = 2 -[node name="Label2" type="Label" parent="TextureRect/MarginContainer/HBoxContainer/VBoxContainer2"] +[node name="Label3" type="Label" parent="TextureRect/MarginContainer/HBoxContainer/LevelList"] visible = false layout_mode = 2 -text = "Notizen und bugs" -label_settings = SubResource("LabelSettings_onc8m") -horizontal_alignment = 2 - -[node name="Label3" type="Label" parent="TextureRect/MarginContainer/HBoxContainer/VBoxContainer2"] -visible = false -layout_mode = 2 -text = "- Due to the bugs in the current version of the game, it is recommended to ONLY pause -when the player is NOT touching a wall nor stairs/diagonal floors, as there is a very -HIGH chance that it will teleport you to nowhere, forcing you to restart the game. -- Wegen den Bugs in der jetzigen Version wird empfohlen NUR das Spiel zu pausieren, -wenn der Spieler keine Wand oder Treppe/Diagonale Fläche anfässt, da eine HOHE -Wahrscheinlichkeit besteht, dass der Spieler nirgends teleportiert wird, in welchen Fall -das Spiel neugestartet werden muss." +text = "- awawa" label_settings = SubResource("LabelSettings_ep3pr") horizontal_alignment = 2 -[node name="Button2" type="Button" parent="TextureRect/MarginContainer/HBoxContainer/VBoxContainer2"] +[node name="bLEVEL1" type="Button" parent="TextureRect/MarginContainer/HBoxContainer/LevelList"] layout_mode = 2 size_flags_vertical = 4 -text = "Tutorial +theme_override_fonts/font = ExtResource("5_da165") +text = "Level: Tutorial +Layer: Core" +icon = ExtResource("7_pob1m") +alignment = 0 +icon_alignment = 2 + +[node name="bLEVEL2" type="Button" parent="TextureRect/MarginContainer/HBoxContainer/LevelList"] +visible = false +layout_mode = 2 +size_flags_vertical = 4 +theme_override_fonts/font = ExtResource("5_da165") +text = "Level: Labyrinth +Layer: Core" +alignment = 0 + +[node name="bLEVEL3" type="Button" parent="TextureRect/MarginContainer/HBoxContainer/LevelList"] +visible = false +layout_mode = 2 +size_flags_vertical = 4 +theme_override_fonts/font = ExtResource("5_da165") +text = "Level: Tutorial Layer: Core" icon = ExtResource("8_pob1m") alignment = 0 icon_alignment = 2 expand_icon = true -[node name="Button" type="Button" parent="TextureRect/MarginContainer/HBoxContainer/VBoxContainer2"] -visible = false -layout_mode = 2 -size_flags_horizontal = 4 -size_flags_vertical = 4 -text = "text" +[connection signal="pressed" from="TextureRect/MarginContainer/HBoxContainer/VBoxContainer/PlayButton" to="." method="_start_button_pressed"] +[connection signal="pressed" from="TextureRect/MarginContainer/HBoxContainer/VBoxContainer/QuitButton" to="." method="_quit_button_pressed"]