MPUZ: Object Properties

From Mario Fan Games Galaxy Wiki
This information is subject to change.
MPUZ
Mpuz logo.png
Development Main Page
Basics
Intermediate
Advanced
  • none
Reference
[Edit]


Properties are special variables that are accessible from the level editor. What they are used for depends on the object in question. Each object can have up to 5 of these values, labeled from prop1 to prop5; furthermore, each object instance can have its property values set to unique values. The object code is then able to use this information to change the object's behavior. Properties can be integers or strings.

These are usually used for customizable settings of an object, such as how long it remains activated when enabled by a switch, or how long the switch itself remains activated. Because they can be set on an instance-by-instance basis in the level editor, it is easy to take an otherwise uneditable object and make it do something unique.

If you need to know what properties are available for one of the default objects, look up the object in the objects directory.