cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

Particle System Produces Non-Deterministic Results when Render Pipeline Lags

Open mstaylor opened this issue 3 years ago • 0 comments

  • cocos2d-x version:4.0
  • devices test on:IOS/Andriod/IOS Simulator/Android Simulator
  • developing environments
    • NDK version:shouldn't matter (21.3.6528147)
    • Xcode version:12.4

Steps to Reproduce:

  1. Create a scene with many Sprites offscreen and onscreen with actions with scrolling backgrounds (my game uses a card based repeating background)
  2. Observe particles as visible in the screenshot below

For this case, I've observed that particles work fine with relatively static scenes. For an example, here is my menu screen (particles work as expected):

image

Now switching to a scene with the problem:

image

Note FPS is 60 but yet the results are non-deterministic.

mstaylor avatar Mar 28 '21 13:03 mstaylor