- Home /
change my sprite during the work (reuse it)
can I change my multi sprite during the work on the game? for example I created a big multi sprite of my player by using TexturePacker. I import it into unity slice it and create an basic animation of my player.
after sometime I decided to add another animation to the player, the original sliced multi sprite have a lot of empty space inside, the question is there any way to reuse this multi sprite without slice and create animation again. I know that I can import new multi sprite with all the images together slice them create new animations and switch them in the animator controllers but I look for easier way to not touch my old images, just add the new one to the multi sprite. when I import by TexturePacker I so that I have .txt file with son can it help me? there is a way to do it with unity?
thanks.
Answer by Andreas Loew · Dec 11, 2015 at 05:07 PM
You are using the "old" exporter in TexturePacker. Please use "Unity - Texture2D sprite sheet" and get the free TexturePacker importer plugin from here: https://www.assetstore.unity3d.com/en/#!/content/16641
This will automatically slice your sprites, keep the pivot points and optimize your polygon meshes.
See https://www.codeandweb.com/blog/2014/03/28/using-spritesheets-with-unity for more details.
thanks A lot you right I upgraded my TexturePacker, and basically that all. it makes my life so easy, thanks again.
Your answer
Follow this Question
Related Questions
Minimizing Texture Size iOS 2 Answers
Image is crushed --- Sprite 2 Answers
Trying to assign a sprite, but getting Type missmatch 1 Answer
Convert Sprite Image to Texture 6 Answers
confusion with sprites. 0 Answers