A Flappy Bird clone without any pretty graphics and some gnarly sound effects made by yours truly.
Powered by raylib
The purpose of this project was to learn more about C programming and game engine development and architecture through game development with the raylib framework.
Despite the very small scope of the game, it showed me how to:
- Handle application state through a simple state machine
- Use GNU Make before I decided to use CMake so I could develop on both my Windows and Linux machines
- Use CMake as a cross-platform build tool
- Program procedurally as I had ony done object-oriented programming til now
- CMake version greater than 3.20.
- Clone this project into the directory of your choosing.
- From the root directory of this project, create a new directory called
build
and change directories into it. - From the command line, call
cmake ..
. If raylib has not been installed already, it will clone it and include itsCMakeLists.txt
into the build process of this project.
git clone [email protected]:RAYMUNDOOOO/flappy-bin-chicken.git
cd flappy-bin-chicken
mkdir build
cd build
cmake ..
- If you are on a Mac or a Linux distribution, CMake will generate a GNU Makefile which you can run by calling
make
in thebuild/
directory. If you are on Windows, it will generate a*.sln
file. Open it in Visual Studio and then run the project.