A Flappy Bird recreation implemented in C and SDL2 graphics library.
Requires SDL2 and SDL_image installed in ~/.brew. To run do make run
or make re
then run ./flappy_bird
. Controls are tapping spacebar. you can configure window_config.h to change the speed of the game. I
made all the assets using the pixel editor aseprite, they can be found in this texture map and the numbers font.
This project was made to get a feel for simple collisions, a realtime game, and the SDL2.0 Library. This was made after programing Chess and Tic Tac Toe. Sprite rotation was made possible through the use of SDL_RenderCopyEx function provided by SDL2.0, and special thanks to SDL_HasIntersection. Based on the git history this took three days to make. This was thanks to the previous projects and having created tools like Penteract and SDL_2D_init.