cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.

Home Page:https://www.cocos.com/en/cocos2d-x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Particle System Produces Non-Deterministic Results when Render Pipeline Lags

mstaylor opened this issue · 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.