HTML build


Using emscripten I have created a browser version of the game that is playable without a need to download the windows exe.

Kudos to Programming With Nick as he has some great content on compiling c++ games to wasm!

Windows compilation command: emcc -o index.html (Get-ChildItem *.cpp) -Wall -std=c++23 -Wno-c++11-narrowing -D_DEFAULT_SOURCE -Wno-missing-braces -Wunused-result -Os -I. -I C:/raylib/raylib/src -I C:/raylib/raylib/src/external -L. -L C:/raylib/raylib/src -s USE_GLFW=3 -s ASYNCIFY -s TOTAL_MEMORY=67108864 -s FORCE_FILESYSTEM=1 --preload-file assets --shell-file C:/raylib/raylib/src/shell.html C:/raylib/raylib/src/web/libraylib.a -DPLATFORM_WEB -s 'EXPORTED_FUNCTIONS=["_free","_malloc","_main"]'-s EXPORTED_RUNTIME_METHODS=ccall

Files

index.zip Play in browser
2 days ago
ExerciseYourDemons.zip 17 MB
31 days ago

Get Exercise Your Demons

Leave a comment

Log in with itch.io to leave a comment.