KreakOut #8 – Next time I’ll use MP5s

Our “Random Difficulty”-setting got a little less random with the introduction of a proper spawn for the ball, on top of the paddle where it belongs. It’s still pretty random at times, though.

And it follows it as well, because that seems kinda logical. Ignore the lack of dynamic variables in there.

So, except for the minor tweaks that we keep adding (this time it was things like lives, small ball-on-paddle change and some checks on when you win/lose), we also added support for sound! And this wasn’t an easy task, easily one of the more frustrating ones so far since bit-rates and cluster sizes aren’t the first thing you learn, really. After some help from different people (I missed the lesson on adding sound), we managed to get it to work more or less. We spent a lot of time trying to figure out why there was a crackling noise right before a song started, but the solution was a lot easier than I had hoped for. Mp3-files aren’t used in games commonly for a reason, .ogg solves everything!

It currently covers 7 different cpp/h-files + the actual .ogg-files

And since we’re on a good pace here, here’s the to-do list and a suiting picture.

Next on the to-do list:

  • ttf-implementation and GUI
  • High Scores

mm...FFII for the NES...