KreakOut #4 – Bricks shall be shat
|
A Breakout game without bricks is like a really one-sided Pong match, so now it was time for those! The main part of the block-script is just a copy of the BallObject, the problem was in getting multiple objects of the same type to work.
After awhile we ended up with the same problem again, but at least now we could work out the problem at least. An array starts in a fixed size (normally at least), while a vector does not. This did ’cause some problems, but we eventually got it sorted out and ended up with a looped-version of the other objects (including a vector on the brick-positions being sent to Engine.cpp).
Next on my to-do list (Jokke will work on the state-manager):
|


