Implementation of sprite based animations for character movement with SFML. Code entrypoint resides in the src/main.cpp
file.
Name | Version |
---|---|
CMake | 3.31.0 |
g++ | 11.4.0 |
SFML | 3.0.0 |
Clone the source
git clone https://github.com/abilondias/sprite-sheet-sfml.git
cd sprite-sheet-sfml
If the build/debug
directory is missing
mkdir -p build/debug
Install dependencies
cmake -S . -B build/debug -DCMAKE_BUILD_TYPE=Debug
Build
cmake --build ./build/debug --target sprite_sheet_sfml -j 10
In the ocasion of building issues, refer to SFML's project and IDE setup
Run
./build/debug/sprite_sheet_sfml