GDP Functions


Position

Rotation

Scale

Collision

Appearance

Timers

Animation

Attributes

Miscellaneous

Attributes

.state()

The function .state() will return the state property of an object. Most commonly, .state() is used to find the game's current state. The function takes in no parameters.

var state = $this.scene.state();    
//sets 'state' to the current state of the 'scene'

See Further:

  1. Meteors Deluxe

.text()

The function .text() can change the text property of a label. The function takes in one parameter: the desired text of the label.

object.text("string");    
//sets the text of the 'object' label to 'string'

See Further:

  1. Meteors Deluxe