This combines ideas from pntr_app_starter with wamr to make null0 game-engine (native runtime & libretro core.)
You can see a simple web-demo here or read the docs.
# build native-host
npm run build:native
# build example carts
npm run build:carts
# run local watching web-server with webhost
npm start
To distribute your game, you can either save your cart as main.null0, alongside the native runtime (and name that whatever you want) or you can embed it all in one executable:
# linux or mac
cat build/host/null0 build/carts/input_c.null0 > tester
# windows
copy /b build/host/null0.exe+build/carts/input_c.null0 tester.exe
- ui
- add back sfx
- add back tts
- tiled map/sprite support
- physics
- plain wasm has double-free error, need to really double-check the loader part
See THANKS for acknowledgement and thanks for all the great help & code I received to make this.
See LICENSE for licensing information.