OptionalassetsArray of paths to the assets that are desired to be loaded by traviso, no need to use if assets are already loaded to PIXI cache, default null
OptionalbackgroundBackground color, if defined the engine will create a solid colored background for the map, default null
OptionalchangeMake objects transparent when the controllable is behind them, default true
OptionalcheckLooks for a path every time an object moves to a new tile (set to false if you don't have other moving objects on your map), default true
OptionaldontWhen a tile selected don't move the controllable immediately but still call 'tileSelectCallback', default false
OptionalengineCallback function that will be called once everything is loaded and engine instance is ready, default null
Optionalfollowdefines if the camera will follow the current controllable or not, default true
OptionalhighlightHighlight the path when the current controllable moves on the map, default true
OptionalhighlightHighlight the target tile when the current controllable moves on the map, default true
Optionalinitialframe to position the engine, default { x : 0, y : 0, w : 800, h : 600 }
Optionalinitialinitial zoom level of the map, default 0
Optionalinstantspecifies whether the camera moves instantly or with a tween animation to the target location, default false
Optionalinstantspecifies whether to zoom instantly or with a tween animation, default false
Optionalinstantspecifies whether the map-objects will be moved to target location instantly or with an animation, default false
Optionalisothe angle between the top-left edge and the horizontal diagonal of a isometric quad, default 30
The path to the json file that defines map data, required
OptionalmapEnable dragging the map with touch-and-touchmove or mousedown-and-mousemove on the map, default true
Optionalmaxmaximum scale that the PIXI.Container for the map can get, default 1.5
Optionalmaxmaximum zoom level, engine defined
Optionalminminimum scale that the PIXI.Container for the map can get, default 0.5
Optionalminminimum zoom level, engine defined
Optionalnumberused to calculate zoom increment, defined by user, default 5
OptionalobjectCallback function that will be called when any moving object reaches its destination (call param will be the moving object itself), default null
OptionalobjectCallback function that will be called when a tile with an interactive map-object on it is selected (call param will be the object selected), default null
OptionalobjectCallback function that will be called every time an objects direction or position changed, default null
OptionalotherCallback function that will be called when any moving object is in move and there are other objects on the next tile, default null
Optionalpathwhether to return the path to the closest node if the target is unreachable, default false
Optionalpaththe type of path finding algorithm two use, default TRAVISO.PF_ALGORITHMS.ASTAR_ORTHOGONAL
Optionaltileheight of a single isometric tile, default 74
OptionaltileAnimate the tile highlights, default true
OptionaltileAlpha value for the tile highlight fill (this will be overridden if a highlight-image is defined), default 0.5
OptionaltileColor code for the tile highlight fill (this will be overridden if a highlight-image is defined), default 0x80d7ff
OptionaltileAlpha value for the tile highlight stroke (this will be overridden if a highlight-image is defined), default 1.0
OptionaltileColor code for the tile highlight stroke (this will be overridden if a highlight-image is defined), default 0xFFFFFF
OptionaltileCallback function that will be called when a tile is selected (call params will be the row and column indexes of the tile selected), default null
OptionaluseCreates a mask using the position frame defined by 'initialPositionFrame' property or the 'posFrame' parameter that is passed to 'repositionContent' method, default false
Optionalzoomzoom increment amount calculated by the engine according to user settings, default 0.5
Type declaration for engine-specific configuration.