Using C/C++ and SDL2, SDL_ttf, SDL_image development libraries on Code::Blocks.
- Flappy Bird is an arcade-style game in which the player controls the bird Faby, which moves persistently to the right. The player is tasked with navigating Faby through pairs of pipes that have equally sized gaps placed at random heights. Faby automatically descends and only ascends when the player touch the SpaceButton. Each successful pass through a pair of pipes awards the player one point.
- My game is an evolution of Flappy Bird for desktop. It was code by C++ language active on Code::Blocks IDE for C++ with graphics made by development libraries
SDL2
, SDL_image, SDL_ttf.
You need to setup SDL development libraries to play the game:
- Learn how to setup SDL2 for your computer on Lazyfoo at the Lesson 1.
- Put the
libgcc_s_seh-1.dll
,libstdc++-6.dll
,libwinpthread-1.dll
in Core into the System32 if your computer contains the 32bit library <into the SysWow64 if contains the 64bit library >. - Extract file Setup to get the SDL2 library or another library to compile.
- After setup the libraries and put all file.dll into the Windows system dowload all file of project.
- After setup Mingw64,SDL2,SDL_Image,SDL_TTF you can use Flappy-Bird.exe in bin/Debug to play the game.
- Another way you can setup the compiler in
Code::Blocks
and run the source code.
Press Space to jump.
- This game made by 100% C++ language.
- Video tutorial Video