windgeschworen/scenes/test_ground.tscn
danny 806d938ada Phase 1b: Slide + Klettern, TimeSystem, Greybox-Hub mit Zonen-Wechsel
- player.gd: Zustandsmaschine NORMAL/SLIDING/CLIMBING; Slide ueber
  slide-Action mit geschwindigkeitsabhaengigem Impuls und reduzierter
  Kapselhoehe (Shape wird dupliziert, geteilte NPC-Shapes bleiben
  unberuehrt), kein Slide im Stand; Sprung ueber jump-Action; automatisches
  Hochziehen an Kanten bis 2,2 m per Raycast-Kantenerkennung mit
  Kopffreiheits-Check
- TimeSystem: Slots Vormittag/Nachmittag/Abend, advance_slot() mit Signal,
  end_day() (Schlafsaal) erhoeht Tageszaehler, In-Memory ohne Save-Anbindung
- Greybox-Hub: rider_quadrant (Start, Imogen zieht hierher um), dormitory
  (Schlaf-Trigger beendet Tag), classroom; ZoneTrigger mit
  Spawn-Punkt-Handling, Uebergaenge zwischen allen drei Raeumen
- Player und Debug-Overlay als eigene Szenen extrahiert; test_ground bleibt
  reine Bewegungs-Testszene ohne Imogen
- Hauptmenue laedt rider_quadrant, Neues Spiel resettet auch TimeSystem
- Debug-Overlay: Tages-Slot, Tageszaehler und Bewegungszustand
- Headless verifiziert: Klettern, Slide (Hoehe/Ende), Slide-Verbot im
  Stand, Spawn-Platzierung, Trigger-Erkennung, Szenen-Boots

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 16:55:06 +02:00

122 lines
4.5 KiB
Text

[gd_scene load_steps=17 format=3]
[ext_resource type="Script" path="res://scripts/gameplay/test_ground.gd" id="1_ground"]
[ext_resource type="PackedScene" path="res://scenes/player.tscn" id="2_player"]
[ext_resource type="PackedScene" path="res://scenes/ui/debug_overlay.tscn" id="3_debug"]
[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)
[node name="TestGround" type="Node3D"]
script = ExtResource("1_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" parent="." instance=ExtResource("2_player")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 6)
[node name="DebugOverlay" parent="." instance=ExtResource("3_debug")]