Tanner Rogalsky
Tanner Rogalsky
There are still some outstanding features that make 0.11 as a one-stop shop for putting your love games on the web a tough target (for example: [this](https://github.com/emscripten-core/emscripten/pull/8365) was JUST merged)....
The simple case of `love.window.showMessageBox( title, message, type, attachtowindow )` could be sort of emulated using `window.alert`. The more complicated `love.window.showMessageBox( title, message, buttonlist, type, attachtowindow )` doesn't have any...
https://github.com/emscripten-ports/SDL2/blob/43a8e8d180a150444ee88e8a8c22790887a36ec5/src/video/SDL_video.c#L3508 There's no entry for Emscripten which is why, despite the code existing, it doesn't do anything particularly useful.
@Positive07 Part of `showMessageBox` is that it interrupts/pauses program execution until the user interacts with the modal. I don't think there's a good way to do that without `alert`.
Can you give me more information? OS, browser, and about how much time it takes?
With the compatibility release, checking if an SDL subsystem can be initialized should at least result in a catchable error.
It is in the compatibility release. This problem is one of the main reasons that the compatibility release exists.
@MadByteDE Can you give me a quick test case for this?
I looked into it. Seems like this isn't possible: https://github.com/kripken/emscripten/blob/07b87426f898d6e9c677db291d9088c839197291/src/library_openal.js#L523-L527
Incoming tends to be what I use to compile this anyway since the release cycle to master is a little long and incoming is reasonably stable. Thanks for the heads...