Lineguide.lua
Page is still under construction.
This library adds all the Line Guides from SMW to SMBX, with full support for layer movement. It also allows the user to attach any NPC to a Line Guide like in Super Mario Maker.
Requires the Colliders library.
Installation
This API is currently unavailable to the public. Expect a release post on SMBX.org soon...
Variables
These are variables the user can access and set. They are all part of the lineguide namespace, so you must put "lineguide." before each.
General
| Name | Type | Description |
|---|---|---|
| debug | bool | Set to true for debug mode, which will display the various collider objects used in this API. |
| properties | table | Contains the properties of the NPCs that have been configured to connect to lines. See the section labelled "Properties" for more information. |
| lineNpcs | table of IDs | Contains the IDs of all NPCs that will attach to Line Guides. NPCs that are platforms in vanilla SMBX need not be added by the user. |
Line BGO IDs
These variables contain the IDs of the BGOs that are being used as Line Guides. Change these values at the top of your Luna.lua file. Since these values are loaded in initialization, changing them anywhere else will have no effect. DO NOT use vanilla SMBX Line Guides anywhere in a level where this API is used, as they will interfere with this API's functionality. Any BGO can be used, provided it has the right dimensions (You can use bgofix.lua to change the dimensions of any BGO!).



