CFG3 is a lightweight, performant 2D fighting game written in C using raylib library. Focus is on clean code, high performance, easy compilation, and educational readability — for learning game development with raylib or experimenting with fighting game mechanics.
Follow dev journey on YouTube, Discord
sudo apt update
sudo apt install -y build-essential git \
libasound2-dev libx11-dev libxrandr-dev libxi-dev libxcursor-dev libxinerama-dev \
libgl1-mesa-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev pkg-config
# Clone exact pinned release
git clone --depth 1 --branch 6.0 https://github.com/raysan5/raylib.git ~/raylib-temp
cd ~/raylib-temp/src
# Build static library (default & recommended) and install system-wide
make PLATFORM=PLATFORM_DESKTOP
sudo make install
# Clean up
cd ../..
rm -rf ~/raylib-temp
# Make sure dynamic linker knows about new library
sudo ldconfiggit clone https://github.com/RoundBearChoi/CFG3.git
cd CFG3
make runCharacter sprite sheets are from Action Platformer Character Template by Ozzbit Games.