Skip to content
0:00 / 0:00

#canvasapi#html5canvas#javascript

Create Flappy Bird Game CLONE With JavaScript & HTML5 | JavaScript Project For Beginners

Code Explained

43K subscribers • 6 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • May be out of date. Uploaded 7 years ago, in an area where tools change fast.

Beginner. No background in the topic needed.

68K views7 years ago1 recommendation

Game developmentWeb developmentJavaScriptGame programming

How to build a 2D Flappy Bird clone from scratch using vanilla JavaScript and HTML5 Canvas.

DEMO: codeexplained.org/2019/05/create-original-flappy-bird-using.… Flappy Bird was a side-scrolling mobile game featuring 2D retro style graphics. The objective was to direct a flying bird, named "Faby", who moves continuously to the right, between sets of Mario-like pipes. If the player touches the pipes, they lose. Faby briefly flaps upward each time that the player taps the screen; if the screen is not tapped, Faby falls because of gravity; each pair of pipes that he navigates between earns the player a single point, with medals awarded for the score at the end of the game. No medal is awarded to scores less than ten. A bronze medal is given to scores between ten and twenty. In order to receive the silver medal, the player must reach 20 points. The gold medal is given to those who score higher than thirty points. Players who achieve a score of forty or higher receive a platinum medal. Android devices enabled the access of world leaderboards, through Google Play. There is no variation or evolution in gameplay throughout the game, as the pipes always have the same gap between them and there is no end to the running track, having only the flap and ding sounds and the rising score as rewards. And today you're going to create the Flappy Bird game using JavaScript and HTML (or HTML5 canvas). We're not using any framework to build the game, Just Vanilla JavaScript. This is a beginner's guide on how to create the flappy bird game using JavaScript and HTML. If you want to follow along with me when I type in the code, you'll need to download the starter template from GitHub. ----------------------------------------------------------------------------------------------------- | LINKS | ----------------------------------------------------------------------------------------------------- DOWNLOAD SOURCE CODE + STARTER TEMPLATE: codeexplained.org/2019/05/create-original-flappy-bird-using.… 🌍 Social Media Links. ◾ Facebook : facebook.com/Code.Explained.Official ◾ Twitter : twitter.com/code_explained ◾ Instagram : instagram.com/Code.Explained.Official/ ◾ GitHub : github.com/CodeExplainedRepo 💲 Suppport the Channel Paypal : paypal.me/CodeExplained Buy Me a Coffee: buymeacoffee.com/CodeExplained By @titus andronicus (thanks) - HTML - To follow the tutorial step by step - Draw to canvas - Draw image to canvas - Fit an image - Draw the Bird - !!!Coding!!! - Game State - !!!Coding!!! - Animate the Bird - !!!Coding!!! - Gravity and flap - !!!Coding!!! - Bird Rotation - Bird Update() - Move foreground - !!!Coding!!! - Create the Pipes - Draw the Pipes - Move the Pipes - !!!Coding!!! - Collision Detection - !!!Coding!!! :2

Why it's here

1 person recommends this

What people say. Recommended as a fun hands-on project for beginners to practice JavaScript.

u/th3originalsin r/Frontend • Recommends

Create Original Flappy Bird Game Using JavaScript