Tourismusregion Quick-Fixes: Startflow, Auto-Save, Lift-Talstation, iPad-Responsive
- Startbildschirm: Name/Klasscode-Felder entfernt (Kinder sind über die Plattform-Session identifiziert). Klick auf eine Wegkarte startet die Partie sofort — separater „Partie starten"-Button entfernt. - Abschluss: „Ergebnis speichern"-Button entfernt; Speichern passiert schon automatisch am Partie-Ende (submitAssessment). Hinweis „automatisch gespeichert" ergänzt. btnSave-Listener null-sicher gemacht. - Seilbahn: Talstation (Baukörper + Satteldach + Umlenkrad) ergänzt — der Lift-Anfang wirkte vorher „transparent". - Responsive/iPad: Panels bekommen Höhen-Deckel + internes Scrollen (decken nie den ganzen Schirm zu). Neue Media-Query für iPad-Landscape (901–1200px / niedrige Höhe): kompaktere Panels, Graphen nach rechts-unten aus dem Info-Panel-Bereich. Sehr flache Screens blenden die Graphen aus. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -375,6 +375,19 @@ export class SceneRenderer {
|
||||
ctx.fillStyle = '#5a5f63';
|
||||
ctx.fillRect(b.x - 16, b.y - 6, 32, 18);
|
||||
ctx.lineWidth = 1;
|
||||
// Talstation (unten) — sonst wirkt der Lift-Anfang „transparent".
|
||||
// Solider Baukörper + Satteldach + angedeutetes Umlenkrad am Seil.
|
||||
ctx.fillStyle = '#7a5c3e'; // Wand (Holz)
|
||||
ctx.strokeStyle = '#3a2c1e'; ctx.lineWidth = 1.5;
|
||||
ctx.beginPath(); ctx.roundRect(a.x - 19, a.y - 2, 38, 24, 2); ctx.fill(); ctx.stroke();
|
||||
ctx.fillStyle = '#8a6a48'; // Tor
|
||||
ctx.fillRect(a.x - 9, a.y + 8, 18, 14);
|
||||
ctx.fillStyle = '#5a4632'; // Satteldach
|
||||
ctx.beginPath(); ctx.moveTo(a.x - 24, a.y - 2); ctx.lineTo(a.x, a.y - 15); ctx.lineTo(a.x + 24, a.y - 2); ctx.closePath();
|
||||
ctx.fill(); ctx.stroke();
|
||||
ctx.strokeStyle = '#3a3f43'; ctx.lineWidth = 2; // Umlenkrad
|
||||
ctx.beginPath(); ctx.arc(a.x, a.y + 2, 5, 0, 7); ctx.stroke();
|
||||
ctx.lineWidth = 1;
|
||||
// leere Gondeln pendeln
|
||||
for (let i = 0; i < 4; i++) {
|
||||
let f = ((this.simTime / 26000) + i / 4) % 1;
|
||||
|
||||
Reference in New Issue
Block a user