Skip to content

legacy_fpg

Load a legacy image sheet or directory. It is available from the module, not the global import.

Parameters

  • path — An image or a directory.
  • kind? — "image" for a sheet.
  • rows? — Sheet rows.
  • columns? — Sheet columns.
local sheet = mv.legacy_fpg("sprites.png", "image", 4, 4)

Related: load_asset.

See the lua processes guide for more examples and limits.