UserView <- GameController <- GameState <- View <- Model <- Actor
Dependencies: make
, cmake
, gcc
, sfml
, box2d
Arch/Manjaro:
sudo pacman -S make cmake gcc sfml box2d git
.Ubuntu (the following are untested instructions):
sudo apt install make cmake gcc libsfml-dev sfml-dev xorg-dev libglu1-mesa-dev
Other:
Build box2d (only if your package manager does not have it available):
doxygen
from your package manager.https://github.com/erincatto/box2d.git
mkdir box2d/build
cd box2d/build
cmake -DBOX2D_BUILD_DOCS=ON ..
cmake -build .
sudo cmake --build . --target install
cd ../..
echo "export LIBRARY_PATH=\"$LIBRARY_PATH:/usr/local/lib\"" >> ~/.zshenv
. This adds a necessary line to your .zshenv file.brew install cmake make gcc box2d sfml git
.git clone https://github.com/GDC-WM/Parryt.git
mkdir Parryt/Debug
cd Parryt/Debug
cmake ..
make
./parryt