Phase 9: Interaktiver Unterricht als Szene — CR 4 komplett

- Drei daten-getriebene Lektionen (data/lessons/): Mini-Vorlesung in
  Professoren-Stimme mit Zwischenrufen des Sitznachbarn und drei
  Timed Events pro Stunde (7-s-Balken, vier Antworten + Nichts sagen)
- lesson_teacher.gd ersetzt die Wissens-Stationen in Rotunde, Aula und
  Geschichtsklasse: hinsetzen, Steuerung gesperrt, Beats über
  Sprechblasen, Quiz-Overlay (lesson_quiz.tscn) fokus-navigierbar
- Richtig: +1 Verstand + 1 Fachwissen (gleiche Zähler wie Lexicon und
  Dreschen-Daumen); Deveras Muster-Frage liefert das erste W1-Fragment
  aufs Muster-Board; falsch: −1 Staffel-Ansehen (Fraktion "staffel") +
  Spott; schweigen/Zeitablauf: neutral; Szene verbraucht den Tages-Slot
- Räume umgebaut: Kapsel-Professoren (Kaori/Devera/Markham) mit Googly
  Eyes, sitzende Schüler + Nachbar; Sparring bleibt Walk-up
- Buchführung: CR 4 vollständig nach CHANGEREQUESTS_DONE, Phasen-Plan
  auf Phase 10 gestellt

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-07-16 17:42:31 +02:00
parent ce6dbd8408
commit 31e949b46f
12 changed files with 713 additions and 103 deletions

View file

@ -1,11 +1,32 @@
[gd_scene load_steps=33 format=3]
[gd_scene load_steps=39 format=3]
[ext_resource type="Script" path="res://scripts/gameplay/hub_room.gd" id="1_room"]
[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"]
[ext_resource type="Script" path="res://scripts/gameplay/zone_trigger.gd" id="4_zone"]
[ext_resource type="Script" path="res://scripts/gameplay/training_station.gd" id="5_station"]
[ext_resource type="Script" path="res://scripts/gameplay/lesson_teacher.gd" id="5_lesson"]
[ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="6_bubble"]
[ext_resource type="PackedScene" path="res://scenes/npcs/googly_eyes.tscn" id="90_eyes"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_person"]
radius = 0.4
height = 1.8
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_teacher"]
albedo_color = Color(0.42, 0.32, 0.5, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_teacher"]
material = SubResource("StandardMaterial3D_teacher")
radius = 0.4
height = 1.8
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_student"]
albedo_color = Color(0.5, 0.52, 0.48, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_student"]
material = SubResource("StandardMaterial3D_student")
radius = 0.35
height = 1.5
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
sky_horizon_color = Color(0.5, 0.53, 0.6, 1)
@ -231,48 +252,82 @@ mesh = SubResource("BoxMesh_table")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, -3.4)
mesh = SubResource("BoxMesh_map")
[node name="BriefStation" type="StaticBody3D" parent="."]
[node name="Professor" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, -3.4)
script = ExtResource("5_station")
station_name = "Gefechtskunde"
stat_name = "intellect"
knowledge_flag = "battle_brief_wissen"
success_line = "Frontlinien, Nachschub, Wetter. Wer das liest, lebt länger."
script = ExtResource("5_lesson")
lesson_path = "res://data/lessons/gefechtskunde.json"
neighbor_path = NodePath("../Students/Nachbar")
sit_marker_path = NodePath("../SitMarker")
[node name="CollisionShape3D" type="CollisionShape3D" parent="BriefStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
shape = SubResource("BoxShape3D_station")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
shape = SubResource("CapsuleShape3D_person")
[node name="MeshInstance3D" type="MeshInstance3D" parent="BriefStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_station")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Professor"]
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0.9, 0)
mesh = SubResource("CapsuleMesh_teacher")
[node name="NameLabel" type="Label3D" parent="BriefStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
[node name="GooglyEyes" parent="Professor/MeshInstance3D" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, -0.3)
[node name="NameLabel" type="Label3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, 0)
billboard = 1
text = "Gefechtskunde"
text = "Devera"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="BriefStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
[node name="PromptLabel" type="Label3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.9, 0)
visible = false
modulate = Color(1, 0.9, 0.5, 1)
billboard = 1
text = "E / (A) — Üben"
text = "E / (A) — Unterricht"
font_size = 40
outline_size = 12
[node name="InteractionArea" type="Area3D" parent="BriefStation"]
[node name="InteractionArea" type="Area3D" parent="Professor"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="BriefStation/InteractionArea"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Professor/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="BriefStation" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.6, 0)
[node name="SpeechBubble" parent="Professor" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.8, 0)
[node name="Students" type="Node3D" parent="."]
[node name="Student1" type="MeshInstance3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.6, 0.75, -0.2)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Student1" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="Student2" type="MeshInstance3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.4, 0.75, 0.2)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Student2" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="Nachbar" type="Node3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.4, 0, -0.1)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Students/Nachbar"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Nachbar/MeshInstance3D" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="SpeechBubble" parent="Students/Nachbar" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, 0)
[node name="SitMarker" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0.1, -0.3)
[node name="Triggers" type="Node3D" parent="."]

View file

@ -1,11 +1,32 @@
[gd_scene load_steps=32 format=3]
[gd_scene load_steps=38 format=3]
[ext_resource type="Script" path="res://scripts/gameplay/hub_room.gd" id="1_room"]
[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"]
[ext_resource type="Script" path="res://scripts/gameplay/zone_trigger.gd" id="4_zone"]
[ext_resource type="Script" path="res://scripts/gameplay/training_station.gd" id="5_station"]
[ext_resource type="Script" path="res://scripts/gameplay/lesson_teacher.gd" id="5_lesson"]
[ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="6_bubble"]
[ext_resource type="PackedScene" path="res://scenes/npcs/googly_eyes.tscn" id="90_eyes"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_person"]
radius = 0.4
height = 1.8
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_teacher"]
albedo_color = Color(0.42, 0.32, 0.5, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_teacher"]
material = SubResource("StandardMaterial3D_teacher")
radius = 0.4
height = 1.8
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_student"]
albedo_color = Color(0.5, 0.52, 0.48, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_student"]
material = SubResource("StandardMaterial3D_student")
radius = 0.35
height = 1.5
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
sky_top_color = Color(0.06, 0.05, 0.05, 1)
@ -254,49 +275,82 @@ shape = SubResource("BoxShape3D_shelf")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Shelves/Shelf3"]
mesh = SubResource("BoxMesh_shelf")
[node name="HistoryStation" type="StaticBody3D" parent="."]
[node name="Professor" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2, 0, -2.6)
script = ExtResource("5_station")
station_name = "Geschichte & RSC"
stat_name = "intellect"
stat_gain = 1
knowledge_flag = "geschichte_wissen"
success_line = "Markhams Version der Geschichte. Schlucken, merken, hinterfragen."
script = ExtResource("5_lesson")
lesson_path = "res://data/lessons/geschichte.json"
neighbor_path = NodePath("../Students/Nachbar")
sit_marker_path = NodePath("../SitMarker")
[node name="CollisionShape3D" type="CollisionShape3D" parent="HistoryStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
shape = SubResource("BoxShape3D_station")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
shape = SubResource("CapsuleShape3D_person")
[node name="MeshInstance3D" type="MeshInstance3D" parent="HistoryStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_station")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Professor"]
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0.9, 0)
mesh = SubResource("CapsuleMesh_teacher")
[node name="NameLabel" type="Label3D" parent="HistoryStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
[node name="GooglyEyes" parent="Professor/MeshInstance3D" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, -0.3)
[node name="NameLabel" type="Label3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, 0)
billboard = 1
text = "Geschichte & RSC"
text = "Markham"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="HistoryStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
[node name="PromptLabel" type="Label3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.9, 0)
visible = false
modulate = Color(1, 0.9, 0.5, 1)
billboard = 1
text = "E / (A) — Üben"
text = "E / (A) — Unterricht"
font_size = 40
outline_size = 12
[node name="InteractionArea" type="Area3D" parent="HistoryStation"]
[node name="InteractionArea" type="Area3D" parent="Professor"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="HistoryStation/InteractionArea"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Professor/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="HistoryStation" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.6, 0)
[node name="SpeechBubble" parent="Professor" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.8, 0)
[node name="Students" type="Node3D" parent="."]
[node name="Student1" type="MeshInstance3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.8, 0.75, 0.8)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Student1" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="Student2" type="MeshInstance3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6, 0.75, 1.1)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Student2" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="Nachbar" type="Node3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.6, 0, 0.7)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Students/Nachbar"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Nachbar/MeshInstance3D" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="SpeechBubble" parent="Students/Nachbar" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, 0)
[node name="SitMarker" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2, 0.1, 0.6)
[node name="Triggers" type="Node3D" parent="."]

View file

@ -1,11 +1,32 @@
[gd_scene load_steps=30 format=3]
[gd_scene load_steps=36 format=3]
[ext_resource type="Script" path="res://scripts/gameplay/hub_room.gd" id="1_room"]
[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"]
[ext_resource type="Script" path="res://scripts/gameplay/zone_trigger.gd" id="4_zone"]
[ext_resource type="Script" path="res://scripts/gameplay/training_station.gd" id="5_station"]
[ext_resource type="Script" path="res://scripts/gameplay/lesson_teacher.gd" id="5_lesson"]
[ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="6_bubble"]
[ext_resource type="PackedScene" path="res://scenes/npcs/googly_eyes.tscn" id="90_eyes"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_person"]
radius = 0.4
height = 1.8
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_teacher"]
albedo_color = Color(0.42, 0.32, 0.5, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_teacher"]
material = SubResource("StandardMaterial3D_teacher")
radius = 0.4
height = 1.8
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_student"]
albedo_color = Color(0.5, 0.52, 0.48, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_student"]
material = SubResource("StandardMaterial3D_student")
radius = 0.35
height = 1.5
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
sky_horizon_color = Color(0.3, 0.28, 0.25, 1)
@ -224,48 +245,82 @@ shape = SubResource("BoxShape3D_pult")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Lesepult"]
mesh = SubResource("BoxMesh_pult")
[node name="DragonLoreStation" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -3)
script = ExtResource("5_station")
station_name = "Drachenkunde"
stat_name = "intellect"
knowledge_flag = "drachenkunde_wissen"
success_line = "Schwanztypen, Anatomie, Temperament. Die Drachen merken, wer sie kennt."
[node name="Professor" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.8)
script = ExtResource("5_lesson")
lesson_path = "res://data/lessons/drachenkunde.json"
neighbor_path = NodePath("../Students/Nachbar")
sit_marker_path = NodePath("../SitMarker")
[node name="CollisionShape3D" type="CollisionShape3D" parent="DragonLoreStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
shape = SubResource("BoxShape3D_station")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
shape = SubResource("CapsuleShape3D_person")
[node name="MeshInstance3D" type="MeshInstance3D" parent="DragonLoreStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_station")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Professor"]
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0.9, 0)
mesh = SubResource("CapsuleMesh_teacher")
[node name="NameLabel" type="Label3D" parent="DragonLoreStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
[node name="GooglyEyes" parent="Professor/MeshInstance3D" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, -0.3)
[node name="NameLabel" type="Label3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, 0)
billboard = 1
text = "Drachenkunde"
text = "Kaori"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="DragonLoreStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
[node name="PromptLabel" type="Label3D" parent="Professor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.9, 0)
visible = false
modulate = Color(1, 0.9, 0.5, 1)
billboard = 1
text = "E / (A) — Üben"
text = "E / (A) — Unterricht"
font_size = 40
outline_size = 12
[node name="InteractionArea" type="Area3D" parent="DragonLoreStation"]
[node name="InteractionArea" type="Area3D" parent="Professor"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DragonLoreStation/InteractionArea"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Professor/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="DragonLoreStation" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.6, 0)
[node name="SpeechBubble" parent="Professor" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.8, 0)
[node name="Students" type="Node3D" parent="."]
[node name="Student1" type="MeshInstance3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 0.75, 2.3)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Student1" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="Student2" type="MeshInstance3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.8, 0.75, 2.8)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Student2" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="Nachbar" type="Node3D" parent="Students"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 0, 2.3)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Students/Nachbar"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0)
mesh = SubResource("CapsuleMesh_student")
[node name="GooglyEyes" parent="Students/Nachbar/MeshInstance3D" instance=ExtResource("90_eyes")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
[node name="SpeechBubble" parent="Students/Nachbar" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, 0)
[node name="SitMarker" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 2.4)
[node name="Triggers" type="Node3D" parent="."]

View file

@ -0,0 +1,83 @@
[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://scripts/ui/lesson_quiz.gd" id="1_quiz"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_panel"]
content_margin_left = 12.0
content_margin_top = 10.0
content_margin_right = 12.0
content_margin_bottom = 10.0
bg_color = Color(0.12, 0.11, 0.1, 0.92)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
[node name="LessonQuiz" type="CanvasLayer"]
layer = 5
script = ExtResource("1_quiz")
[node name="Root" type="Control" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Panel" type="PanelContainer" parent="Root"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -360.0
offset_top = -330.0
offset_right = 360.0
offset_bottom = -30.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_panel")
[node name="Margin" type="MarginContainer" parent="Root/Panel"]
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 8
[node name="Content" type="VBoxContainer" parent="Root/Panel/Margin"]
theme_override_constants/separation = 8
[node name="PromptLabel" type="Label" parent="Root/Panel/Margin/Content"]
theme_override_font_sizes/font_size = 19
text = "Frage"
autowrap_mode = 3
[node name="TimerBar" type="ProgressBar" parent="Root/Panel/Margin/Content"]
custom_minimum_size = Vector2(0, 10)
max_value = 1.0
step = 0.001
value = 1.0
show_percentage = false
[node name="Options" type="VBoxContainer" parent="Root/Panel/Margin/Content"]
theme_override_constants/separation = 6
[node name="Option0" type="Button" parent="Root/Panel/Margin/Content/Options"]
custom_minimum_size = Vector2(0, 36)
text = "Antwort A"
[node name="Option1" type="Button" parent="Root/Panel/Margin/Content/Options"]
custom_minimum_size = Vector2(0, 36)
text = "Antwort B"
[node name="Option2" type="Button" parent="Root/Panel/Margin/Content/Options"]
custom_minimum_size = Vector2(0, 36)
text = "Antwort C"
[node name="Option3" type="Button" parent="Root/Panel/Margin/Content/Options"]
custom_minimum_size = Vector2(0, 36)
text = "Antwort D"
[node name="SilenceButton" type="Button" parent="Root/Panel/Margin/Content"]
custom_minimum_size = Vector2(0, 32)
text = "Nichts sagen"