Kryzeth Standard Library

StdLib.Data.Sprites

Utilities for constructing common sprite definitions.

Methods7

function Sprites.extract_monolith(filename, x, y, w, h) -> table
function Sprites.empty_picture() -> an table

Quick to use empty picture.

Returns
antable

empty pictures table

function Sprites.empty_sprite() -> an table
Returns
antable

empty pictures table

function Sprites.empty_pictures() -> an table

Quick to use empty pictures.

Returns
antable

empty pictures table

function Sprites.empty_animation() -> an table
Returns
antable

empty pictures table

function Sprites.empty_animations() -> an table

Quick to use empty animation.

Returns
antable

empty animations table

function Sprites.empty_connection_points(count: integer) -> an table

Quick to use empty connections table.

Parameters
countinteger

how many connection points are needed

Returns
antable

empty pictures table