Single texture source

  ... discussions about development with the GLES1 branch of AndEngine.

Single texture source

Postby origamiaddict » Fri Feb 04, 2011 4:55 pm


I'm currently developing an andengine based game and it's making good progress.
Nevertheless there are a few problems, one of them is optimizing the game textures.

What I'd like to do (and I think this should be possible) is to load a single .png file containing all the sprite textures used in the game.

The problem is that I don't really know how to go about it.
I want to create TextureRegion and TiledTextureRegion objects using the same texture as a resource.
Sadly I don't really get all the different methods of the TextureRegionFactory class.

How can I create TextureRegions and TiledTextureRegions using a SINGLE TEXTURE as a resource?

Any help would be greatly appreciated!!
Posts: 1
Joined: Fri Feb 04, 2011 4:47 pm

Re: Single texture source

Postby ozi9891 » Fri Aug 03, 2012 6:31 pm

I'm have same problem ! Anybody help ?!?
In libgdx it was fairly simple... -.-
Posts: 16
Joined: Tue Oct 04, 2011 7:35 pm

Return to GLES1

Who is online

Users browsing this forum: Google [Bot], illunara, ttttkk and 16 guests