Sprites sheet using Texture2D class

Discussion in 'iPhone/iPad Programming' started by mlady, Mar 4, 2009.

  1. macrumors member

    Joined:
    Sep 18, 2008
    #1
    hi to all,

    in my game I would like to use sprites sheet (similar to this http://www.yoyogames.com/extras/resource/file/san1/244/244/princespriteswb3.gif) so I don't need to load every file separately (while it uses lots of memory)

    I am wondering how could I do that using Texture2D class. I will probably need to write new method just to show a crop from that sprite sheet, but maybe someone has experienced the same thing.


    Thanks in advance.
    martin
     

Share This Page