Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Lua Function

github-actions[bot] edited this page May 2, 2025 · 2 revisions

Overview

Lua Function is the functions call back from sources to scripting. Here is a comprehensive list of all available Lua Functions.

Note: These List are not done yet!

Functions API

  • create()
    • Function can be used for creating sprite, text, etc.
  • update(elapsed)
    • Function will updated every frame of the game
  • destroy()
    • Function will do when the states has been destroy
  • draw()
    • Function will do when the states drawed

Clone this wiki locally