Difference between revisions of "TileDisplay.cellTransform"

From MiniScript Wiki
Jump to navigation Jump to search
(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...")
 
m
 
Line 1: Line 1:
[[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>, or given to <c>TileDisplay.setCellTransform</c>, 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.
+
[[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>, or given to <c>[[TileDisplay.setCellTransform]]</c>, 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.
  
 
[[File:CellTransform.png|frameless|center]]
 
[[File:CellTransform.png|frameless|center]]
  
 
[[Category:Mini Micro]]
 
[[Category:Mini Micro]]

Latest revision as of 15:10, 22 February 2025

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