Text class
|
Today I have made the text class which will be used to present text in our game. The class supports different fontFamilys, fontSizes and colors and can be placed anywhere on the screen.
Here is a picture of 2 text objects I use here.
Tomorrow I will start working on player score and lifes and also when you destroy a brick which is above level 1(the blue ones) that block should change its level and sprite to the level belove. Right now when a ball collies with a block, it just dissapears and nothing more happens.
I also have this weird bug that if I destroy the first brick(the one in upper right corner), the whole game just freaks out.
|
