Skip to content

CUB3D/Unknown-1.0-CPP

Repository files navigation

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

About

A 2D c++ game engine, using SDL2 and SDL2 image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published