Skip to content

Images and sprites

Load image and atlas assets and draw them. See the images guide.

Function Summary
draw_image Draw an image at a position.
draw_image_region Draw one region of an image.
draw_sprite Draw an atlas sprite.
image_size Read the width and height of an image.
load_aseprite Load an atlas from an Aseprite file.
load_asset Load an image or atlas asset by path.
load_atlas Load an atlas from metadata.
load_image Load a PNG image.
sprite_id Find a sprite id by name.
sprite_info Read sprite metadata.