Pushing limit GDevelop


#1

Pushing limit

Hello, I am using physique to create water particles. I know its not designed for it. After 250 objects things start slowing, so i have to limit particles to 250. Any custom suggestions to increase particles while retaining performance. Is there a some sort of cap build in engine at
250 objects?

updated-

after some optimization i reached 400 particles.

updated 2

650 particles + effects


#2

250 objects with active physic is heavy.
Each objects have their own physic behavior running at each frames.

For improve the performance it’s very common to stop and disable the physic behavior when the object don’t move.
You can use the velocity of the object, if this one is very low, then disable the physic.
And if the object is in collision with another enable the physic.
Think also to disable the physic when the objects are offscreen, and also remove them.


#3

Thankyou for helping.