![]() The duration of one game tick is not fixed - a tick ends when all scripts of all players have been executed to the end. Then all the planned activities are executed. During each tick, the game engine calculates each player's scripts concurrently. In order to maintain them, we offer CPU time that allows you to use CPU resources of the game servers.Īs described in the article Understanding game loop, time and ticks, the game process is divided into game iterations, or ticks. On the other hand, in the online mode calculations of your scripts do not affect your browser in any way and done on the servers only. The game API in the Simulation is the same as that on the server, but the server does not take part in game calculations. When you play in the Simulation mode, your scripts are executed by means of your browser only. The Screeps game engine exists in two variants: browser-based ( Simulation mode) and server-based ( online mode). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |