A game
python3
(optional): use to run tools(need when you want develop this game)game
foldercmake --preset=default
cmake --build cmake-build
game
folderemcmake cmake -S . -B cmake-build
cmake --build cmake-build
cd cmake-build
emrun main.html
git submodule update --init --recursive
game
folder to android/app/jni
game/assets
folder to android/app/src/main/assets
(copy whole dir, not copy contents of assets
to android/app/src/main/assets
)Android Studio
to build or run ./android/gradlew build
game
folder, so you should code & run under game
folderpython3 tool/asset_fixer.py
or cmake --build cmake-build --target asset_fix
to fix your assettool/asset_fixer.py
dosome assets:
Tiled
exported tilemap datacontains incompatible data with our asset definitions. asset_fixer.py
will fix them.