Category Archives: HTML5

Building ofLive: Interacting between JavaScript and C code

I recently released ofLive, a tool embedding the Emscripten version of OpenFrameworks and binding it to an HTML5 code editor (in this case ACE). One of the main challenge I encountered when building the application was how to communicate between … Continue reading

Posted in Emscripten, HTML5, OpenFrameworks | Comments Off on Building ofLive: Interacting between JavaScript and C code

Persisting data with Emscripten

When porting your game to Emscripten, you will soon enough notice that the default virtual file system it use doesn’t persist data, everything you write in a file is lost from one session to another. Hopefully, Emscripten has a specific … Continue reading

Posted in Emscripten, HTML5, WebGL | Comments Off on Persisting data with Emscripten

Porting a complete C game engine to html5 through Emscripten

While I used Windows / Visual studio for porting my game engine, pretty much all advices listed here are valid for other platforms. Tools used Emscripten 1.27.2 emsdk for Windows Emscripten Visual studio 2010 plugin Chrome / Firefox for testing … Continue reading

Posted in Emscripten, HTML5, WebGL | Comments Off on Porting a complete C game engine to html5 through Emscripten