Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
TextureRegion of TextureRegion — Gideros Forum

TextureRegion of TextureRegion

ScouserScouser Guru
edited May 2012 in Suggestions & requests
I would like to add all images including fonts to one large texture and access it like so:
Texture texture = TexturePack.new("game-textures.txt","game-textures.png")
TextureRegion enemies = texture:getTextureRegion("enemies.png")
TextureRegion char = new TextureRegion(enemies,0,0,48,48)
Bitmap bmp = Bitmap.new(char)
Is this something that can be done or am I stuck with doing things the way I did for This thread

Likes: shivaj

+1 -1 (+1 / -0 )Share on Facebook

Comments

Sign In or Register to comment.