- GameState: Stats, Klinge-Herz-Achse, Beziehungen, Menschlichkeit, Permadeath inkl. Klemmung, Signalen und Save-Serialisierung - RelationshipSystem als Zugriffs-Fassade ueber GameState - SaveSystem: JSON-Save/Load nach user:// mit Fehlerbehandlung - Hauptmenue (neue Main Scene): Start/Fortsetzen/Beenden, fokus-navigierbar mit Tastatur und Controller, Fortsetzen nur bei vorhandenem Save - Imogen-Platzhalter in test_ground: Area3D-Trigger, Prompt, Konsolen-Zeile, Beziehungs-Zuwachs (NPC-ID imogen) mit 2-s-Cooldown - Debug-Overlay: Stats, Klinge-Herz, Beziehung Imogen, Permadeath - Interim: menu-Action in der Testszene speichert und kehrt ins Menue zurueck - Input-Map: slide (C/L2) und jump (Leertaste/A-Kreuz) laut neuer SPEC 9 verdrahtet, Mechanik folgt in Phase 1b - SPEC-Update (Roadmap, slide/jump) und Phase-1a-Prompt eingecheckt Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
214 lines
7.5 KiB
Text
214 lines
7.5 KiB
Text
[gd_scene load_steps=24 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/gameplay/player.gd" id="1_player"]
|
|
[ext_resource type="Script" path="res://scripts/ui/debug_overlay.gd" id="2_debug"]
|
|
[ext_resource type="Script" path="res://scripts/gameplay/test_ground.gd" id="3_ground"]
|
|
[ext_resource type="Script" path="res://scripts/gameplay/npc_placeholder.gd" id="4_imogen"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
|
|
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
|
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
|
|
|
[sub_resource type="Sky" id="Sky_sky"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_sky")
|
|
|
|
[sub_resource type="Environment" id="Environment_env"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_sky")
|
|
tonemap_mode = 2
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ground"]
|
|
albedo_color = Color(0.35, 0.38, 0.4, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ground"]
|
|
size = Vector3(60, 1, 60)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ground"]
|
|
material = SubResource("StandardMaterial3D_ground")
|
|
size = Vector3(60, 1, 60)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_obstacle"]
|
|
albedo_color = Color(0.55, 0.45, 0.35, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_cube_small"]
|
|
size = Vector3(2, 2, 2)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_cube_small"]
|
|
material = SubResource("StandardMaterial3D_obstacle")
|
|
size = Vector3(2, 2, 2)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_cube_big"]
|
|
size = Vector3(4, 4, 4)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_cube_big"]
|
|
material = SubResource("StandardMaterial3D_obstacle")
|
|
size = Vector3(4, 4, 4)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_wall"]
|
|
size = Vector3(8, 2, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_wall"]
|
|
material = SubResource("StandardMaterial3D_obstacle")
|
|
size = Vector3(8, 2, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_player"]
|
|
albedo_color = Color(0.3, 0.5, 0.85, 1)
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_player"]
|
|
radius = 0.4
|
|
height = 1.8
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_player"]
|
|
material = SubResource("StandardMaterial3D_player")
|
|
radius = 0.4
|
|
height = 1.8
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_imogen"]
|
|
albedo_color = Color(0.85, 0.35, 0.5, 1)
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_imogen"]
|
|
material = SubResource("StandardMaterial3D_imogen")
|
|
radius = 0.4
|
|
height = 1.8
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_interact"]
|
|
radius = 2.5
|
|
|
|
[node name="TestGround" type="Node3D"]
|
|
script = ExtResource("3_ground")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_env")
|
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(0.866025, 0.383022, -0.321394, 0, 0.642788, 0.766044, 0.5, -0.663414, 0.55667, 0, 12, 0)
|
|
shadow_enabled = true
|
|
|
|
[node name="Ground" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
|
|
shape = SubResource("BoxShape3D_ground")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
|
|
mesh = SubResource("BoxMesh_ground")
|
|
|
|
[node name="Obstacles" type="Node3D" parent="."]
|
|
|
|
[node name="BoxEast" type="StaticBody3D" parent="Obstacles"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 1, 2)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/BoxEast"]
|
|
shape = SubResource("BoxShape3D_cube_small")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Obstacles/BoxEast"]
|
|
mesh = SubResource("BoxMesh_cube_small")
|
|
|
|
[node name="BoxSouth" type="StaticBody3D" parent="Obstacles"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 1, 5)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/BoxSouth"]
|
|
shape = SubResource("BoxShape3D_cube_small")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Obstacles/BoxSouth"]
|
|
mesh = SubResource("BoxMesh_cube_small")
|
|
|
|
[node name="BoxNorth" type="StaticBody3D" parent="Obstacles"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 1, -5)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/BoxNorth"]
|
|
shape = SubResource("BoxShape3D_cube_small")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Obstacles/BoxNorth"]
|
|
mesh = SubResource("BoxMesh_cube_small")
|
|
|
|
[node name="BigBox" type="StaticBody3D" parent="Obstacles"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 2, -4)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/BigBox"]
|
|
shape = SubResource("BoxShape3D_cube_big")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Obstacles/BigBox"]
|
|
mesh = SubResource("BoxMesh_cube_big")
|
|
|
|
[node name="Wall" type="StaticBody3D" parent="Obstacles"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -8)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/Wall"]
|
|
shape = SubResource("BoxShape3D_wall")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Obstacles/Wall"]
|
|
mesh = SubResource("BoxMesh_wall")
|
|
|
|
[node name="Player" type="CharacterBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 6)
|
|
collision_layer = 2
|
|
collision_mask = 1
|
|
script = ExtResource("1_player")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
shape = SubResource("CapsuleShape3D_player")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Player"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
mesh = SubResource("CapsuleMesh_player")
|
|
|
|
[node name="CameraPivot" type="Node3D" parent="Player"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
|
|
|
[node name="SpringArm3D" type="SpringArm3D" parent="Player/CameraPivot"]
|
|
transform = Transform3D(1, 0, 0, 0, 0.939693, 0.34202, 0, -0.34202, 0.939693, 0, 0, 0)
|
|
spring_length = 9.0
|
|
margin = 0.25
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="Player/CameraPivot/SpringArm3D"]
|
|
|
|
[node name="Imogen" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0, 2)
|
|
script = ExtResource("4_imogen")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Imogen"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
shape = SubResource("CapsuleShape3D_player")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Imogen"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
mesh = SubResource("CapsuleMesh_imogen")
|
|
|
|
[node name="NameLabel" type="Label3D" parent="Imogen"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.2, 0)
|
|
billboard = 1
|
|
text = "Imogen"
|
|
font_size = 64
|
|
outline_size = 16
|
|
|
|
[node name="PromptLabel" type="Label3D" parent="Imogen"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, 0)
|
|
visible = false
|
|
modulate = Color(1, 0.9, 0.5, 1)
|
|
billboard = 1
|
|
text = "E / (A) — Reden"
|
|
font_size = 40
|
|
outline_size = 12
|
|
|
|
[node name="InteractionArea" type="Area3D" parent="Imogen"]
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Imogen/InteractionArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("SphereShape3D_interact")
|
|
|
|
[node name="DebugOverlay" type="CanvasLayer" parent="."]
|
|
script = ExtResource("2_debug")
|
|
player_path = NodePath("../Player")
|
|
|
|
[node name="InfoLabel" type="Label" parent="DebugOverlay"]
|
|
offset_left = 12.0
|
|
offset_top = 8.0
|
|
offset_right = 460.0
|
|
offset_bottom = 240.0
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 4
|