Template:AnimateSprite/doc

From Aether Project Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.svg
This template uses Module:AnimateSprite, a script written in Lua.

Used for animating sprites.

Usage

Use |sheet= to specify the sprite sheet, it defaults to InvSprite.

Example

{{AnimateSprite|sheet=BlockSprite|stone; cobblestone; granite; diorite; andesite}}

{{AnimateSprite|sheet=InvSprite|White Dye; Orange Dye; Magenta Dye; Light Blue Dye; Dandelion Yellow; Lime Dye; Pink Dye; Gray Dye; Light Gray Dye; Cyan Dye; Purple Dye; Blue Dye; Brown Dye; Cactus Green; Rose Red; Black Dye}}