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:
parent
ce6dbd8408
commit
31e949b46f
12 changed files with 713 additions and 103 deletions
83
scenes/ui/lesson_quiz.tscn
Normal file
83
scenes/ui/lesson_quiz.tscn
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue