Implementation of the Breakout game in C++.
This game comes from the LearnOpenGL website and was built using my game engine available here (commit e7a6d375f946978d7895bf61c556de22cb0a1848).
git clone https://github.com/CourrierGui/breakout
cd breakout && mkdir -p build
Go to irrKlang to download the sound engine and unzip the files in breakout/extern/irrklang
.
Then copy the file breakout/extern/irrKlang/irrKlang-64bit-1.6.0/bin/linux-gcc-64/ikpMP3.so
to build/apps
.
I used the freetype library to display text in the game. You can follow the instructions to install it in the directory extern/freetype2. The installation from the git repository requires:
cd extern/freetype2
./autogen.sh
./configure
make
The library should then be located at extern/freetype2/objs/.libs/libfreetype.so
.
Finally, in the breakout
directory:
cmake --build build
cd build && ./breakout