Spooky Pooky #14 - Time is an Illusion

Published on 12 Nov 2014 by Joe

Recently I've been finally addressing my lazy approach to the timestep. Because I'm initially targeting iOS devices and tuning the game accordingly I've just been relying on the fact that the game is fixed to 60fps and all my physics code has been tuned accordingly.

So I've been through all the code and changed all the time-dependent functions (physics, squishiness, etc) to be correctly calculated from delta-time.

The primary reason is so that the game runs at a consistent speed even in the frame-rate drops. As a side-effect though I can now artificially speed up and slow down time.

As an experiment I've used this to enhance pausing the game by slowing down very quickly and speeding up on resume. Pretty subtle effect, but I'm hoping it's things like this that lead to a more polished end-product.

Now that the code base is a bit cleaner I'm really going to stop procrastinating now and actually try and progress the game for real. Yeah sure.

I'm going to create a little collection of demo levels, maybe five or so, to prototype the gameplay. Hopefully if I can get that together then I can maybe get some beta play worked out so that anyone with an iOS device that fancies giving it a play can have a go. That's probably the worst thing about developing an iOS game is that it's not as immediate to get people playing, although Apple's new use of TestFlight makes that a lot easier than it used to be.

Published on 12 Nov 2014 by Joe
Back to index