Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JavaScript Game for beginners Breakout HTML5 Game
Rating: 4.4 out of 5(35 ratings)
4,778 students

JavaScript Game for beginners Breakout HTML5 Game

Make a JavaScript Game - Create your first HTML5 Canvas JavaScript web based game from scratch explore how make a game
Created byLaurence Svekis
Last updated 11/2024
English

What you'll learn

  • How to create a Game from scratch
  • Build HTML5 Brick breaker Game
  • Create a Game using JavaScript
  • How to create a Breakout game with JS and HTML5 Canvas
  • Updating and drawing on Canvas
  • Creating interaction and dynamic content within a game

Course content

2 sections31 lectures2h 15m total length
  • Introduction to creating a brick breaking game from scratch2:14

    Build a brick breaker game from scratch using JavaScript and the HTML5 canvas, implementing graphics drawing, animation, input handling, collision detection, blocks, and debugging.

  • Code Editor Update2:45
  • How to setup a Game Breakout Game Setup6:08

    Set up a breakout game by creating an html file, linking breakout.js, and building a dynamic html5 canvas with a 2d context using a grid-based width and height.

  • Setup HTML and JS files and Canvas ready to draw code snippet0:06
  • How to create Player Character Setup Player Paddle4:37
  • Source Code draw player paddle on screen for game0:07
  • How to create Player Movement KeyPresses.5:14

    Track the player's key presses with a keys object, updating it on keydown and keyup for left and right arrow movements, using key codes and the event object.

  • Source Code - Add key press listeners to game0:11
  • How to move player in Game Move Player Paddle.4:02
  • Source Code Game Animation Frame movement on canvas0:13
  • How to add Player Mouse Movement Player.4:20
  • Source Code Move player with Mouse position0:17
  • How to add to game Add a Bouncing Ball9:43
  • Source Code Draw Bouncing Ball on HTML5 Canvas Game0:27
  • How to create Collision Detection within Game14:35
  • Source Code HTML5 Collision Detection Code0:58
  • How to generate the game screen Add Bricks to Screen11:31
  • Source Code Draw bricks to Game1:12
  • How to add objects to Game Update Bricks.3:59
  • Brick Collision Detection Source Code1:23
  • How to add Scoring and Win conditions to game10:10

    Learn how to implement scoring and lives in a breakout html5 game, track brick values, update the score on brick collision, handle ball launch, and reset game state.

  • Source Code Scoring1:37
  • Final Game tweaks and Adjustments11:29
  • Source Code Game Updates1:59
  • Game Bug Fixes and Tweaks9:22

    Fix the keyboard and mouse controls to ensure the ball moves with the paddle in a dynamic breakout HTML5 game, while refining grid, canvas, and paddle sizing.

  • Source Code Debugging Game updates2:05
  • How to add Bonus Content to your HTML5 Game14:50

    Add bonus drops to the HTML5 breakout game by spawning bonus items on brick hits, dropping them toward the paddle, and rewarding points on paddle collision with blinking visuals.

  • Source Code Bonus Blinking Game Updates2:35
  • Game updates Ball Speed Update4:23
  • Final Source Code for HTML5 Canvas Breakout Game2:41

Requirements

  • JavaScript and prior coding experience
  • Access to an editor and browser

Description

Make your own games online - start with this amazing simple game project creating a Breakout game from scratch

Explore how you can write code to create GAMEs - Games that run within any browser - Interactive Games that are fun to play and even more fun to make yourself.  Dynamic Games that can be built upon to customize and add your own game ideas. See what you can build within just a few short hours. 

Want to build online games - want to learn more about game creation -  learn from experienced developer who has created over  100 online games. Source Code is included - try the code for yourself and customize it to make your own  version of the game!!!! You will be amazed at how easy it can be.

Course covers all the basics of creating a fully functional  game from start to finish!!!

  • Setup your game within HTML

  • Create page elements with JavaScript

  • Explore how to set objects and values to prepare for game play

  • Add interaction - keyboard arrow keys and mouse movement to move your character on the screen

  • Add animations for smooth game  movement

  • Create conditions for  ball behaviours, player behaviours

  • Build  multiple interactive items in the game

  • Add collision detection to track interactions

  • How to debug your game

  • How to improve upon the game

  • How to add bonus items,

  • How to setup game start conditions and game win conditions.

Explore how you can create your first game using JavaScript and HTML5 canvas

Apply JavaScript to HTML5 canvas element - drawing on canvas lines and shapes.

How you can add animation to your Game with animation frames

How to make your game interactive with keyboard event listeners

Dynamic and interactive game project to practice and learn more about JavaScript and HTML5

Source Code is included

How to debug your HTML5 canvas game project

Making tweaks and adjustments adding game play , and scoring

Taught by an instructor with over 20 years of real world experience ready to help you learn more about HTML5 and JavaScript.

Start building your own version of the game TODAY.

Who this course is for:

  • Web developers
  • Game creators
  • Web designers
  • Frontend end developers
  • Anyone who wants to make a game