This is template for running raylib games and building them for web using emscripten
i use raylib with raygui but it's fully optional
cd setup_scripts
./setup_raylib_for_desktop.sh
- now you can use
./run.sh
for running your game
cd setup_scripts
./setup_raylib_for_web.sh
- if you will try to use
./run.sh
it will cause an error. You should use setup for desktop setup for development process - now you can use
./build_web.sh
- setup for web first
cd setup_scripts
./build_web.sh
- all files will be in
web_build
directory
cd web_build
python -m http.server
- raylib have to be build first before using it for development or web
- gcc with all libraries needed to build code
- git
- bash
- UNIX based operating system