Skip to content

A simple game mimit based Win32 SDK imitating the flappy birds.It is finished at the 2014/3/2.

Notifications You must be signed in to change notification settings

cporoske/flappy-birds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flappy-birds

A simple game mimit based Win32 SDK imitating the flappy birds.It is finished at the 2014/3/2.

Screenshot

img1 img2 img2

Structure of Program

  • AppOption.h defines the configuration of the game, such as windowName,windowWidth,etc.And in this file, it defines a simple macro to judge whether the role is hitting or not.
  • MyBitmap.h defines a class to load and draw image to a HDC.
  • MyBkSky.h defines a class to implement a background that can move alone with time.
  • MyClock.hseemly defines a class to clock, but I don't know what it is for.
  • Myfont.h defines a class to create and use font, it is just a wrapper to Windows Font API.
  • MyGame.h defines a class to manage the whole game logic and defines several suructure and game states.This class mainly switches between game state and receives the keyboard and mouse event to interact with game.So basicly you can read through the entire logic of the game.

Conclude

This game can still be compiled on VS2019, but the code is written very poorly.So please be very careful.

About

A simple game mimit based Win32 SDK imitating the flappy birds.It is finished at the 2014/3/2.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published