Loving Cube Engine API documentation

Introduction and table of contents - The init file - The Main object - Importing new textures - Importing 3D meshes - New data types - List of instantiable objects - List of static objects


Introduction and table of contents

Introduction

The Loving Cube Engine scripting is using the lua programming language. It's advised to have some little knowledge of Lua to modify the application (but this is not the most complex language ever, so you may also learn on-the-job by looking at the existing scripts).

To modify the script, open the file "data/main.lua" (or another name, depending of the value of lua_file_path in The init file) with a text editor like notepad or Notepad++.

Table of contents

Conventions

In the following document: