0% found this document useful (0 votes)
45 views10 pages

DEMO

VB.NET can be used to create game programs. Flappy Bird was a mobile game developed by one programmer in only a few days. The objective was to direct a flying bird between sets of pipes without hitting them, earning points for each set navigated. The game's logic used if-then statements to determine when collisions occurred and end the game.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views10 pages

DEMO

VB.NET can be used to create game programs. Flappy Bird was a mobile game developed by one programmer in only a few days. The objective was to direct a flying bird between sets of pipes without hitting them, earning points for each set navigated. The game's logic used if-then statements to determine when collisions occurred and end the game.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Game Programming

using VB.Net
Visual Basic .NET
 Visual Basic .NET (VB.NET) is a multi-
paradigm, object-oriented programming
language, implemented on the .NET
Framework.
 The language is designed with Rapid
Application Development in mind, providing
several tools to shorten development time.
 VB.Net programming is very much based on
BASIC and Visual Basic programming
languages.
Flappy Bird
 A 2013 mobile game, developed
by Vietnam-based developer Dong Nguyen
under his company dotGEARS. 
 The game is a side-scroller where the player
controls a bird, attempting to fly between
rows of green pipes without hitting them.
The developer created the game over several
days, using a bird protagonist which he had
designed for a cancelled game in 2012
 Flappy Bird was created and developed by
Nguyen in two to three days.
Flappy Bird - Objectives
 The objective was to direct a flying bird,
named "Faby", who moves continuously to
the right, between sets of Mario-like pipes.
If the player touches the pipes, they lose.
Faby briefly flaps upward each time that the
player taps the screen; if the screen is not
tapped, Faby falls because of gravity; each
pair of pipes that he navigates between
earns the player a single point, with medals
awarded for the score at the end of the
game.
Development
Development
Development
Programming

 If Then. With logic (an


If-statement) which
direct the control flow
when the condition is
evaluated.
 On a true result, control
moves to the statements
inside the block.
Programming

If bird collide with obstacles left side then 

Game over

If bird wing touches obstacles bottom side then 

Game over
Programming

B O1

If (B.Left + B.Width) >= O1.Left And B.Top < O1.Height Then


Msgbox(”Game Over”)
End If

You might also like