If there is someone that can help me out or point me in the right direction I'd appreciate it. TexturePacker, 2D Toolkit, and GAF: Flash to Unity are probably your best. I dont necessarily have a problem with this since I've done something similar in Flash, but with all of the support for Unity and my inexperience with Unity ATM, I feel there should be a way to do this already. Unity Create Sprite From Image We covered how to use the Grid mode of the. Quickly create atlases that will optimize packing by rotating sprites and allowing a breadth of other options in a simple interface. The reason for my desire to create sprites dynamically this way is because if I am pooling game objects, I need a way to reassign a game object's sprite renderer to a different sprite based on a frame number. TexturePacker is an engine agnostic atlas creator with support for both Unity and the 2D Toolkit plugin. The issue I am facing is there doesnt seem to be a way to do this without me writing my own parser(whether its json, xml or any other format), create a 2dTexture from the atlas, THEN creating a sprite from the texture. What I want to do is develop a way that will allow me to say either "SomeGameObject.GetSpriteFromAtlas(name)" or "Material.GetSpriteFromAtlas(name)". Did you check SpritePacker tool of Unit圓d I dont know why are you thinking about TexturePacker (paid app) if your Unit圓d editor has an excellent tool (besides its working on the native layer with Unit圓d engine and your problems can be solved without headache). Create your sprite sheets in seconds: Create sprite sheets the fast way Download TexturePacker now. I followed the tutorial at and it seems the script does its work and recognizes the individual textures in the Unity Editor. TexturePacker is sprite sheet packer and optimizer for professional game developers. I've created an atlas through texture packer and have used the texturepacker importer script for Unity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |