Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

JavaScript Breakout Game from scratch with only JavaScript

person icon Laurence Svekis

4.6

JavaScript Breakout Game from scratch with only JavaScript

JavaScript and the DOM - explore how YOU can create amazing things with JavaScript - interact with content and more

updated on icon Updated on Apr, 2024

language icon Language - English

person icon Laurence Svekis

English [CC]

category icon Development,Game Development

Lectures -17

Resources -2

Duration -1.5 hours

4.6

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

Explore how you can use JavaScript DOM manipulation to create a GAME

Learn more about JavaScript and how JavaScript ES6 can be applied to create amazing JavaScript projects.  Course is loaded with JavaScript Examples and perfect JavaScript for Beginners to learn more about JavaScript Online.  Writing JavaScript Code using vanilla JavaScript - no libraries no tricks this JavaScript tutorial the JavaScript Course will walk you through creating your own JavaScript code and provide many JavaScript Code Snippets for use in JavaScript programming.  Learn JavaScript with this step by step JavaScript Course.

Learn more about JavaScript and Document Object Model interaction, updating and moving elements dynamically using JavaScript.  Move the ball around the screen by hitting it with your paddle, if the ball hits a break it is removed and your score increases.   This is all JavaScript and possible with common JavaScript code.  Perfect way to practice learn JavaScript and have FUN doing it.  By the end of the course you will be able to produce your own version of the game, make it even better enhance and more.   This course is perfect as a practice application that can be used as starter code for even more.

Source Code and resources are included to get you started quickly.

JavaScript is powerful and can do so much - see it in action while building a GAME.  - Then relax play the game see how you score.....   Can you beat the high score???????

Build it with JavaScript........

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

Course Covers

  • Game Setup prepare to make the game HTML

  • Create Elements using JavaScript

  • Add style to elements

  • Event handling Key Presses

  • Start Game variables

  • Create the gameboard dynamically

  • Setup Bricks and elements

  • Moving elements on the page DOM style update

  • Animation frame

  • Get element position check collision Detection

  • Check if ball hit brick take action

Who this course is for:

  • Beginners to JavaScript
  • Anyone who wants to practice writing JavaScript
  • Web developers

Goals

What will you learn in this course:

  • How to use JavaScript
  • Develop Basic JavaScript Skills

Prerequisites

What are the prerequisites for this course?

  • Core JavaScript Knowledge
  • HTML and CSS knowledge
  • Prior JavaScript experience
  • Fundamental JavaScript concepts
JavaScript Breakout Game from scratch with only JavaScript

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
2 Lectures
  • play icon Introduction Brick Breaker Game 02:15 02:15
  • play icon Course Resources
Build a block breaking game
14 Lectures
Tutorialspoint

Instructor Details

Laurence Svekis

Laurence Svekis

e


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515