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
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 palette colorPal color corresponding to that character.
The text was updated successfully, but these errors were encountered:
quinton-ashley
changed the title
Make Tiles constructor except tile map image as input
Make Tiles constructor accept tile map image as input
Jul 28, 2024
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: