Thanks for the reply!
I think I'm supposed to add the bricks using an Array List but I have no clue how to do that.
And yes, it's part of a larger infrastructure, but I don't think mine is coded correctly.
I zipped up the entire project if that helps...
We're making the game Breakout in my comp sci. class but I cannot figure out how to make the bricks appear, and then automatically make the specific block(s) disappear when the ball collides into them. (We're currently using intersect() to detect collisions).
Currently, I can get the ball to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.