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

Lua API

github-actions[bot] edited this page Apr 29, 2025 · 5 revisions

Overview

Lua API is a main core for coding/scripting game on this engine, there are a list of all lua API can be use

API

  • createObject(type, name, config)
    • This one will help creating a object for sprite, text and object (why not)
  • addObject(name), removeObject(name)
    • Added a object or remove a object
  • insertObject(pos, name)
    • Insert a object, work like addObject(name) but you can adjust what position by the pos

Clone this wiki locally