A coordinate problem occurs when cocos2d particles are used, that is, layer movement. However, the emitted particles in the particle system still do not move the screen position, causing a drag when moving the layer:
Ccparticlesystem * participant sys = [ccparticleflower node];
[Self addchild: Participant sys];
The particle system has a positiontype parameter. The default value is kccpositiontypefree, which is the above free state. You can set it to kccpositiontypegrouped without changing the position of the particle system.
There is also a kccpositiontyperelative type. According to the annotation, when a particle is associated with a Sprite, it is expected that the particle follows the sprite.
Ccparticlesystem * participant sys = [ccparticleflower node];
[Self addchild: Participant sys];
Particle SYS. positiontype = kccpositiontypegrouped;