Would it be possible for me to put those shapes in an array so i don't have to write if statements for each and every one?
Type: Posts; User: Skynet928
Would it be possible for me to put those shapes in an array so i don't have to write if statements for each and every one?
all I want to do is make shapes at the top of the screen and make a paddle with a ball at the bottom and every time the ball hits the paddle and it hits the block the block disappears.
So in order to have the shapes drawn, I have to have them drawn every cycle and if I tell it to skip the statement then it will erase it? What if I wanted to draw multiple blocks that will erase when...
Well, it's not that easy. I could comment it out but I want to get rid of it mid game. Not during compilation.
So I have this bit of code, not complete but can give you complete code if needed, and so far, it makes a few shapes which is great and all but I need it to delete shapes on request. I want to make a...