Checkout repository and modules
git submodule update --init --recursive
brew install cmake glew zlib libpng libogg libvorbis freetype glfw
./configure.sh
./build.sh
build/debug/tools/server/server
And run the demo
build/test/demo/ldjam52/ldjam52
Install all dependencies needed for native build
Download and install Emscripten
emsdk_env_path=<path to installed emscripten SDK>
www_dir=<path to www build folder where static content will be build>
For example:
emsdk_env_path=${HOME}/src/game/emsdk/emsdk_env.sh
www_dir=${HOME}/src/game/www
For example, using python3 embedded httpd server:
python3 -m http.server -d ${HOME}/src/game/www