Dev Log: 20 Games Challenge: Game Two: Breakout

Channel:
Subscribers:
26
Published on ● Video Link: https://www.youtube.com/watch?v=JGX6oxlZfj0



Category:
Vlog
Duration: 29:32
33 views
1


Hello! Welcome to my Dev Log! In this video I'm going to go through my code for the second game in the 20 games challenge for video game development, Breakout. I create this game in basic HTML, CSS, and JavaScript so it can be played in any web browser. If you like this video, please be sure to like and subscribe! Thanks for watching!

Game can be played here: https://hoppy-hacker.itch.io/breakout

The goals for this game are:
Create a game space with walls and ceiling.
Add paddle that can be moved left and right via player inputs.
Add ball that bounces off paddle, walls, ceiling.
Add square game objects into top of game space.
Enable ball to bounce off bricks:
Brick should disappear.
Breaking brick adds to player score.
Ball speed increases as bricks are broken.
Score displayed, as well as life counter.
Start with three lives, life subtracted if player misses the ball, game ends when lives are gone.

Timestamps:
00:00 Intro
00:38 HTML
01:26 CSS
02:32 JavaScript
03:25 Input Handler
05:41 Paddle
08:34 Brick
10:41 Ball
18:15 Game
25:28 Animation Function
26:15 isCollide
27:35 Game Testing
29:23 Outro




Other Videos By Hoppy Hacker


2024-04-09Age of Empires 2 Definitive Edition Ivaylo: A Most Unlikely Man: Standard Difficulty
2024-04-08Age of Empires 2 Definitive Edition Kotyan Khan: A New Home: Standard Difficulty
2024-04-05Age of Empires 2 Definitive Edition Kotyan Khan: Blood for Blood: Standard Difficulty
2024-04-04Age of Empires 2 Definitive Edition Kotyan Khan: Saving the Huts: Standard Difficulty
2024-04-03Age of Empires 2 Definitive Edition Kotyan Khan: The Battle at the Kalka River: Standard Difficulty
2024-01-09Age of Empires 2 Definitive Edition Kotyan Khan: Raising the Banners: Standard Difficulty
2024-01-08Age of Empires 2 Definitive Edition Alaric: A Kingdom of Our Own: Standard Difficulty
2024-01-02Age of Empires 2 Definitive Edition Alaric: The Belly of the Beast: Standard Difficulty
2023-12-12Dev Log: 20 Games Challenge: Game Two: Breakout
2023-11-11Dev Log: 20 Games Challenge: Game One: Pong
2023-11-02Age of Empires 2 Definitive Edition Alaric: The Belly of the Beast: Standard Difficulty
2023-11-01Age of Empires 2 Definitive Edition Alaric: Razing Hellas: Standard Difficulty
2023-10-31Age of Empires 2 Definitive Edition Alaric: The Battle of the Frigidus: Standard Difficulty
2023-10-30Age of Empires 2 Definitive Edition Attila the Hun: The Fall of Rome: Standard Difficulty
2023-10-29Age of Empires 2 Definitive Edition Attila the Hun: The Catalaunian Fields: Standard Difficulty
2023-10-28Age of Empires 2 Definitive Edition Attila the Hun: A Barbarian Betrothal: Standard Difficulty
2023-10-27Age of Empires 2 Definitive Edition Attila the Hun: The Walls of Constantinople: Standard Difficulty
2023-10-26Age of Empires 2 Definitive Edition Attila the Hun: The Great Ride: Standard Difficulty
2023-10-25Age of Empires 2 Definitive Edition Attila the Hun: The Scourge of God: Standard Difficulty
2023-10-24Age of Empires 2 Definitive Edition Vlad Dracula: The Night Falls: Standard Difficulty
2023-10-23Age of Empires 2 Definitive Edition Vlad Dracula: The Moon Rises: Standard Difficulty