Particles flicker when setPosition is changed

Particles flicker when setPosition is changed
0.0 0


Hi All,

I’m about to be ready to release my game, but I still have one nasty problem to solve.

I’m using a particles, slightly modified CCParticleFlower with positionVar to be in form of vertical line, from top to bottom. In CCNode update I constantly change the position of the particles from left to right across the whole screen, when it reaches the right side I set x to 0 and start scrolling to the right.

The problem is when I reset the X value to 0, all particles blinks, they disappear for about one frame and appear in the next frame, it causes a nasty flickering effect.

It does not happen when I increment X values by small numbers but when the particle position is reset to its beginning position it flickers, on win32, android and ios. I’m using most recent 1.1 version (master branch)
If someone could help me with that I would be ready to send my game to the store.

Thanks in advance,