Setting certain tiles to have additional functionality.

14 views
Skip to first unread message

Mixer

unread,
Jul 1, 2015, 6:40:03 AM7/1/15
to haxef...@googlegroups.com
Hi. 

Looking through the source code for Tiled maps, the tile objects themselves obviously only represent a small amount of data, such as the id and rotation. With this in mind, how could I go about make all of a certain tile render in a different way, or have altered behaviour for say, collisions. These objects are data only, so I cannot simply override it like I might a FlxSprite. The other options to make them TiledObjects, like I might mark entity locations. There are so many obvious issues with doing that I won't list them.

How then, might I go about applying a glow filter to all of my shiny tiles? Thanks for any replies. Hopefully this was understandable.
Reply all
Reply to author
Forward
0 new messages