Personally, I think you should do what you can to make sure the game will run at full speed on as low a spec computer as possible (include options to disable special effects, etc if need be) - and then if the player's computer isn't fast enough, that's their problem.
There's no point trying to make a game run normally but at slow speed.
There's no point trying to make a game run normally but at slow speed.
But that's what MMF does for everything else by default. Can you really account for everything that might trigger the tinest dip in performance? The inconsistency is just going to lurk in the shadows until it gets an opportunity to break the game.
If a game's perfectly playable with those special effects enabled, but for some reason I can't make a particular jump while something's exploding (edit: or because the midi file playing changes or whatever), I'm going to be inclined to think it's the developer's fault.
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
24th April, 2011 at 15:04:21 -
I still wouldn't use timers, since they don't let you access real time anyway (see rest of thread). I'm pretty sure TimeX can get time independent of framerate.
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
25th April, 2011 at 03:12:17 -
Chris - that looks good but remove the "Every 00-01"" from everywhere. Your code will run exactly the same, except it will be consistent on slow machines
I've run games I've made on so many pieces of shit and they still run the same.
But yeah I need to get in that habit of using always instead. Thanks! happy easter
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
25th April, 2011 at 15:12:25 -
Anything that runs below the target FPS will run differently. It's not likely that someone is using a computer that slow, but it's not just that. If you freeze the app (such as with grabbing the title bar - I think), or your computer happens to lag for a second (due to some other process), it will run differently if you use timers. If you use counters/MMF framerate instead then it will run the same on all machines, albeit slower. In your code, there's no point in having the Every 00-01 in there.