tmSetTileAnim

Category: Tilemap — Tilesets

Syntax:

tmSetTileAnim:Void(tileset:Int, id:Int, firstFrame:Int, frameCount:Int, msPerFrame:Int)


Parameters

Returns

Nothing.



Summary

Animates a tile. Every cell showing it runs through the frames on the clock, so they all stay in step. A frameCount below 2 or msPerFrame below 1 stops the animation.

See the Tilemaps guide.



Example
tmSetTileAnim(tiles, 9, 9, 4, 120)

BambooBasic © 2026 Michael Denathorn