Same speed on all machines and Tweening

BlitzMax Forums/BlitzMax Beginners Area/Same speed on all machines and Tweening

There is no need for delta to be applied to a game controlled by fixed rate logic. By it's very nature you know that the game will run, at say, 200 updates per second, so you update all your variables with an appropriate amount each update.

Of course, if you're trying to add this logic to a game that you've already started, you will have to adjust your update values for each variable. As with any timing method, it's better to start with your preferred frame limited technique in place.

Also, that 200 updates per second may seem a little high, but it's a typical speed for this type of logic for smooth game-play. I use either 200 or 250 updates per second in my own projects. Remember you're only updating logic during an update cycle (no drawing), so most games will be able to cope quite easily.