View Full Version : zoom out option

07-16-2007, 09:05 AM

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:

ralph l mayo
07-19-2007, 09:51 PM
What do you have so far? If the answer is "nothing" or close to it, consider using the SDL library. It makes it really easy to load and manipulate bitmaps.