Class used to manage a grid restricted sprite deployment on an Output plane.
Creates a new SpriteMap
defines the SpriteMaps Name
is the JSON file that controls the Sprites Frames and Meta
is the Texture that the Sprites are on.
a basic deployment configuration
The Scene that the map is deployed on
The JSON file with the frame and meta data
The Name of the spriteMap
Arguments passed with the Constructor
The systems Sprite Sheet Texture
Public Sprite Storage array, parsed from atlasJSON
Returns the Number of Sprites in the System
Modifies the data of the animationMap
is the Index of the Sprite
is the target Animation frame
is the Target Index of the next frame of the animation
is a value between 0-1 that is the trigger for when the frame should change tiles
is a global scalar of the time variable on the map.
Release associated resources
Gets the UV location of the mouse over the SpriteMap.
Vector2 the UV position of the mouse interaction
Returns tileID location
Vector2 the cell position ID
Imports the .tilemaps file
of the .tilemaps file
Exports the .tilemaps file
Generated using TypeDoc