top of page

ARCADION - Now We're Talking

  • mrraphael2117
  • Sep 15, 2022
  • 1 min read

The basic game loop for the Ball Break game mode is almost completed.


BLOCKS

I have implemented the basic functionality for the blocks. When generated, each block has a number displayed on it. When a ball hits that block the number will go down by one, and the color will change slightly to a whiter color. When the round is over (all the balls fired have reached the bottom), a new row of blocks will spawn at the top of the screen and the row of blocks that were already there will move down. Each time a new row of blocks is generated the numbers on the blocks will be slightly higher than the numbers on the previous row of blocks


BALLS

Now we can fire multiple balls at once. The number of balls that will be fired from the ball launcher, is incremented by one at the end of each round. In the future, I plan to add a power-up that does this. When a ball collides with the powerup, the number of balls that will be fired will increase by a number between [1 and 3] or [1 and 5].


ROUNDS

Rounds start when the player fires the balls at the blocks. A round ends when all the balls that were fired, return to the bottom of the screen.


GAMELOOP

So the basic game loop is almost complete, all that is missing is the "lose state" and the ability to restart the game/game mode.



GAMEPLAY: Shooting balls and breaking blocks


FEATURED CODE: Generating blocks

ree










Comments


bottom of page