Skip navigation
Currently Being Moderated

Game FPS drops upon playing for 3 hours

Sep 6, 2011 8:55 PM

Description :Hi...I am a game programmer and i have made  a game where there is a character which has to select the right pieces and avoid the wrong ones. the pieces/food come from top, the character jumps and fetches them. Thats why we are keeping a gap between the pieces to avoid the character touching the wrong ones.

 

Problem : When I win the game and keep re-playing it continuously for more than an hour i notice that the gameplay gets slow(slow FPS). The behavior and movement of the characters become slow. Upon playing for 3 hours the slowness is easily noticeable. This also happens when I minimize the game window or get the focus off the game to some other window for a long time (half an hour or more). The problem doesn't come if I play once or if I lose the game and try again. This comes when I keep playing it for a longer time.

 

Please suggest if its a programming end issue or a operating system scheduling problem or Flash related bug, and please help in solving it.

 
Replies
  • Currently Being Moderated
    Feb 24, 2012 11:33 AM   in reply to ingenious_ab

    Post a link and I will gladly try it out. Other than that, make sure you are removing event listeners and other function. Clear code you dont need. Events can get all jumbled up after a while.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points