
William, an experienced game and software developer, introduces the complete flappy bird course in Unity 2D and invites learners to explore Red Fool Studio for more content.
Create a Unity 2D main menu by building a canvas, enabling scale with screen size, and adding a title, high score, and play and shop buttons with a placeholder bird.
Create a game over scene in Unity 2D by adding a game over canvas with a red game over title and two buttons for play again and main menu.
Create pipes in Unity, convert into a prefab, and set up top and bottom box colliders 2D. Make the middle collider 2D box collider triggered to let the player pass.
Create a pipe script in Unity 2D to move pipes left using a speed variable updated every frame, then test adjustments in play mode and save.
Create a pipe spawner object with a script to spawn pipes at random heights using a timer, and destroy pipes after 15 seconds while keeping z values zero.
By the end of this course you will know how to create your very own Flappy Bird game in Unity. We will be starting from complete scratch building the scene for our game then all the way through until we have complete bird movement with respawning pipes and a store functionality .
A Flappy Bird style game is one of the most iconic mobile games of our time. It offers the player an addictive fun challenge that can be replayed over and over again. By adding high score and coin collection the player will have more incentive to play again so they can beat their last score or save up enough coins to unlock a new character to play the next time.
If you are new to coding do not worry all scripts will be walked through for each game object and source code will be available for download.
With the steps below we will create our Flappy Bird game:
Unity mobile set up
Import art
Camera settings
Backgrounds
Main menu Ui
Shop Ui
Menu script
Shop script
Game scene
Score counter
Game over Ui
Bird objects
Bird script
Pipe objects
Pipe script
Pipe spawner
Pipe spawner script
Final review
After completing each step above you will have your very own Flappy Bird game template and the knowledge to craft it into your own design for future game ideas.