Hi I’ve noticed some problems when using CCParticleSystemQuad. If I’m adding the texture like this
_frenzyTrail->setTexture(CCTextureCache::sharedTextureCache()->addImage("stars.png")); the particles shown on screen look the way they’re supposed to (first attached image). I’m using a 32x32, 24bit png image.
Then I’ve added that image to a texture atlas using TexturePacker. The atlas uses the same bit depth and the sprite looks the same. Now, when I set the texture like this
_frenzyTrail->setDisplayFrame(frameCache->spriteFrameByName("stars.png")); I get some strange particles, see second attached image.
I figured that something is wrong when I’ve tried some other thing, I’ve replaced the trees with the particle sprite from the atlas and the stars are displayed ok but the particles are not, see third attached image. Anyone encountered this before?
20111223222403.jpg (248.8 KB)
20111223222016.jpg (269.0 KB)
20111223223701.jpg (236.0 KB)