Deleting Part of a Shape
-
Hi,
I'm making a tetris clone and was wondering if there was a way to delete only part of a shape? Otherwise I would have to keep track of about 200 squares at a time to ensure I can delete each one individually.
-
Sorry, not that I am aware of
-
Best thing is you can keep track of that many things in fuze.
Easily with no slow down.
I'm not sure how you have implemented your game mechanics but I wrote a Tetris clone in basic on a zx81 I think and I used an array to keep track of the blocks that were filled once they had collided with the bottom. -
You could work with createImage combined with setDrawTarget to do something clever maybe, but you'd need to keep track of the squares anyway to know if a row is complete.