That doesnt seem to be working for me...not sure what i did wrong
Type: Posts; User: Ceasar
That doesnt seem to be working for me...not sure what i did wrong
Ok here is another question.
If i used the code to make all the bricks of the game how can i change the colours between them?
for (int i = 0; i < 8; i++)
{
for (int j =...
yup that work and i have assigned points to the colors.
private static final int BRICK_HEIGHT = 8;
private static final int BRICK_WIDTH = 16;
Umm it creates the blocks but they seem to be stacked on each other.
ummis it possible to use the brick height and width in the code so they dont stack on each other?
hey guys i need help making a loop to create bricks in my breakout game.
here is the code to make one brick:
//creates a brick in breakoutWourld.
brick = new Brick(1,"red");
...