GithubHelp home page GithubHelp logo

xflipperkast / flappy-bird Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 4.0 1.62 MB

Flappy Bird in javascript. With shop coins and easy to edit

Home Page: https://xflipperkast.github.io/Flappy-Bird/

License: MIT License

HTML 8.53% CSS 22.46% JavaScript 69.01%
javascript bird flappy flappy-bird game javascript-game

flappy-bird's Introduction

Go to:

Flappy-Bird

Flappy Bird completely made in html, css and javascript

Game: Fly between the opstacles to get a high score. Collect the coins and try to get far.
Spend the coins on new skins in the shop to play with.

Birds

Bird Look of the bird
Red Red Bird
Blue Blue Bird
Yellow Yellow Bird
Rainbow Rainbow Bird
Green Green Bird
Pink Pink Bird
Orange Orange Bird
Purple Purple Bird
Lime Lime Bird
Floppy Floppy Bird
Bubble Bubble Bird
Grellow (don't ask) Grellow Bird (again don't ask)
Ukraine Ukraine Bird
Kirby Kirby Bird
ParasolKirby ParasolKirby Bird
FloatKirby FloatKirby Bird
And more! ๐Ÿ˜ƒ

How to add more birds

  • To add more birds add a 31x26 .png image in frontend/images/birds.

  • Go to frontend/js/birdColors.js.

  • And add the file name along with the price in the list with the other birds ONLY THE NAME not .png behind it.

    For example:

    const birdColors = [
        {
            color: 'Yellow',
            price: 200
        },
        // Add this and replace the comments with needed info:
        {
            color: /* color name */,
            price: /* price of bird */
        }
    ];
  • Yes it is possible to animate .png images and those animations will then play in the game (or just use static images)
    Don't ask how, we don't know.

KeyBinds

Key Action
W Fly
Arrow Up Fly
Space Fly
Click Fly
Touch Fly
Yea it is basically just fly :D

Medals

You can win medals based on the score you get:

Score Medal Image
0- 49 Bonze Bonze Medal
50-99 Silver Silver Medal
100+ Gold Gold Medal

Shop

Shop

Cookies

We use it for saving data about the game like your personal best score, bought colors, equiped colors and coins.
These cookies are needed for the game to work as intended!
These cookies are NOT used to track you or sell data to advertisment companies (Even we can't see them).

It is adviced to leave the cookies alone and not edit them as that can cause unexpected issues!

Credits!

Original Project starter: https://github.com/xflipperkast
Cookies and most bug fixes and shop: https://github.com/ShadowWolf308

flappy-bird's People

Contributors

carlosdanielmaturano avatar ryan674 avatar shadowwolf308 avatar xflipperkast avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.