Clarify comment in manual entry for getTilePixels
This commit is contained in:
parent
47e3d809ff
commit
0b5414ace3
1 changed files with 1 additions and 1 deletions
|
@ -1116,7 +1116,7 @@ The following functions are related to tilesets and how they are rendered. The f
|
|||
|
||||
..js:function:: map.getTilePixels(tileId)
|
||||
|
||||
Gets the pixel data for the specified tile. The pixel data is an array of numbers indicating which palette color each pixel uses. Tiles are 8x8, so the pixel array will be 64 elements long.
|
||||
Gets the pixel data for the specified tile. The pixel data is an array of indexes indicating which palette color each pixel uses. Tiles are 8x8, so the pixel array will be 64 elements long.
|
||||
|
||||
:returns array: the pixel data
|
||||
|
||||
|
|
Loading…
Reference in a new issue