gemguy
07-16-2007, 08:05 AM
Hi,
Im developing a game where i load a image of some size (something like boxes). user have option of selecting number of boxes. And what i need is the alignment of the image should be done automatically even if the users select any number of boxes.
The boxes must be zoomed in or out in window and image should be in center of the screen. How it can be done... As Im in a initial stage it would be help me with some code..:confused: :confused:
Im developing a game where i load a image of some size (something like boxes). user have option of selecting number of boxes. And what i need is the alignment of the image should be done automatically even if the users select any number of boxes.
The boxes must be zoomed in or out in window and image should be in center of the screen. How it can be done... As Im in a initial stage it would be help me with some code..:confused: :confused: