Page 1 of 1

GE runs fast and slow

PostPosted: Tue Dec 15, 2009 3:25 am
by DST
I keep having problems running games at 60 fps. The games start fine, but randomly slow down to 30 fps. This is occuring in Windows XP. It will slow down randomly, and speed back up randomly.

The situation is like this:

The resolution has nothing to do with it. It does it on 640x 480 and 320 x240.

The amount of actors on screen has nothing to do with it. It will run fast sometimes with 400 actors and slow other times with 3 actors.

The amount of graphics onscreen has nothing to do with it. It does it with huge pngs moving past and it does it with all background graphics disabled.

The cpu usage has nothing to do with it. It will run at 70% cpu, then slow down to 30fps and 45 % cpu. No cpu maxing is involved.

Something else is amiss.

I am using an Nvidia 8600 GT, and I haven't had any problems with any other games (sins of a solar empire runs fine even with 100's of ships battling).

Other 2d games, such as java applets, also run fine at normal speed.

Any suggestions?

Re: GE runs fast and slow

PostPosted: Tue Dec 15, 2009 4:03 am
by Bee-Ant
Never use more or less that 30 fps

Re: GE runs fast and slow

PostPosted: Tue Dec 15, 2009 11:55 am
by makslane
Game Editor doesn´t uses the power of your graphics card (will use when finish the OpenGL version).
The engine runs all the scripts for the current frame, render the sounds, draw the frame and copy the result to the frame buffer.
Some thing in the path can be affected by random CPU spikes!

I think the issues can be solved with the conclusion of the tickets:
http://code.game-editor.com/ticket/1
http://code.game-editor.com/ticket/13

Re: GE runs fast and slow

PostPosted: Tue Dec 15, 2009 12:19 pm
by Hblade
This also happens on my win7 os. Also if you go full screen it doesn't do that.

Re: GE runs fast and slow

PostPosted: Tue Dec 15, 2009 2:58 pm
by Superbeni
Sins is a great game!! :D

I have the same problem sometimes, but they are because of a bad PC. :lol:

Re: GE runs fast and slow

PostPosted: Tue Dec 15, 2009 3:11 pm
by Hblade
lolol GE lagged once ona quad core with win7 x3