Lee Kao Posted January 3, 2015 Share Posted January 3, 2015 I have a sprite and a path for it (path = [[1,1],[1,2],[1,3]), what is the best practice for doing it using the game.physics and not simply chage the x,y values? Link to comment Share on other sites More sharing options...
Lee Kao Posted January 7, 2015 Author Share Posted January 7, 2015 bump Link to comment Share on other sites More sharing options...
Dennis Posted January 7, 2015 Share Posted January 7, 2015 This may help http://gamedevelopment.tutsplus.com/tutorials/understanding-steering-behaviors-path-following--gamedev-8769 it is in as3, but shouldn't be much problem converting to js. Link to comment Share on other sites More sharing options...
Recommended Posts