_ok

Path lineTo only creates point in particle?

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.

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.