TileDisplay.cellTransform

From MiniScript Wiki
Revision as of 02:56, 25 November 2024 by JoeStrout (talk | contribs) (Created page with "Mini Micro version 1.2.2 introduced the ability to transform (flip and/or rotate) individual tiles in a TileDisplay. The value returned by <c>TileDisplay.cellTransform</c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Mini Micro version 1.2.2 introduced the ability to transform (flip and/or rotate) individual tiles in a TileDisplay. The value returned by TileDisplay.cellTransform, or given to TileDisplay.setCellTransform, is an integer from 0-7. Values 0-3 rotate the tile in 90° increments. Values 4-7 first flip the tile horizontally, and then rotate it in 90° increments.

CellTransform.png