Skip to content

UnOrdinary95/FlappyBird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation



FlappyBird

Unity remake of Flappy Bird based on the video from Game Maker's Toolkit Youtube channel.
A project-based learning: I started from the tutorial and added features to practice and deepen my understanding of C# and Unity.

This project lets you experience classic Flappy Bird gameplay with new mechanics and strategic choices. Play safe for high scores, or go hardcore to maximize points using shields and special coins, but beware: the game speeds up and gets tougher!

Key FeaturesGame ObjectivesFile StructureCredits

Key Features

Base Features

  • Classic Flappy Bird controls: tap to fly, avoid pipes, score points.
  • Procedural pipe spawning and movement.
  • Score tracking and display.
  • Simple UI for restarting.

Personal Enhancements

  • Red Pipes: Special pipes that, when passed through, trigger increased speed (speed boost). Chance-based appearance after 10 seconds of gameplay.
  • Shield Power-Up: Grants 6 seconds of invincibility after collecting 10 coins. Allows passing through pipes without collision.
  • Coin System:
    • Gold Coin (+1 point)
    • Special Coin (+3 points)
  • Speed Modes:
    • Slow (first 10 seconds)
    • Normal (after 10 seconds)
    • Fast (triggered by red pipes or shield)
  • Audio Management: Toggle sound effects and background music.
  • Launcher UI: GitHub link button with confirmation sound effect when starting the game.
  • Strategic Gameplay: Choose between safe play for max score or riskier play for rapid scoring using shields and special coins.

Game Objectives

  • Survive as long as possible by avoiding pipes.
  • Collect coins to increase your score.
  • Use shields and special coins to maximize points, but beware: activating shields increases game speed and difficulty.
  • Decide your strategy: play safe for longevity or take risks for faster, higher scores.

File Structure

Assets/
├── AudioManager.cs         # Handles all game audio logic
├── BirdScript.cs           # Controls bird movement and input
├── CoinScript.cs           # Manages coin behavior and scoring
├── Launcher.cs             # Main menu and launcher logic
├── LogicScript.cs          # Core game logic (score, game over)
├── OpenGitHubLink.cs       # Opens GitHub repo from launcher
├── PipeMiddleScript.cs     # Detects passing through pipes
├── PipeMoveScript.cs       # Moves pipes across the screen
├── PipeSpawnerScript.cs    # Spawns pipes at intervals
├── SpeakerManager.cs       # Manages speaker UI for sound toggle

Credits

About

A simple Flappy Bird clone made with Unity

Resources

Stars

Watchers

Forks

Languages