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
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 1m36s
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user