In other languages: Deutsch Français 日本語 Русский 中文

Game-tick: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (I'm a fickle man.)
m (substituted links to go to official lua api documentation)
Line 13: Line 13:


* [[Time]]
* [[Time]]
* [[Lua/Game#tick]].
* [http://lua-api.factorio.com/latest/LuaGameScript.html].
* [[Game-second]]
* [[Game-second]]
* [[Game-day]]
* [[Game-day]]
* [[Units]]
* [[Units]]

Revision as of 19:33, 3 February 2017

A game-tick (or just "tick") is 1/60 of a Game-second.

Everything in Factorio is calculated with that base. For example the speed of anything is internally calculated in Tile/tick.

The real-world duration of a game-tick depends on the speed of your computer, and is at most 1/60th of a second (0,01667 seconds). A tick can last longer when the game stops (say, to autosave) or if the framerate drops below 60FPS.

What is done during one tick?

This FFF-article explains what the game engine calculates on every tick.

See also