MPUZ: Functions
From Mario Fan Games Galaxy Wiki
This information is subject to change.
MPUZ |
---|
Development Main Page |
Basics |
Intermediate |
Advanced |
|
Reference |
[Edit] |
The following is a list of functions and keywords used by MPUZ's engine.
Contents
Keywords and Global Variables
Object references
For a breakdown of the variables contained in the object structure, check out MPUZ: Object Variables.
- me: the reference to the object currently having its script executed. For example, an object may use me.x within its script to retrieve its x position.
- other: the reference to the other object involved in an event, usually collisions. Note that this variable becomes valid only in certain cases.
- player: refers to the player object.
- selected: a special reference that actually references more than one object. It performs a given action to each of its instances individually. Like other, it is only valid in certain cases; namely only after using select(), and becomes invalid at the end of the calling object's event.
Functions
Game
Level
Object
HUD
to be expanded