Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: zoom out option

  1. #1
    New Coder
    Join Date
    Apr 2007
    Location
    India
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    zoom out option

    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..
    GemGuy

    Be friend of me
    Hey what a fun

  • #2
    Regular Coder ralph l mayo's Avatar
    Join Date
    Nov 2005
    Posts
    951
    Thanks
    1
    Thanked 31 Times in 29 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •