Skip to content

A simple Flappy Bird clone using Phaser.js that showcases essential game mechanics, including physics, collision detection, and user input. Players navigate a bird through obstacles. This project serves as a practical demonstration of game development concepts.

Notifications You must be signed in to change notification settings

SanjayPotdar/SimpleFlappyBird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird Clone

This project is a simplified version of the popular game Flappy Bird, developed using basic concepts of Phaser.js. It's designed as an introduction to essential game mechanics, offering insight into sprite movement, collision detection, physics, and state management. The code serves as a foundation for building and prototyping your own 2D games.

Table of Contents

Demo

To play the game, you will need to run it using a live server. Open the index.html file in any modern web browser using a live server extension, or you can play it directly here.

Installation

To get started, follow these steps:

  1. Clone the repository to your local machine:
    git clone https://github.com/SanjayPotdar/SimpleFlappyBird.git
  2. Navigate into the project directory:
    cd flappy-bird-clone
  3. Open the project in your code editor and start a live server to play the game.

Example Customizations:

  • Change Visual Assets: Swap out the bird or columns with your own images.
  • Implement Scoring: Introduce a scoring mechanism based on gameplay performance.
  • Expand Levels: Add additional levels or obstacles to enhance the challenge.

Project Structure

FlappyBird/
├── assets/
│ ├── background.png # Background image for the game
│ ├── bird.png # Bird sprite for animation
│ ├── column.png # Column used as an obstacle
│ └── road.png # Road at the bottom of the screen
├── index.html # Main HTML file
└── app.js # Game logic and Phaser.js code

About

A simple Flappy Bird clone using Phaser.js that showcases essential game mechanics, including physics, collision detection, and user input. Players navigate a bird through obstacles. This project serves as a practical demonstration of game development concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published