2D Toolkit Forum
2D Toolkit => Support => Topic started by: mamamia on January 08, 2013, 11:12:27 am
-
Hi,
I have noticed all textures I include in atlases are exported in the final executable too. Is there anyway to avoid this? File size is too much.
Thanks in advance.
-
If they are included, it is usually caused by one of two things:
1. You have the sprite collection in a directory called resources (even if it is a subdirectory under a resources directory)
2. You have a live reference to a tk2dSpriteCollection object (not a tk2dSpriteCollectionData) somewhere in your game.
-
Thanks a lot for this.
-
What was the issue on yours?
In 1.90, there is a clear warning when a sprite collection is in a resources directory - it won't let you edit a sprite collection until you move it out. If there are any textures in a resources directory, you are presented with a warning box before you start editing it.
Hopefully that will address those issues permanently.