Skip to content

Game_Loop

Andrew McWatters edited this page Jun 26, 2019 · 26 revisions

Game Loop

Client-side game loop

engine/init.lua

  1. Client engine.client.update()
    1. Client game.client.update()
    2. Shared entity:update()
    3. Shared map.update()
    4. Client network.update()
  2. Client gui.update()

Server-side game loop

  1. Server engine.server.update()
    1. Server game.server.update()
    2. Shared entity:update()
    3. Shared map.update()
    4. Server network.update()
Clone this wiki locally