/
Tiled Scroller
Tiled Scroller
{ "type" : "tiledScroller" "entity" : "string", "postitionY" : number | property "zPositionRange" : array<float> "maximumOffset" : vector "speed" : number | Property, // meters per second "paused" : bool, "listeners" : object }
"maximumOffset" : { "x" : float , "y" : float }
"listeners" : { reset : string }
Overview
- Fills textures across the screen and moves them horizontally
Properties
- None
Events
- None
Remarks
- entity - path to an entity file or name entity of pool
- positionY - vertical offset
- zPositionRange - Stacking range to keep from seeing texture artifacts if overlapping occurs
- maximumOffset - an offset amount for repeating textures. When the offset is reached the texture will reset back to the original position. This addresses texture artifact issues when scrolling adjacent images
- speed - rate at which texture moves across the screen
- paused - not moving initially
- listeners - events that will be caught
, multiple selections available,