Why does my FPS drop gradually over time?
Posted
by
mmankt
on Game Development
See other posts from Game Development
or by mmankt
Published on 2012-03-21T12:05:11Z
Indexed on
2012/03/21
17:39 UTC
Read the original article
Hit count: 194
flash
|actionscript-3
I'm working on this game: yt alpha preview
I came into a huge game-breaking problem - after 10-15 min of gameplay the FPS drops from 60 to 30 and is very unstable. I'm using tons of physics and particles, I'm deleting and nulling everything I can after it's supposed to be removed, I remove objects from vectors etc. The memory usage is stable at around 150mb so a leak is unlikely (or invisible?)- after a round ends and I delete everything, play a new round and performance is still terrible. I spent two days trying to figure this out and I just can't fix it. Maybe I'm missing something? I know it's hard to help with no code but I would just have to post my whole source.
© Game Development or respective owner