Forums

OverviewV-Play 2 Support (Qt 5)framerate drop when using particles › Reply To: framerate drop when using particles

OverviewV-Play 2 Support (Qt 5)framerate drop when using particles › Reply To: framerate drop when using particles
#11323

Günther
V-Play Team

Hi Bas!

Particle effects are performance intensive in general. How big the impact actually is mostly depends on the device hardware and the complexity of the particles.
You can have a look at which properties affect the performance the most in the ParticleVPlay documentation. This component should also allow you to reduce the amount of code, as you only need this one component instead of the System, Emitter and ImageParticle.

We also noticed that performance can get better once a particle effect is loaded or used several times. I guess this is due to some internal performance improvements of the Qt particle system at runtime. Maybe gradually changing a particle property, like the lifeSpan in your example, can also limit the capabilities of these improvements.

I suggest you play around with the particle complexity until you reach a good balance between performance and looks.

Best,
Günther

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support