add presentation mode enhancements: refine visuals, integrate HTML-based interface for presentation mode, align assets display and player states, and handle real-time JS callbacks
Dynamic Branch Deploy / build-and-deploy (push) Failing after 1m36s

This commit is contained in:
Sebastian Unterschütz committed 2026-04-22 20:28:16 +02:00
1 parent c1fb3bcef0
commit d5c1e2ec82
11 files changed
+526 -115

No files matched your search

+6 -1
View File
@@ -300,6 +300,9 @@ func (g *Game) Update() error {
// Generate QR Code URL
joinURL := "https://escape-from-school.de/?room=" + g.roomID
g.presQRCode = generateQRCode(joinURL)
// WASM: Notify JS
g.notifyPresentationStarted_Platform(g.roomID)
}
}
@@ -361,9 +364,11 @@ func (g *Game) Update() error {
g.updateLeaderboard()
case StatePresentation:
g.updatePresentation()
g.updatePresentationState_Platform()
}
return nil
}
}
func (g *Game) updateMenu() {
g.handleMenuInput()