VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
How to Build Flappy Bird in JavaScript - GameDev Tutorial

How to Build Flappy Bird in JavaScript - GameDev Tutorial

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn how to create a flappy bird game using pure JavaScript. Download the Starter Template: https://goo.gl/SV7v7V Download the final Game files: https://goo.gl/h9LE58 Check out more great tutorials like this one on the Code Explained channel: https://www.youtube.com/channel/UC8n8ftV94ZU_DJLOLtrpORA
Date: 2022-03-14

Comments and reviews: 3


In my case images were not showing up. So, I added images in html and hide them using style then imported images in JS file using getelementbyid instead using image object as used in video example.
HTML File:
JS File:
var bg = document.getElementById('bg');
cntx.drawImage(bg, 0, 0);

reply

the starter template link is broken please help.... I really need to follow along with this tutorial cuz this is one of the best tutorials and you seem good so please if you can by any means make a media fire link....... pleasee!!!
reply

How do you ensure that the images are loaded, before you draw.
In my system images are taking time to load. So nothing is drawn.(before requestAnimationFrame added)

reply
Add a review, comment






Other channel videos