Difference between revisions of "Tick"

From Screeps Wiki
Jump to navigation Jump to search
(Created page with "{{stub}} A "tick" refers to a single execution of each players' scripts in the game. It is referenced programmatically with <code>Game.time</code>.")
 
(categorized)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
   
  +
A "tick" refers to a single execution of each players' scripts in the game. On the official world, a new tick begins as soon as the last one has finished processing. This means that a tick is not a definite unit of time; they average about 3-4 seconds each, but sometimes take longer. Almost all time in the game is measured in ticks rather than real time; exceptions include [[Novice Zones|novice zones]] and the [[leaderboards]].
A "tick" refers to a single execution of each players' scripts in the game. It is referenced programmatically with <code>Game.time</code>.
 
  +
  +
The current tick number can be accessed through <code>Game.time</code>.
  +
[[Category:Game Knowledge]]

Latest revision as of 12:45, 28 October 2020

This article is a stub. You can help Screeps Wiki by editing to add more information.

A "tick" refers to a single execution of each players' scripts in the game. On the official world, a new tick begins as soon as the last one has finished processing. This means that a tick is not a definite unit of time; they average about 3-4 seconds each, but sometimes take longer. Almost all time in the game is measured in ticks rather than real time; exceptions include novice zones and the leaderboards.

The current tick number can be accessed through Game.time.