Skip to content

playcanvas/FlappyBird

Repository files navigation

Flappy Bird

An ES Module, engine only port of the popular game Flappy Bird made using in PlayCanvas with extra PWA goodness.

It's an installable, engine only, editor-less, pure code example of using PlayCanvas for a game. Most of the setup code can be found in the game and ui. All the gmaez logic is using ESM Scripts found in the scripts dir.

Features

  • PlayCanvas Engine: Utilizes the powerful and flexible PlayCanvas engine for rendering and game logic.
  • Progressive Web App (PWA): Enhanced with PWA features for offline capabilities and installability.
  • Pure Code: No editor needed, all game logic and setup are handled through code.\
  • Installable: Can be installed on devices for a native-like experience.
  • Modular Codebase: Organized code in separate modules for game logic and UI, making it easy to understand and extend.

Getting started

Clone this repository then

npm install
npm run dev

Building for production

To build the project for production, run:

npm run build

Deployment

You can deploy the contents of the dist directory to any static site hosting service such as Vercel, Netlify, or GitHub Pages.

❤️🐦

About

Playcanvas Engine - Flappy Bird

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published