The idea is to move it from the Sprite's position to PathList(nextCell)'s position (object.PathFinder.getCtX(CurrentCell + 1), object.PathFinder.getCtY(CurrentCell + 1)). I'm working on this for my current game, I'll try to make an example capx out of it.Kyatric2011-09-10 00:31:40
13-09-2011: Reuploaded PFDemo.capx and the C2runtime.js from the demo to fix a bug when clicking the GUI panel button, if the panel was showing/hiding and/or the commands fading in/out. Update to the PathFinder behavior runtime itself (setCellSizeSide). It appeared that the PathFinder was looking for a path out of the layout boundaries.
Let me know if you experience any trouble.Kyatric2011-09-13 12:53:50
I am still eager to find an easy way for an object to move along a path. Also will this kill my performance if i want to have multiple instances of an object tracking a moving target? Would it work if I just tell them to calculate a path twice, 4 times a second instead?