Map - Add Parallax

Event Description

Adds a parallax layer to the selected map; keep in mind, parallax values may become offset

Map(*).AddParallax


Parameters

Insert Index - The parallax index the layer should be inserted to; -1 = furthest background, -9999 = closest background, 1 = furthest foreground, 9999 = closest foreground

Sprite - The parallax Sprite

Color - The parallax color/alpha

X Pan Ratio - The position of the parallax along the horizontal axis

Y Pan Ratio - The position of the parallax along the vertical axis

Screen Height Ratio - The value in which the parallax Sprite is scaled

Horizontal Scrolling - The speed in which the parallax moves along the horizontal (X) axis

Vertical Scrolling - The speed in which the parallax moves along the vertical (Y) axis

Tile Horizontal - Tiles the parallax along the horizontal (X) axis

Tile Vertical - Tiles the parallax along the vertical (Y) axis

Pan with Camera Orbit - Pans the parallax in the direction of the camera's horizontal orbit

Center on Map - Centers the parallax on the Map

Zoom Scale Ratio - The value in which the parallax is affected by camera zoom

Disable Lighting - Whether to disable lighting on the parallax


Related Events/Use Values

Map - Remove Parallax (Event)

Map - Parallax Color (Use Value)

Map - Change Parallax Color (Event)

Map - Parallax Sprite (Use Value)

Map - Change Parallax Sprite (Event)


Does this page need more information? Email Us!