AndEngineSVGTextureRegionExtension
AndEngineSVGTextureRegionExtension copied to clipboard
Added createTiledFromAssetDirectory() method to SVGBitmapTextureAtlasTextureRegionFactory
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.
ping?