ParalX.lua

*No download available for this library yet.*

ParalX is a LunaLua library designed to create parallax background layers in Super Mario Bros X.

(If paralX2.lua released, this one will be deprecated.)

Installation
The latest version of this API is only included in SMBX2; No external download available as of yet.

(LunaLua also include an old version for this API but not recommend for use)

How to use
To enable the ParalX library for a specific level, add this line to lunadll.lua: This will load the ParalX API. From there, you can use paralX.create {table properties} to make Parallax layer objects.

Example
The following code was taken from this example level:

Properties
The following properties can be both defined in paralX.create (args) and accessed via parallaxObj.propertyName: