Reputation: 254
I am learning how to animate a sprite, so the sprite sheet image is foud online. Problem is that I also need the plist file, which I don't have. I tried Zwoptex, but seems not work.
Any one got any idea? Thanks.
Upvotes: 4
Views: 6690
Reputation: 1542
On thing you CAN do if you already have a png or gif file is to download something like Paint.NET, make it transparent similar to this link here. Then, you can use Texture Packer as mentioned above to split the sprites. Texture Packer can see the images, but only when it is transparent.
After that, you can then recreate the sprite sheet.
Upvotes: 0
Reputation: 1097
You can also go for the Texture Packer to create the Sprite Sheets as well.
For Tutorial with Spritesheet from Ray Wenderlich Demo, you can use to the Resources and play with the Sprite sheet Animations. It would help you to learn making the Animations.
Regarding already created sprite sheet you need the plist from who-so-ever have created the Sprite Sheet
OR
you need to create the chunks using Photoshop and create a newer Sprite Sheet.
All I can suggest these options.
Upvotes: 2
Reputation: 18159
Zwoptex works just fine. It does output a .plist file for cocos2d perfectly.
I am using the Mac version. Go to Publish settings, and there you should see the output location for the .plist file. Now, when ready, click Publish. It will output both the texture and the coordinates in the locations that you set in Settings. And it works.
Upvotes: 3