This video is full explained version of Game in which a Bird jumps and you will get a score after each successful jump. This game is little bit similar to Game used in Chrome Web Browser in which a Dinosaur jumps.
When we click start button for loop will start and with stop button for loop exits.
In this we have used a for loop, because the speed of for loop is very fast so we will use a thread to make it slower.
For the bird we draw image using graphics then on the same location change the image of bird to two different images in which the bird's legs have changed their positions to make bird look like moving.
Same we have used for path or floor where bird looks like moving we just interchange the position of bottom path with the iteration of for loop.
Then comes the obstacles or plants from those bird can get hit and if the position of the plant comes in touch with the position coordinates of bird then Game will over.
Next are the clouds that are also changing position with the iteration of for loop, to make them slower we skipped many iterations of for loops.
The successful jump results in increased scores shown in label on the right bottom side.
Mouse Left Button is used to fire an event with which Bird jumps.
Thanks.
Please subscribe for more updates.
#jumpGameCSharp #dragonJumpGame