You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently TileMaps only support iterating over Cells in row major order from the TileMap.data property. Many times you want to iterate over rows or columns to do some sort of generation
Proposal
Add a TileMap.rows and a TileMap.columns that organize the cells into rows and columns.
public get rows(): Cell[][] {
...
}
public get columns(): Cell[][] {
...
}
The text was updated successfully, but these errors were encountered:
…ata (#1887)
Closes#1862Closes#1861Closes#1859
## Changes:
- Add mechanism for iterating over rows/cols
- Add Cell arbitrary graphics
- Add map for arbitrary data in Cells
Context
Currently TileMaps only support iterating over Cells in row major order from the
TileMap.data
property. Many times you want to iterate over rows or columns to do some sort of generationProposal
Add a
TileMap.rows
and aTileMap.columns
that organize the cells into rows and columns.The text was updated successfully, but these errors were encountered: