Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

JavaScript Tutorial: Build Flappy Bird and Doodle Jump

via freeCodeCamp

Overview

This course teaches learners how to improve their JavaScript skills by building two popular millennial games: Doodle Jump and Flappy Bird. By practicing over 32 of JavaScript's most popular methods, including .forEach(), .push(), .shift(), .addEventListener(), and Classes, students will learn to create these games. The course covers game logic, setting up the projects, creating game elements, handling user input, generating obstacles, implementing game over logic, and adding styling. The teaching method involves hands-on coding sessions with step-by-step guidance. This course is intended for individuals looking to enhance their JavaScript skills through game development projects.

Syllabus

Introduction.
Introduction to Doodle Jump.
Doodle Jump game logic.
Setting up our game.
Creating our doodler.
Creating our platforms.
Creating our Platform Class.
Moving our platforms.
Making our doodler jump.
Making our doodler fall.
Writing our game over logic.
Hooking up our keyboard keys.
Making our doodler go left and right.
Removing and adding new platforms using array work.
Removing all children of the grid using a while loop.
adding the score.
Flappy Bird introduction.
Flappy Bird game logic.
Setting up our project.
Writing our start game logic.
Making our bird jump.
Hooking up our keyboard keys.
Generate a pipe obstacle.
Move the obstacle.
Generate new obstacles using setInterval() and setTimeout().
Write our game over logic.
We learn how to add images to our project.
We expand our collision rules using && and ||.
We add the final stages of styling learning about z-index.

Taught by

freeCodeCamp.org

Reviews

Start your review of JavaScript Tutorial: Build Flappy Bird and Doodle Jump

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.