Jump to content

Leave colored track when tween object passes path.


jclyra
 Share

Recommended Posts

Hi,

I'm new to Phaser and I have some questions when using tween and fill color on which I wasn't able to find any information if it is possible. 

Basically, I have a straight short line (let's say 20px) which travels from the right side of the screen to the left, but when it reaches the middle part of the screen it creates a circular loop forming the letter "O" and then continues moving till it reaches the left side of the screen.

What I wanted to do is when the short line loops in the middle part, the track should be filled with color and forming the letter O itself.  Is this possible?

I appreciate any information or anyone who can direct me to a reference on this..

Thanks

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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