RyanC
Member
Hi Guys,
I am trying to make some 2d fog/clouds like a kind of hurricaine effect in my 2d platformer.
Problem is I've tried many ways, and all are lagging the game on low end devices.
My guess is it's due to the gpu trying to blend the fog sprites over large areas of the app surface, but if I use gpu_set_blendable(0) then it has no transparency, and alpha_testref(128) version looks terrible too.
I tried particles. I even made a system that uses draw_sprite_part so it only covers the app_surface but it still lags the game.
Any ideas welcome?
I am trying to make some 2d fog/clouds like a kind of hurricaine effect in my 2d platformer.
Problem is I've tried many ways, and all are lagging the game on low end devices.
My guess is it's due to the gpu trying to blend the fog sprites over large areas of the app surface, but if I use gpu_set_blendable(0) then it has no transparency, and alpha_testref(128) version looks terrible too.
I tried particles. I even made a system that uses draw_sprite_part so it only covers the app_surface but it still lags the game.
Any ideas welcome?