Skip to content

Latest commit

 

History

History
61 lines (56 loc) · 1.56 KB

README.md

File metadata and controls

61 lines (56 loc) · 1.56 KB

Unknown

A 2D c++ game engine, built using SDL

Dependencies:

  • SDL2
  • SDL2_image
  • SDL2_TTF
  • RapidJSON

To use:

  • Clone the repo:
git clone --recursive git@github.com:CUB3D/Unknown-1.0-CPP.git

Linux setup

  • Install dependancies

Debian/Ubuntu:

sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libbox2d-dev rapidjson-dev cmake build-essential python

Arch:

sudo pacman -S libsdl2 libsdl2-image libsdl2-mixer libsdl2-ttf libxbox2d rapidjson cmake g++ python
  • Setup the project:
cd Unknown-1.0-CPP
source tools/env.sh
setup
  • Build:
make build
cd build
cmake ..
make -j 4
  • Test:
test

Optionally steps 3 & 4 can be skipped if using clion

Windows setup