Categories
Maths Magic Devlog

Timing

In building Maths Magic, the issue of timing has come up time and time again. This is because timers are needed for counting down and to delay code execution in the game.

My first approach was to use the default timer function in Phaser 3. However after hitting some major roadblocks, I had to reconsider and now I am using the setTimeout function which is native to JavaScript.

I find the setTimeout function easier to use as I have used in some games I developed in the past.

To be honest, this represents a breakthrough with the game. Once this phase is finished, I intend to add the other screens and make it a polished game fit for release.

Leave a Reply

Your email address will not be published.

0 Shares
Tweet
Share
Pin
Share
%d bloggers like this: