Module sti

Simple and fast Tiled map loader and renderer.

Info:

  • Copyright: 2016
  • License: MIT/X11
  • Author: Landon Manning

Functions

STI.new (path, plugins, ox, oy) Instance a new map.
STI:flush () Flush image cache.


Functions

STI.new (path, plugins, ox, oy)
Instance a new map.

Parameters:

  • path Path to the map file.
  • plugins A list of plugins to load.
  • ox Offset of map on the X axis (in pixels)
  • oy Offset of map on the Y axis (in pixels)

Returns:

    table The loaded Map.
STI:flush ()
Flush image cache.
generated by LDoc 1.4.3 Last updated 2016-06-09 23:18:58