Tiled + Flame Pathing

Hello Tiled community :wave:. I am new to both Tiled + Flame (well, game development in general…), and I was hoping to gain some insight regarding the most efficient/optimal way to make a Flame Component move along a pre-defined Tiled path. My first, and potentially naive, gameplan is to:

  1. Define a path in Tiled via a Polyline.
  2. Acquire the points that comprise the Tiled Polyline via Flame.
  3. Magic sauce to move Flame Component along aforementioned points.

Does this sound like an optimal solution? Is there an example that someone could point me towards, specifically one that sheds clarity regarding how to go about #3?


1 Like