Initially, I wanted to try recreating Flappy Bird in HTML5, using a canvas and recycling the assets from the old game.
What I did instead is something way more primitive. This project uses nothing but good ol' div's for all the objects and graphics, will scale perfectly on almost any screen (mobile and desktop), is terribly unoptimized, laggy, and isn't nearly as fast as it would've been if I had just used a canvas instead. But here it is!
Check out a live preview of it over here:
Some cool things other people have done with the code. Let me know about your projects and I'll link it here
https://wanderingstan.github.io/handybird/ - @wanderinstan - Real hand gestures to play Flappy Bird, using doppler effect and microphone. http://www.hhcc.com/404 - Hill Holiday using it for their 404
http://heart-work.se/duvchi - Floppy bird, modified, and used as a promotional campaign for an album release
https://www.progressivewebflap.com/ - @jsonthor turned Floppy Bird into a PWA! https://github.com/rukmal/FlappyLeapBird - Rukmal integrated LeapMotion Controller functionality! Check out his website, he's done some cool stuff.
http://chrisbeaumont.github.io/floppybird/ - @chrisbeaumont made an awesome auto-pilot, check it out
http://www.lobe.io/flappy-math-saga/- @tikwid made a really cool version designed to teach you times tables. really cool.
http://dota2.cyborgmatt.com/flappydota/ - flappy dota, this one is really cool.
http://tippy.gochiusa.net/ - Japanese anime inspired floppybird.
http://emdigital.ru/wiki — floppybird on EyeMedia Instagram Marketing Agency website. http://labs.aylien.com/flappy-bird/ - @mdibaiee/flappy-es - Playing Flappy Bird using Evolution Strategies
@aregowe for optimizing all the assets
The assets powering the visual element of the game have all been extracted directly from the Flappy Bird android game. I have only done the coding, not designed the visual elements.
I do not own the assets, nor do I have explicit permission to use them from their creator. They are the work and copyright of original creator Dong Nguyen and .GEARS games (http://www.dotgears.com/).
I took this Tweet (https://twitter.com/dongatory/status/431060041009856512 / http://i.imgur.com/AcyWyqf.png) by Dong Nguyen, the creator of the game, as an open invitation to reuse the game concept and assets in an open source project. There is no ill intention to steal the game, or claim it as my own. This is merely a recreation for fun.
If the copyright holder would like for the assets to be removed, let me know!
Copyright 2014 Nebez Briefkani
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.