Can you color (tint) a specific tile in a FlxTilemap?



  • I was doing this fake text mode and it relies on the fact that you can set the foreground to a specific color, however, I just came to realize I'm using a FlxTilemap and not individual sprites, so is there a way to tint a particular tile, or do I have to use all sprites?


  • administrators

    You may be able to tint a particular tile type manually (there's no convenient way like FlxSprite#color afaik). It's not really possible individual tiles because a FlxTilemap only has one FlxTile instance per tile type, not each individual tile.


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.