Zwoptex is a 2D sprite-packing tool suitable for game designers.
Questions tagged [zwoptex]
12 questions
3
votes
1 answer
Setting the texture of a particle using CCTextureCache
I am giving my first steps with cocos2d-iphone.
I am using:
CCSpriteFrameCache *frameCache = [CCSpriteFrameCache sharedSpriteFrameCache];
[frameCache addSpriteFramesWithFile:@"textures.plist"];
to use my zwoptex file. With that set, I am creating…

Macarse
- 91,829
- 44
- 175
- 230
2
votes
0 answers
sprite sheet arrangement algorithms
I'm creating a simple 2d game for android using opengl and sprite-sheets, now to create these sprite-sheets I use zwoptex.
My question is, is there any utility to using any of the algorithms over any of the others,e.g. at the moment I'm using tree…

Mike H-R
- 7,726
- 5
- 43
- 65
1
vote
2 answers
cocos2d retina support not working anymore
I am having a problem with my cocos2d game that supports retina display. Everything used to work fine but now i am working on an update. In this update i have only added 3 new images (also in hd). I am using texture atlases made with zwoptex. the…

KDaker
- 5,899
- 5
- 31
- 44
1
vote
1 answer
Animation with large number of sprites in Cocos2d iOS?
I have to animate(dancing) a character(guy) for about 6-7 seconds i.e 500-600 frames. I have done animation before by creating spritesheets using zwoptex and then loading it with CCSpriteFrameCache && CCSpriteBatchNode with the help of The Great Ray…

hemant
- 1,771
- 4
- 31
- 43
0
votes
3 answers
Objective C : Writing into a Plist
Even though i know there are at least 2 or 3 topics with this name, i didnt find a proper answer so far to my problem :
I want to edit a Plist (which has been created by zwoptex (image/animations program)) in order to divide every number in it by…

nTNT2
- 1
- 2
0
votes
1 answer
How to read Zwoptex XML files in Xcode?
When Zwoptex files are saved in the uncompressed zssxml format, many of the characters are unreadable when the file source is viewed in Xcode.
Is there some kind of setting or encoding that needs to be set so that it can be read in Xcode like an…

xcoder
- 967
- 2
- 11
- 24
0
votes
0 answers
cocos2d and Zwoptex Texture packs
I have been (trying to) porting a bullet engine over to another game code for some time now. One of my hiccups is that fact that the character isn't firing the bullet, despite my best efforts. I have a Bullet class and a BulletCache class.
One of…

GPP
- 2,157
- 3
- 18
- 26
0
votes
3 answers
Terminating NSInvalidArgumentException
I feel really bad that I am asking a question like this. I've been searching but i couldn't find a solution for it. I was going through a tutorial (http://www.raywenderlich.com/1271/how-to-use-animations-and-sprite-sheets-in-cocos2d) and had a…

user903373
- 1
- 1
0
votes
1 answer
Image shifts right after animation completes
I have an animation I'm running from a spritesheet. On the last frame of the animation, the image seems to move to the bottom-right of the sprite boundary. There's a video here:
http://vimeo.com/27347999
I can't find anything wrong with my code; the…

rob
- 4,069
- 3
- 34
- 41
0
votes
1 answer
Why are my sprite sheet's frames not visible in Cocos Builder?
I have created a sprite sheet with zwoptex. Then I just dragged the .plist and .png files to my Cocos Builder project. After this I wanted to take a sprite frame and set it to a sprite:
But the sprite image is empty !! Af first I thought it was…

Ramy Al Zuhouri
- 21,580
- 26
- 105
- 187
0
votes
1 answer
How to prevent pixel bleeding from rendering sprite-sheet generated with Zwoptex on older iOS device?
I packed up several individual sprites and generated a big sprite-sheet 2048*2048 in size with Zwoptex. But I scale down to match each iOS device such as 2048*2048 for iPad HD, 512*512 for iPhone, etc.
I found out that "Spacing Pixel" option in…

haxpor
- 2,431
- 3
- 27
- 46
-1
votes
1 answer
How to create plist using Zwoptex?
I am new in Cocos2d game developing. I have use more images for CCSprite animations. I am using that image like below code :
CCAnimation *animate=[CCAnimation animation];
[animate addFrameWithFilename:@"Criter1.png"];
[animate…

user104
- 19
- 6