mk12001 Posted September 3, 2015 Share Posted September 3, 2015 Hi, I'm trying to create a group of objects (in random order) that comes from a single point of origin and then follows a curved path until it reaches it's destination. What's the best way to do this? Can I use tweening? If so, can you please provide a sample code? I have attached a picture to best illustrate my query. Thanks! Link to comment Share on other sites More sharing options...
zatch Posted September 3, 2015 Share Posted September 3, 2015 Hi mk12001, Is the final position random, also? If so, I'd suggest looking at the Phaser particle system. The Diamond Burst example might be a good starting point for something simple: http://phaser.io/examples/v2/particles/diamond-burst I hope I understood your question and this helps! Link to comment Share on other sites More sharing options...
CodeToWin Posted September 3, 2015 Share Posted September 3, 2015 check out this tutorial http://www.emanueleferonato.com/2015/08/21/playing-with-phaser-tweens-and-bezier-curves/ Tilde 1 Link to comment Share on other sites More sharing options...
Recommended Posts