ryanpcmcquen / basque

A top-down 2d game engine, written from scratch in under 1000 lines of C. Development of the game based on this engine is streamed on Twitch: https://www.twitch.tv/ryanpcmcquen
https://ryanpcmcquen.itch.io/basque
Mozilla Public License 2.0
443 stars 24 forks source link

Hello wasm! #13

Closed ryanpcmcquen closed 3 years ago

ryanpcmcquen commented 3 years ago

Historic make command from Melchize for reference:

# $(EMCC) $(CLIENT_SRCS) -std=c99 -O3 -fno-rtti --closure 0 -s MINIFY_HTML=0 -s WASM=1 -s OFFSCREEN_FRAMEBUFFER=1 -s OFFSCREENCANVAS_SUPPORT=1 $(EMMEM) $(EMLIBS) --shell-file platform/wasm/shell.html -o releases/wasm/index.html