JavaScript in Action - bird flying game fun with the DOM
4.4 (22 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
4,046 students enrolled

JavaScript in Action - bird flying game fun with the DOM

Use JavaScript connect with Elements and create a game while practicing learning JavaScript and Document Object Model
4.4 (22 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
4,046 students enrolled
Created by Laurence Svekis
Last updated 11/2019
English
English [Auto]
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1.5 hours on-demand video
  • 14 articles
  • 3 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • How to use JavaScript
  • How to create elements dynamically
  • Manipulate elements using JavaScript
  • Explore JavaScript Document Object Model
Course content
Expand all 30 lectures 01:30:51
+ Introduction to JavaScript building a Flying bird game from scratch
29 lectures 01:29:37
Source Code
00:18
Source Code
00:25
Keyboard event tracking - JavaScript KeyPress Events
05:32
Source Code
00:27
Add element to page - JavaScript Create Elements - createElement Method
03:47
Source Code
00:38
JavaScript RequestAnimationFrame
07:10
Source Code
00:22
Move Conditions - JavaScript Game logic
02:42
Source Code
00:25
Wing Movements - Boolean values JavaScript
03:56
Source Code
00:32
Scoring and gravity - JavaScript game enhancements
03:30
Source Code
00:36
Game End Conditions - Game over with JavaScript
04:17
Source Code
01:11
Create Obstacles - Element creation using JavaScript
09:15
Source Code
01:03
Moving Obstacles - Select Element and update style properties JavaScript
05:39
Source Code
01:12
Checking Collision Detection - JavaScript element properties check
06:52
Source Code
01:18
Handle Game Over on collision
01:32
Game Code Review - Review game source code HTML CSS and JavaScript
12:30
Bonus Add Color - Generate random color value JavaScript
01:59
Source Code and Download
01:51
Requirements
  • Fundamental JavaScript concepts
  • Access to computer
  • Use of editor to write code
  • HTML and CSS knowledge
Description

Fun and exciting way to practice JavaScript while building an interactive game from scratch.

Learn how to apply JavaScript - connect to elements - update and manipulate element content and attributes - create interaction with event listeners - create content dynamically - all done in a step by step format so you can learn explore and create your own version of the game.  Apply what you learn to your JavaScript projects to master working with the DOM.

Explore how you can apply JavaScript to :

  • Select elements from the web page

  • Create global variables and objects to use for game play

  • Add event listeners to create interactive content

  • Listen for keypress and apply the results in your code

  • Add classes and remove classes from elements

  • Create elements dynamically on the fly with JavaScript

  • Append new elements to existing webpage elements

  • Use offset values of elements within code

  • Update element style values to produce animation

  • Use of awesome JavaScript methods like getBoundingClientRect()

  • Smooth animations with requestAnimationFrame()

  • Check for element overlap and collision detection

  • How to build your game to be dynamic with flexible variables

  • and much more.

Source Code is included so you can try it for yourself, what is covered in the lessons.

No libraries, no shortcuts just learning JavaScript making it DYNAMIC and INTERACTIVE web application.

Step by step learning with all steps included.

Beginner JavaScript knowledge is required as the course covers only JavaScript relevant to the building of the game.  Also HTML and CSS knowledge is essential as scope of this course is all JavaScript focused.  

Taught by a professional instructor with over 18 years of experience ready to help you learn.

Along with friendly support in the Q&A to help you learn and answer any questions you may have.

Try it now you have nothing to lose, comes with a 30 day money back guarantee.  

Start building your own version of the game today!!!!

Who this course is for:
  • Beginners to JavaScript
  • Anyone who wants to practice writing JavaScript
  • Web developers
  • Anyone who wants to learn to make a JavaScript game without any libraries
  • Beginners to JavaScript curious about Document Object Model and JavaScript Methods