Work in Progress

Breakout Battle

7

was8bit 2023-05-15 02:01 (Edited)

.... wip

V0.2 missed bricks roll back up to top... tweaked brick speed up
V0.3 i like this brick roll back to the top... i have an idea what to add to it...
V0.4 green and blue upgrades available ;)
V0.5 all upgrades SHOULD work... please test ...
V0.6 added scoring system, and fixed and tweaked things...
V0.7 added shields, tweaked brick layout generation...


McPepic 2023-05-15 14:14

Really cool! It’s like a combination of breakout and space invaders, right? I did notice that the ball sometimes passes through platforms sometimes. I feels pretty good to play so far, though! :)


was8bit 2023-05-15 19:23 (Edited)

Thanky :):):)

Yes, its part breakout, part space invaders, and part other stuff....

notice how you don't have any lives to lose, and the ball bounces rather than resetting...

Also notice how your ball only changes its angle of attack if the ball bounces up and through from under your paddle .... otherwise the ball angle remains the same... when it does this, it also sounds different ;)

It will also have: shields that move with the bricks (that can be removed with several hits with your ball), fireballs that shoot straight down, and cannon balls that bounce downwards kinda like your ball does (either of which will end your game instantly if they hit you)

I am currently working on tweaking the speed so the bricks move faster during your round, as well as start faster with each leveup...


was8bit 2023-05-15 19:28 (Edited)

The ball DOES go thru the bricks occaisonally because if the speed of the ball... if the speed moves by more than 4 pixels or more per movement, this can happen...

also it can do this after it removes a brick... the game checks for contact via by temporarily converting all 9 possible cell blocks around it into sprites, and check for hits... and to prevent the ball from potentially taking all 9 bricks, i've added a time delay on the check as soon as it detects one hit... i can tweak the time down abit to reduce this perhaps....

... but then again, i test and retest and sometimes i like those little accidental results.... i will keep tweaking and polishing with each upgrade ;)


was8bit 2023-05-15 19:36 (Edited)

It will also have upgrades....

currently you are playing with both paddle upgrades....

the ball will eventually change colors to match the color of the beick it hits... if your ball already matches the brick color it hits (red green blue) you will get different upgrades...

and each time you get hit with a cannon or fireball, you will lose an upgrade (or if you no upgrades to lose, its game over)

The upgrades will be: double wide, double speed, and double balls...


was8bit 2023-05-15 19:41 (Edited)

I haven't decided exactly what to do when the bricks reach the player paddle's level... im leaning towards the bricks reloading to the top, with extra bricks added... that seems to be a unique approach... i will play test it to be sure i like it :)

(Perhaps even having the entire line reload fully)


was8bit 2023-05-15 19:51 (Edited)

To experiment with different paddles... find this code

REM SINGLE SMALL = 16
REM SINGLE WIDE = 20
REM DOUBLE SMALL = 24
REM DOUBLE WIDE = 28

SPRITE 2,PX,104,28

And change 28 to any of the four #'s listed above ;)


was8bit 2023-05-15 20:13

I am thinking just moving then missed bricks to top is abit too easy and boring... i will try adding more bricks around the one rolled brick...


was8bit 2023-05-15 20:49 (Edited)

So i decided to stick to NOT adding more bricks as they reroll back to the top...

To make this more challenging though, i will add a scoring style that will penalize you for taking too long to clear a stage and rolling bricks back to the top...

So, say each possible winable points at start of a round = ROUND x 100... then as each brick rolls back to the top, it will reduce the amount you will earn when the round is over...

... will have to add then tweak the scoring system....

... will probably make it a "game over" if you cannot clear a round before the possible round points reach zero...


McPepic 2023-05-15 21:49

Wow. Sounds like you have a lot of the game worked out already! Sounds pretty fun.


was8bit 2023-05-15 22:46

A day off works wonders ;) ... not guaranteed to get it, but its nice when i do :)


was8bit 2023-05-15 23:58

... now i get to add shields, cannon balls, and fireballs...

I will have to reassign player sprite number to allow a total of 8 cannon balls to be added into the code... they will bounce around like player balls, but they will have a timer that removes them after some time, and they wont remove bricks...

Letting a cannon ball or fireball hit your paddle will remove your upgrades... and if no upgrades, will end game...

I will work on shields first... then cannon balls, then fireballs ... then game should be finished at that point...

It IS rare infinish a game... since ive started this, and got this far, i will finish it..

.. ive got more games i want to finish... IF i can get the time off .... ....


was8bit 2023-05-16 00:59

... that's probably all for now... will try to finish as i find time...


Awsa 2023-08-20 20:18 (Edited)

Wow this is cool! I just remembered this game!


was8bit 2023-08-20 23:33

Thanky :)

If you browse other people’s stuff there are more breakout games, if you can find them ;)


Log in to reply.