Random Point In Tilemap

14 views
Skip to first unread message

xhunterko

unread,
Oct 15, 2015, 8:50:57 PM10/15/15
to HaxeFlixel
So I have enemies moving to a random point on the screen. Good. The bad part is when the point is in a section of the tile map the enemies have no way of reaching. This is bad. So.

How can I move an enemy to a random point in a tile map so that they only move around to non-colliding tiles?
Reply all
Reply to author
Forward
0 new messages