MPUZ: Plugins
From Mario Fan Games Galaxy Wiki
This information is subject to change.
| MPUZ |
|---|
|
| Development Main Page |
| Basics |
| Intermediate |
| Advanced |
|
| Reference |
| [Edit] |
Modules are special precoded functions that can be added to object code to make the object inherit some sort of behavior. For example, an MP_Shell object contains HASMOVEMENT() and FRICTIONLESS() modules. The former gives the object gravity, slope support, and basic background collisions, while the latter keeps the object from decelerating on slopes... or any surface for that matter. Some modules can take parameters, which allows various default values to be changed.
Module list
- FRICTIONLESS(): Object will never decelerate, and will keep moving until its motion is stopped another way.
- HASMOVEMENT(): Object is affected by gravity, and has background collision and slope support. However, it does not make the object controllable by the player.
- WRAP(): Object will wrap around the level boundaries should it leave them.
