What are the dimensions of the brick array? Is there a relationship of 3 in the dimensions?
How do your loops go thru the brick array looking for collisions?
Type: Posts; User: Norm
What are the dimensions of the brick array? Is there a relationship of 3 in the dimensions?
How do your loops go thru the brick array looking for collisions?
Which rows? Then look at the array that holds the bricks and see if there is a correlation.
Where is this line that divides where a brick is hit?
Does it relate to the array that holds the bricks?
Thanks.
Have you tried debugging the code by adding printlns to show the values of the variables that control what is happening? Print them out every time they change and when they are used to...
Sounds like a logic problem.
Have you tried debugging the code by adding printlns to show the values of the variables that control what is happening? Print them out every time they change and when...