This project uses two main libraries : Raylib Emscripten
First create a build folder inside the root directory
mkdir build
cd srcg++ *.cpp -o ../build/game.exe -Wall -I ../include/ -L ../lib/Windows/ -lraylib -lgdi32 -lwinmm -lopengl32g++ *.cpp -o ../build/game.out -Wall -std=c++14 -I ../include/ -L ../lib/GNU-Linux -lraylib -lGL -lm -lpthread -ldl -lrt -lX11To build for HTML5 :
em++ -o ../build/game.html main.cpp Entity.cpp Player.cpp AnimatedSprite.cpp Arrow.cpp Homing.cpp Sequencer.cpp Game.cpp Timer.cpp WarningBar.cpp -Os -Wall ../lib/Web/libraylib.a -I. -I ../include -L. -s USE_GLFW=3 --shell-file ../shell/shell_custom.html -DPLATFORM_WEB --preload-file assets --preload-file wavereplace "password" with the generated password from your docker
mariadb --user="root" --password="password" -e 'CREATE DATABASE gamedb'
mariadb --user="root" --password="password" gamedb < Neutronic-Decay/server/gamedb.sqlThen change the password inside server/structure/script_data.php