Jump to content

Path lineTo only creates point in particle?


_ok
 Share

Recommended Posts

I am trying to following this example and I want to create multiple lines in a path using lineTo instead of circleTo, but instead the particle treats it like two points.

var path = new Phaser.Curves.Path(0,0).lineTo(100, 200);

 

Any help is appreciated.

Link to comment
Share on other sites

8 hours ago, rich said:

Sorry, there was a bug stopping this from working properly. This has been fixed in 3.4, so the above code will do as you'd expect. 3.4 will be released shortly, or can be found in the repo master branch.

Thank you!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...