SubLevel.*

Type : Library

Revision : 2016.0720

Overview

All levels must be created by Sublevel API.

Functions

SubLevel.new()

SubLevel.new()

Type : Function

Library : Sublevel.*

Return Value : SublevelObject

Revision: 2016.0720

Overview

Use SubLevel.new to create a level. The created level must be put in the gameConfig.lua

Syntax

Sublevel.new(levelName, authorName, options)
levelName (required)

String. The name of the created level

authorName (required)

String. The author name of the created level

options (optional)

Table. The options of the created level. See Options below

Options

onComplete (optional)

When the created level is finished, it will call the function.

results matching ""

    No results matching ""