ZhouWeikuan / cocos2d

cocos2d for android, based on cocos2d-android-0.82, and now ported from cocos2d-iphone 0.99.4. The googlecode address is here: http://code.google.com/p/cocos2d-android-1/ . There are several demos to watch.
610 stars 291 forks source link

Live particles' Y position changes even w/ kCCPositionTypeFree #63

Open levinotik opened 12 years ago

levinotik commented 12 years ago

Source says that if you set the position type of a particle system to kCCPositionTypeFree, then /* If the emitter is repositioned, the living particles won't be repositioned /. However, when I reposition the emitter, the X position of live particles don't change, but the Y does...

levinotik commented 12 years ago

Apparently, setting the positionType to kCCPositionTypeRelative results in the desired behavior. Seems to run counter to the comments in the source.

DaleCantwell commented 11 years ago

You are a lifesaver this bug still exists in cocos2d-x