cocos2d-x
cocos2d-x copied to clipboard
Particle System Produces Non-Deterministic Results when Render Pipeline Lags
- 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:
- Create a scene with many Sprites offscreen and onscreen with actions with scrolling backgrounds (my game uses a card based repeating background)
- 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):
Now switching to a scene with the problem:
Note FPS is 60 but yet the results are non-deterministic.