Modding:Game Loop and Tick: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 April 2024

27 March 2024

  • curprev 17:4917:49, 27 March 2024Frans fbg talk contribs 690 bytes +11 No edit summary
  • curprev 17:4917:49, 27 March 2024Frans fbg talk contribs 679 bytes +18 No edit summary
  • curprev 17:3017:30, 27 March 2024Frans fbg talk contribs 661 bytes +21 No edit summary
  • curprev 17:1117:11, 27 March 2024Frans fbg talk contribs 640 bytes −28 No edit summary
  • curprev 17:1117:11, 27 March 2024Frans fbg talk contribs 668 bytes +668 Created page with "You can add an update function like so. <source> function update() -- do things every update end </source> This is usually added to your <code>main.lua</code> to have an update-loop for your mod. '''Caution:''' As it needs to be declared in global scope, then the function can be overwritten and will be invoked with the re-declaration. There are no validation checks if you have duplicate declarations of the update function. You can use <code>tm.os.GetModDeltaTime()</..."