ChiefJag Posted March 24, 2015 Share Posted March 24, 2015 Hey all, My first problem I am trying to address is drawing a curved line through a set of points. I cannot seem to find this feature anywhere in the documentation (graphics or bitmapData). I am trying to use this curve as the top part of a polygon, which I intend to fill with a texture. Can anyone point me in the right direction here? Thanks! Link to comment Share on other sites More sharing options...
wayfinder Posted July 26, 2015 Share Posted July 26, 2015 Did you ever get anywhere with this? Link to comment Share on other sites More sharing options...
Tom Atom Posted July 26, 2015 Share Posted July 26, 2015 Hi, for curved line see Coding Tips 8: http://www.photonstorm.com/phaser/phaser-coding-tips-8 If you want it go through points, then you are looking for Catmull-Rom curve. Eraph 1 Link to comment Share on other sites More sharing options...
Recommended Posts