Skip to content

load_atlas

Load an atlas from JSON metadata and an image.

Parameters

  • image — The atlas image from load_image.
  • json — The atlas JSON string.
local atlas = load_atlas(image, json)

Related: load_aseprite, draw_sprite.

See the images guide for more examples and limits.