Update Home
parent
77ebf8236e
commit
214d5e741d
17
Home.md
17
Home.md
@ -63,6 +63,23 @@ Tesseract Engine is a **3D Game Engine** designed for small to medium-sized game
|
||||
- Explore ideas and get feedback in the [Activity](#) section.
|
||||
|
||||
# Lua Api
|
||||
## Engine Function
|
||||
|
||||
### How to use Engine?
|
||||
First, you must import it to allocate memory in the engine for your Lua script.
|
||||
`local Engine = require("engine")`
|
||||
|
||||
|
||||
### Simple Functions
|
||||
|
||||
| Function | Description | Example Usage |
|
||||
|----------------|--------------------------------------------------|-------------------------|
|
||||
| `ScriptName` | Returns the name of the currently running file. | `Engine.ScriptName()` → `main.lua` |
|
||||
| `Log` | Logs a string to the Engines Log Window, With a color | `Engine.Log("Hello, World!", {1,1,1,1})` |
|
||||
| `GetGameObjectByTag` | Returns the Object by the Tag Given. | `Engine.GetGameObjectByTag("Player")` → GameObject|
|
||||
|
||||
|
||||
|
||||
## Math Library Wiki
|
||||
|
||||
## Overview
|
||||
|
Loading…
Reference in New Issue
Block a user