Private
Public Access
1
0

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
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 1m36s

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

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()