A fun and exciting game!
Have Visual Studio 2022 installed along with the C++ development tools.
Download and set up vcpkg, then install the following libraries:
- sdl2
- sdl2-ttf
- sdl2-mixer
- sdl2-image
This may take a hot minute to build.
Once you do that, then open the solution/project in Visual Studio and build. Easy peasy!
Install your compiler (clang/clang++ for macOS, gcc/g++ for Linux).
Install from your package manager (Homebrew for macOS, and whatever apt/yum for Linux):
python3
meson
pkg-config
ninja
- on Linux this would be
ninja-build
- on Linux this would be
cmake
sdl2
- on Linux this would be
libsdl2-dev
- on Linux this would be
sdl2-ttf
- on Linux this would be
libsdl2-ttf-dev
- on Linux this would be
sdl2-mixer
- on Linux this would be
libsdl2-mixer-dev
- on Linux this would be
sdl2-image
- on Linux this would be
libsdl2-image-dev
- on Linux this would be
Some systems you may have to install:
libogg-dev
libvorbis-dev
Once you have that installed, run meson builddir
then meson compile -C builddir
. Somewhat easy peasy!
Install the Emscripten SDK (emsdk), Meson, and ninja.
Run: meson setup build-emscripten --cross-file emscripten.cross
and then meson compile -C build-emscripten
The first compile may take some time due to fetching the SDL libraries.