Skip to content
/ flappo Public

Gabouin/flappo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3506339 · · Jul 16, 2026

History

11 Commits
Jul 16, 2026
Jul 16, 2026
Jul 16, 2026
Jul 16, 2026
Jul 16, 2026
Jul 16, 2026
Jul 16, 2026
Jul 16, 2026
Jul 16, 2026
Jul 16, 2026

Repository files navigation

Flappo (flappy but with the o key)

A Flappy Bird clone built with Phaser CE (Phaser 2), with hand-drawn graphics.

Start menu Start of a game Gameplay with score Game over screen

How to play

The whole game is played with a single key: O.

In the start menu, the selection switches between PLAY and SPEED on its own. Press O to activate the highlighted line: PLAY starts the game, SPEED cycles between SLOW, NORMAL, FAST and SUPER FAST.

In game:

  • Press the O key to flap
  • Fly between the pipes to score points
  • Hit a pipe, the ground or the ceiling and it's game over: your score is displayed, then O brings you back to the menu
  • Watch out: some pipes scroll a bit slower, and some others slowly move up and down (never both at once)
  • Your best score is saved in the browser

Run the game

The game must be served by a web server (opening the file directly blocks image loading):

python3 -m http.server

Then open http://localhost:8000 in your browser.

Files

File Purpose
index.html The whole game: page + Phaser code
bird.png Bird sprite
pipe.png Pipe sprite (adapted to the game's aspect ratio)
pipe-top.png Flipped pipe sprite, used for the top pipes
onekey.png The bird's O-key head, used as the O in the title
screenshots/ Screenshots used in this README
bird-original.png, pipe-original.png Original drawings, kept for future edits

Phaser CE is loaded from a CDN, there is nothing to install.

Settings

A few variables at the top of index.html let you tweak the difficulty:

  • birdGravity: gravity strength (default: 800)
  • birdFlapPower: power of one flap (default: 300)
  • speeds: the SLOW / NORMAL / FAST / SUPER FAST values offered in the menu
  • pipeDistance: horizontal distance between pipes in pixels, the same at every speed (default: 250)
  • pipeHole: size of the gap between pipes (default: 200)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

No packages published

Languages