Hi
I am writing a Tetris Type game where the Image object moves about the screen.
Once it has found its final location It does not move again.
I then need to create another image object exactly the same as this one and repeat the above.
After all the larger shapes have filled the screen up, I then create a smaller Image Object and this then starts to fill up the screen in the empty areas.
Once again I need to create lots of the same object, but I don't know know how many it will take to fill the screen.....
There could be 2000+ stationary Objects on the screen at the end of the Level.....
Because each screen level is different I don't know how many of the objects it will take to fill each background, so I don't know how many objects to create in the first place!
Is there a way to duplicate existing Image objects?
Failing that can someone please suggest a nice solution!
TIA
Andy
I am writing a Tetris Type game where the Image object moves about the screen.
Once it has found its final location It does not move again.
I then need to create another image object exactly the same as this one and repeat the above.
After all the larger shapes have filled the screen up, I then create a smaller Image Object and this then starts to fill up the screen in the empty areas.
Once again I need to create lots of the same object, but I don't know know how many it will take to fill the screen.....
There could be 2000+ stationary Objects on the screen at the end of the Level.....
Because each screen level is different I don't know how many of the objects it will take to fill each background, so I don't know how many objects to create in the first place!
Is there a way to duplicate existing Image objects?
Failing that can someone please suggest a nice solution!
TIA
Andy