Documentation

Back to readme


Level editor

To use the level editor: press A in-game and then press F1 to know about shortcuts. Use directions keys and page up / page down to move cursor. Save with 'S' regularly.


Script

The script is using the lua programming language. To modify the script, open the file world.lua with a text editor like notepad or Notepad++

Available functions:

Misc:

Sound

Current object interaction. These functions shall be called only in lua_manage_x and lua_draw_x

Player and camera interaction

'Global' variables:

These variables are managed by the engine, and are accessed in the script through the functions setGlobalVar, getGlobalVar, and addToGlobalVar. These variables are saved when the game is saved.

Text:

2D sprites:

3D models:

Core drawing functions. Typically you call them into lua_loop.

Functions called by the engine. You MUST fill them:


Import 3D meshes

With 3DsMax

Export as OBJ

(img1) (img2)