Well I didn't mention it but no, the graphics are not the issue. Everything is rendered into a texture and it works exactly the same as in other games I wrote. Its hard to describe, but there is stuff rendered but its like "mirrored" on a tile basis. Basically that means somewhere a sign flips or I don't know (the game renders the screen on a per pixel basis internally, since its an emulator; the SDL part is rendering one screen-quad texture, not much that can go wrong here). Also the game doesn't work means that nothing actually happens. It stays at the same frame all the time, just sound is playing.
Anyway, its the core game library that is the issue here. And it doesn't contain anything of SDL/audio or whatever, its just C++ code without anything except standard headers. About the "recursive compilation" bug. It seems to be a now fixed LLVM bug but maybe emscripten has older sources. The "assertion failed" is misleading as the flag that was set there shouldn't be set. So basically it reports an error that doesn't exist. Anyway, Emscripten offers Autodebug, which seems to be an incredibly important tool for debugging issues. So its definitely not an option to say its not supported. This needs to work! There are not many choices of tracking down compiler bugs in large applications otherwise. When I get it to work I may write up a "howto" for this thing. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
