phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Accept Vector2Likes for Path creation

Open wayfu opened this issue 11 months ago • 0 comments

Currently, we can start a path with a separate x and y or a JSON object in the creator function, and then functions like lineTo and moveTo accept separate x and y values or Vector2s. It would be convenient if Vector2Like were added to the input options, so that we could easily build paths using existing objects' positions, output from various Phaser operations, etc.

wayfu avatar Jul 22 '23 15:07 wayfu