Make Tiles
constructor accept tile map image as input
#326
Labels
Tiles
constructor accept tile map image as input
#326
The
Tiles
constructor currently only accepts tile maps in the form of a string or array of strings.In addition, it should take an image as input.
sprite.tile
andgroup.tile
could be set to a color.Example use:
New
groupA
sprites would be created corresponding to blue pixels in the tile map image.Also if
sprite.tile
was set to a tile character it could use the default palettecolorPal
color corresponding to that character.The text was updated successfully, but these errors were encountered: