diff --git a/Level_Core.tscn b/Level_Core.tscn index 3a356ba..00e30b6 100644 --- a/Level_Core.tscn +++ b/Level_Core.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=32 format=3 uid="uid://bn20cqfwvm2oe"] -[ext_resource type="Script" uid="uid://wr38f8q1w7yq" path="res://main.gd" id="1_fwt2i"] +[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"] @@ -119,7 +119,7 @@ skeleton = NodePath("../MeshInstance3D") shape = ExtResource("3_n0qnv") [node name="MeshInstance3D75" type="MeshInstance3D" parent="."] -transform = Transform3D(-3.77264, 0.332342, -8.24536e-07, 1.32937, 0.943159, 2.90543e-07, 2.18557e-07, 0, -4, -60.5355, 18.359, -2.7631) +transform = Transform3D(-3.60183, 0.434948, -7.87203e-07, 1.73979, 0.900456, 3.80244e-07, 2.18557e-07, -2.00527e-15, -4, -69.8981, 22.1848, -2.7631) visible = false mesh = SubResource("PlaneMesh_rv2mx") skeleton = NodePath("../MeshInstance3D") @@ -1314,6 +1314,46 @@ skeleton = NodePath("../MeshInstance3D") [node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D68/StaticBody3D"] shape = ExtResource("2_7sds5") +[node name="MeshInstance3D97" type="MeshInstance3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 2, -98, 20, -5) +mesh = SubResource("PlaneMesh_rv2mx") +skeleton = NodePath("../MeshInstance3D") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D97"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D97/StaticBody3D"] +shape = ExtResource("2_7sds5") + +[node name="MeshInstance3D98" type="MeshInstance3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 2, -108, 20, -5) +mesh = SubResource("PlaneMesh_rv2mx") +skeleton = NodePath("../MeshInstance3D") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D98"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D98/StaticBody3D"] +shape = ExtResource("2_7sds5") + +[node name="MeshInstance3D99" type="MeshInstance3D" parent="."] +transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 2, -103, 25, -5) +mesh = SubResource("PlaneMesh_rv2mx") +skeleton = NodePath("../MeshInstance3D") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D99"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D99/StaticBody3D"] +shape = ExtResource("2_7sds5") + +[node name="MeshInstance3D100" type="MeshInstance3D" parent="."] +transform = Transform3D(-1.31134e-07, -1, 0, 3, -4.37114e-08, 0, 0, 0, 2, -103, 45, -5) +mesh = SubResource("PlaneMesh_rv2mx") +skeleton = NodePath("../MeshInstance3D") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D100"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D100/StaticBody3D"] +shape = ExtResource("3_n0qnv") + [node name="MeshInstance3D69" type="MeshInstance3D" parent="."] transform = Transform3D(-1, 8.74228e-08, 3.82137e-15, 0, -4.37114e-08, 1, 8.74228e-08, 1, 4.37114e-08, -40, 25, -5) mesh = SubResource("PlaneMesh_rv2mx") @@ -1511,10 +1551,14 @@ text = "time/zeit: " label_settings = SubResource("LabelSettings_27422") [node name="Label_Health" type="Label" parent="."] +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 offset_left = 100.0 -offset_top = 980.0 +offset_top = -100.0 offset_right = 625.0 -offset_bottom = 1008.0 +offset_bottom = -72.0 +grow_vertical = 0 text = "[||||||||||]" label_settings = SubResource("LabelSettings_2uy0w") vertical_alignment = 2 diff --git a/Screenshot_20250519_194925.png b/Screenshot_20250519_194925.png new file mode 100644 index 0000000..7ba00fb Binary files /dev/null and b/Screenshot_20250519_194925.png differ diff --git a/Screenshot_20250519_194925.png.import b/Screenshot_20250519_194925.png.import new file mode 100644 index 0000000..5951193 --- /dev/null +++ b/Screenshot_20250519_194925.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ct42rxm2lmhxe" +path="res://.godot/imported/Screenshot_20250519_194925.png-836aad514ea45c20ccac676bb2d139f3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Screenshot_20250519_194925.png" +dest_files=["res://.godot/imported/Screenshot_20250519_194925.png-836aad514ea45c20ccac676bb2d139f3.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 diff --git a/main.gd.uid b/main.gd.uid new file mode 100644 index 0000000..529cb4e --- /dev/null +++ b/main.gd.uid @@ -0,0 +1 @@ +uid://bpj62lqejp32d diff --git a/pause_menu.tscn b/pause_menu.tscn index eea5013..2cf24fa 100644 --- a/pause_menu.tscn +++ b/pause_menu.tscn @@ -27,15 +27,19 @@ grow_vertical = 2 script = ExtResource("1_hdmo1") [node name="ColorRect" type="ColorRect" parent="."] -layout_mode = 0 -offset_right = 1920.0 -offset_bottom = 1080.0 +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 color = Color(0, 0, 0, 0.309804) [node name="MarginContainer" type="MarginContainer" parent="."] -layout_mode = 0 -offset_right = 1920.0 -offset_bottom = 1080.0 +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 @@ -44,7 +48,7 @@ size_flags_vertical = 8 [node name="ResumeButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 0 -size_flags_vertical = 8 +size_flags_vertical = 10 theme_override_fonts/font = ExtResource("2_05uyy") theme_override_font_sizes/font_size = 35 text = "resume game | Spiel fortsetzen" @@ -52,6 +56,7 @@ text = "resume game | Spiel fortsetzen" [node name="ExitButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 0 +size_flags_vertical = 3 theme_override_fonts/font = ExtResource("2_05uyy") theme_override_font_sizes/font_size = 35 text = "quit to main menu | zum Hauptmenü zurückkehren" diff --git a/project.godot b/project.godot index 8a59c08..1fd3ed1 100644 --- a/project.godot +++ b/project.godot @@ -27,6 +27,7 @@ DiscordRPCLoader="*res://addons/discord-rpc-gd/nodes/discord_autoload.gd" window/size/viewport_width=1920 window/size/viewport_height=1080 window/stretch/mode="viewport" +window/stretch/aspect="expand" [editor_plugins] diff --git a/start.tscn b/start.tscn index 94341ae..7bde31a 100644 --- a/start.tscn +++ b/start.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=12 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://dmifch7igyyqd" path="res://Screenshot From 2025-04-21 22-03-57.png" id="2_pob1m"] +[ext_resource type="Texture2D" uid="uid://ct42rxm2lmhxe" path="res://Screenshot_20250519_194925.png" id="2_g38d0"] [ext_resource type="Texture2D" uid="uid://0hcyy1njk5tu" 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"] @@ -102,15 +102,16 @@ grow_vertical = 2 script = ExtResource("1_g38d0") [node name="TextureRect" type="TextureRect" parent="."] -layout_mode = 0 -offset_right = 1920.0 -offset_bottom = 1080.0 -texture = ExtResource("2_pob1m") +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +texture = ExtResource("2_g38d0") [node name="MarginContainer" type="MarginContainer" parent="TextureRect"] layout_mode = 2 -offset_right = 1920.0 -offset_bottom = 1080.0 +anchor_right = 1.0 +anchor_bottom = 1.0 [node name="HBoxContainer" type="HBoxContainer" parent="TextureRect/MarginContainer"] layout_mode = 2 @@ -143,6 +144,8 @@ vertical_alignment = 1 layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 4 +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" @@ -153,6 +156,8 @@ script = ExtResource("6_r8ukj") layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 4 +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"