AndEngineSVGTextureRegionExtension icon indicating copy to clipboard operation
AndEngineSVGTextureRegionExtension copied to clipboard

Added createTiledFromAssetDirectory() method to SVGBitmapTextureAtlasTextureRegionFactory

Open nazgee opened this issue 12 years ago • 1 comments

This method allows to load mutliple assets from a given directory to a single ITiledTextureRegion.

Instead of loading multiple assets one by one it is sometimes convinient to do sth like this:

ITiledTextureRegion TEXS_FLOWERS = SVGBitmapTextureAtlasTextureRegionFactory.createTiledFromAssetDirectory(
                    atlasFlower, c, "flowers", Consts.FLOWER_TEX_WIDTH, Consts.FLOWER_TEX_HEIGHT);

And have dozen of files loaded as tiles of ITiledTextureRegion in just one go.

nazgee avatar May 03 '12 16:05 nazgee

ping?

nazgee avatar Jul 14 '12 18:07 nazgee