JavaScript Game Development: Create Your Own Breakout Game

Take your JavaScript learning experience to the next level and start building interactive games.
4.7 (17 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,807 students enrolled
Free
Start Learning Now
  • Lectures 20
  • Length 1.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 9/2016 English

Course Description

Take a step-by-step approach to learning how to build a complete JavaScript game. In this course we will cover the basic set up of the HTML and CSS pages and then we will dive right into coding our game! Starting from creating basic shapes on our canvas element to animating a ball, and then finally keeping track of the player's lives and score. We will cover many interesting topics, including:

  • HTML canvas element
  • for loops
  • arrays
  • objects
  • creating custom functions
  • mouse controls

And much more!

There are only two things that you need to take this course: an internet connection and a computer. There is no need to download any paid software or set up complex development environments.

The course is 1.5 hours long and is structured in a step-by-step manner, from simple to more difficult concepts. We build the JavaScript game from the ground up and cover each game component one at a time - so you will never feel overwhelmed with the content.

 With the knowledge gained in this course you can move forward and build more complex JavaScript games, and use the game you created at the end of this course to add to your portfolio or just impress your friends.

The material in this course is adapted from MDN, licensed under CC-BY-SA 2.5.

I hope to hear from you soon, and look forward to having you in my course!

What are the requirements?

  • A computer and an internet connection is all you need. Everything you may need to download will be described in the lectures.

What am I going to get from this course?

  • Build a complete JavaScript game from scratch
  • Understand how HTML, CSS, and JavaScript work together
  • Understand how the <canvas> element works

What is the target audience?

  • This course is for all skill levels, however, those who already have some familiarity with HTML, CSS and JavaScript may find it easier to follow along. Nevertheless, it's still strongly encouraged for beginners and novices to take this course as well, because challenging yourself is the only way to improve – at the very least, you’ll understand areas in your learning that need improvement.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Getting Started
Prerequisites
00:27
Tips
01:54
Attribution to MDN
Article
Section 2: Introduction to the Canvas
Set up and Basic Shape Creation
08:38
More Practice with the Canvas
06:55
Extra Information About the Canvas
Article
Section 3: Creating our Breakout Game
Creating and Moving the Ball
05:57
Canvas Grid System and Draw function
04:39
Collision Detection
07:35
Updating the Collision Detection
02:11
Creating the Paddle
13:07
Game over State
05:29
Review of Arrays and Objects
Article
Creating the Brick Field
12:00
Brick Field Collision Detection
06:41
Keeping Track of the Score
04:20
Adding Mouse Controls
05:51
Mouse Controls: Exercise Solution
Article
Adding Player Lives
05:44
Adding the drawLives() Function
Article

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Komar Academy, Learn the best of web development and technology online

Based in Ontario, Canada, we are a group of professionals dedicated to creating high quality web development courses. Our content is created with the student in mind.  We take care in ensuring the content we create is understandable, relevant and aimed at taking you from novice to expert.

Self-education is the most prominent type of education there is. It shows that you are motivated and willing to explore outside the traditional boundaries of a brick-and-mortar classroom. Anyone serious about learning more about a specific topic would be a fool not to utilize the vast array of information found on the web.

Ready to start learning?
Start Learning Now