Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added createTiledFromAssetDirectory() method to SVGBitmapTextureAtlasTextureRegionFactory #3

Open
wants to merge 2 commits into
base: GLES2
Choose a base branch
from

Conversation

nazgee
Copy link

@nazgee nazgee commented May 3, 2012

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 added 2 commits May 3, 2012 17:11
…TextureRegionFactory

This method allows to load mutliple assets from a given directory to a
single ITiledTextureRegion.
@nazgee
Copy link
Author

nazgee commented Jul 14, 2012

ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant