The game was made with SFML library as a pet project. 4 levels are available.
- A,W,S,D
- Shot - Left Click,
- Big shot - Right Click,
- Pause - Space.
- Main goal - defend Eagle.
sudo apt install cmake build-essential ccache python3-pip libgl-dev xorg-dev libx11-xcb-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-dri3-dev libxcb-util-dev libudev-dev
pip install conan
Go to Extention tab and search for "Conan" extention. Intall it. -Configure CMake in project & build. Currently have some issue with fonts. Comment out stageRender() call in Game::draw().
Using GCC
- Turn on ENABLE_COVERAGE on cmake/Sanitizers.cmake on choose needed options.
- Build and run binary.
- Check for *.gcno && *.gcna next to object files are created. Go to that directory.
- lcov --capture --directory . --output-file=coverage.info
- genhtml coverage.info --output-directory=result See html file in result folder.