Extensions Runtime

The runtime table exposes several fields that give access to an application's global state.

Strings and values are tables that can be directly indexed to get or set a value.  Strings and values can also be indexed by their names, if you have defined names for them in the application's properties panel.  See Value Traits for an example of using strings and values tables.

Runtime Fields (Read-Only)

These fields can be accessed, but not updated.

number frameRate Current set framerate of the application
string[] strings Array of application's global strings
number[] values Array of application's global values

Runtime Methods

Click on each function for more information.

number playerLives()
number playerScore()
void setPlayerLives()
void setPlayerScore()

Copyright 2010 Justin Aquadro