Description

Fully compatible with GMS:1 and GMS:2

Getting the current time in Gamemaker is easy - there is current_month, current_day, current_hour, current_minute, current_second - but there is no variable for milliseconds (the closest thing is current_time which returns the number of milliseconds since the game started, not the actual time).

Call current_millisecond_create() once when your game starts, and current_millisecond_step() first thing once per step.

You can the access the current time's millisecond value (0-999) by referencing the current_millisecond variable (accurate to the start of the last step, so for example if your game has a frame rate of 60fps the fidelity of the value will be +/- ~16ms).

There is an example included but to avoid clutter you can choose just to import the scripts.

More Assets:

End User Licence Agreement (EULA).

Version 1.0.1. Published February 17, 2017

Created with GameMaker: Studio v1.99.525

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Anonymous 05 August 2017

Suprisingly useful


Gravatar

Anonymous 10 June 2017

Logo

Taylor Dale (Publisher) 14 June 2017

I know it's hard to get excited about millisecond timing but what do you want to make up the extra two stars in your 3/5 rating ;)?


Gravatar

Anonymous 13 March 2017

Great

Package contents

Total size 4.49 KB

What is the issue?

Back to Top