[gameprogrammer] Re: random speed up
- From: Robbert de Groot <zekaric@xxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Fri, 15 Feb 2008 11:31:46 -0500 (EST)
Do you launch a timer after you exit the main menu?
Do you stop the timer when you go back to the main menu?
I'm thinking you may have two timers firing off when only one of them
is really wanted. And every time you go back and forth you add
another time to the mix making it appear that the game is speeding
up. Just a thought.
I am doubting you are looking in the right place for your speed up
issue.
--- Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:
> Wow you hit the nail on the head, that does indeed happen - each
> time
> i go to the main menu then back into the game it goes faster and
> faster.
>
> It's strange because i'm not messing with the CPU priority or
> anything...as far as i can tell the only thing that is happening
> (apart from what say...fmod might be doing) is just loading and
> unloading some textures, and allocating/deallocating some memory.
>
> Do you think fmod could be causing this? Having never hit this
> problem before, how do you release the cpu back to the os, just set
> the priority to a lesser value?
>
> Thanks a lot for your help!
Robbert de Groot
Be smarter than spam. See how smart SpamGuard is at giving junk email the
boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New
Mail today or register for free at http://mail.yahoo.ca
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: random speed up
- From: Alan Wolfe
- References:
- [gameprogrammer] Re: random speed up
- From: Alan Wolfe
Other related posts:
- » [gameprogrammer] random speed up
- » [gameprogrammer] Re: random speed up
- » [gameprogrammer] Re: random speed up
- » [gameprogrammer] Re: random speed up
- » [gameprogrammer] Re: random speed up
- » [gameprogrammer] Re: random speed up
- » [gameprogrammer] Re: random speed up
- [gameprogrammer] Re: random speed up
- From: Alan Wolfe
- [gameprogrammer] Re: random speed up
- From: Alan Wolfe