Simple First Games in C++ : Breakout Multiplayer! @s0lly
Simple First Games in C++ : Breakout Multiplayer!  @s0lly
Uploaded April 2018 | Updated September 2026, 33 minutes ago
I've updated my Breakout game (using the awesome Chili Framework - see his YouTube channel at youtube.com/channel/UCsyHonfwHi4fLb2lkq0DEAA) with the following new features:
- Different types of rocks: indestructible rocks, and rocks that take 2 hits to break.
- Added "spin" on to the ball if the player is moving when hitting the ball: makes the game slightly more interesting!
- Multiplayer! This was actually pretty simple to implement as I had created everything using an OOP approach - meaning that all I needed to do was create a second object of the "Board", "Rocks", "Balls", and the "PlayerPanel" classes and add those into the game loop.

As this was my first project from scratch in C++, I'm pretty happy on the results. One aspect that I got stuck on was trying to figure out how classes interacted with each other. The classes can't "include" each other, which turned out to be an issue when trying to implement "Powerups".

I'll need to get used to that way of thinking to make my games more complicated.

Hope you enjoy!
Simple First Games in C++ : Breakout Multiplayer!First Games in C++: Dungeons and Flagons (v0.4) - Lighting TestsFirst Games in C++: Krazy Karts (v0.80) - Powerup Spawners2D Game Engine in C++: [1] Adding SpritesCELL INVADERS: Trailer - A Game in ExcelGame Engine 18: AsteroidsCreating a Greyscale Mosaic in C++Generate Mazes - in Excel!!2D N-Body Simulation in C++: Brute Force OptimizationsAI Steering Behaviours (v9: Toggle Actors)AI Steering Behaviour Visualisation v2: Flocking Test2D N-Body Simulation in C++ (v2)
s0lly |

Simple First Games in C++ : Breakout Multiplayer!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER