Mattias Myde
Member
Hi everybody! I have a problem with my game and I've been googling like a mad man trying to figure it out, and I would reeaaaally appreciate any help I could get. My game is a simple 1vs1 on small arenas (you share a keyboard, very simple), and basicly you restart the game when one player has died.
But after a few games the game starts to lag, fps drops and it never recovers, just keeps on decaying the longer you play. I've double and trippled checked that there is no instances that shouldnt be there and so on.
I use a lot of particle systems, mainly with emitters set to burst, no streams, do I need to destroy all those systems even though they are burst-emitters? In that case how to do that smoothly, without loosing splash effects and so on?
When I run in debug mode, this is how it looks after awhile, but I still can't figure out what to change.
Like, if "DrawTheRoom" is 49%, why is SpriteDraw only 4 %? The numbers don't add up?
Thanks in advance!
But after a few games the game starts to lag, fps drops and it never recovers, just keeps on decaying the longer you play. I've double and trippled checked that there is no instances that shouldnt be there and so on.
I use a lot of particle systems, mainly with emitters set to burst, no streams, do I need to destroy all those systems even though they are burst-emitters? In that case how to do that smoothly, without loosing splash effects and so on?
When I run in debug mode, this is how it looks after awhile, but I still can't figure out what to change.
Like, if "DrawTheRoom" is 49%, why is SpriteDraw only 4 %? The numbers don't add up?
Thanks in advance!