Breakout Game Using Pure Javascript - Step by step
based on / largely inspired by
2D breakout game using pure JavaScript
(MDN - Mozilla Development Network)
-
HTML5 Canvas element and CSS style
-
Address canvas in a script and draw static ball
-
Animate a ball on the canvas
-
Paddle and Paddle controls
-
Bounce on paddle, lives and Game Over
-
Bricks
-
Collisions with the bricks and score
-
Mouse and Touch controls
-
Smooth rendering with Animation Frame
-
Free zone at the bottom for better Mobile Phone use
Other tests
Hosted on
http://sheldon.privatedns.org/Breakout/Breakout-JS/index.html