[gameprogrammer] Re: random speed up
- From: "Harrington, Timothy" <tharrington@xxxxxxxxx>
- To: <gameprogrammer@xxxxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 23:26:27 -0600
Alan, what happens if you go in and out of the game to the main menu and
back repeatedly? Does the game acquire more and more cpu priority? If
so, sounds like you need code which will release cpu back to the OS and
then request again when the game is reinitialized.
Tim Harrington
Game and Simulation Programming
Instructor
Student Game Development Association
Advisor
602-870-9222 x847
-----Original Message-----
From: gameprogrammer-bounce@xxxxxxxxxxxxx
[mailto:gameprogrammer-bounce@xxxxxxxxxxxxx] On Behalf Of Alan Wolfe
Sent: Thursday, February 14, 2008 9:58 PM
To: gameprogrammer@xxxxxxxxxxxxx
Subject: [gameprogrammer] random speed up
It's not very often you get to complain about your game running too
fast but here it goes...
I'm making a pretty simple game using fmod for sound and directx for
everything else.
I have a wierd issue where if you enter the game and then go back to
the main menu, if you enter it again the game appears to have more CPU
priority or something and runs probably twice as fast.
The game is really simple and doesnt use any frame limiting code, and
its single threaded (except for whatever fmod may be doing).
Has anyone ever hit a problem like this before or know what it could be?
Is it something like the main game is hammering on the cpu (there are
a lot of particles) and then going back to the main menu there's
nothing and it somehow decides to give the game more CPU priority or
something?
It's a wierd problem i've never seen before myself so am pretty
confused... :P
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: random speed up
- From: Alan Wolfe
- References:
- [gameprogrammer] 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] random speed up
- From: Alan Wolfe