/ElectricPreacher

A c++ RPG game & Simple game Engine

Primary LanguageC++

ElectricPreacher

A c++ written open-source role-play game

Linux Build Windows Build

Dependencies

SDL2

Using APT

sudo apt update
sudo apt install libsdl2-2.0-0 libsdl2-dev libsdl2-image-2.0-0 libsdl2-image-dev libsdl2-mixer-2.0-0 libsdl2-mixer-dev libsdl2-ttf-2.0-0 libsdl2-ttf-dev

Using pacman

sudo pacman -S sdl2 sdl2_image sdl2_mixer sdl2_ttf

Windows compilation

Using MSYS2 :

# Install required packages
pacman -Syu
pacman -S mingw-w64-x86_64-toolchain
pacman -S make
pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-SDL2_mixer

#external lib
pacman -S mingw-w64-x86_64-nlohmann-json

# Build the executable
make all

JsonCpp

This project uses the JSON for Modern C++ library to read and write json files

Lohmann, N. JSON for Modern C++ (Version 3.10.0) [Computer software]. https://github.com/nlohmann