bitbrain / braingdx

:video_game: Game jam framework based on libgdx.
Apache License 2.0
84 stars 1 forks source link

Do not draw/process particle effects which are not visible on the screen #189

Closed bitbrain closed 4 years ago

bitbrain commented 5 years ago

Right now particle effects are always drawn. Imagine loading a tiledmap with 80 particle effects, but only ~2 of those are visible at once. We should check if an effect became visible, maybe even implement #17 also for particle effects as well.