Object Trail behind player?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I want to make a lantern that smoothly follows the player but doesn't go on top of it, Basically a thing that trails behind and stays a certain distance away. I don't know if this helps answer but I'm using the built in eight direction movement.

  • If I'm understanding right, you want the flame of the lantern to trail off and fade behind it? Kind of like how onionskinning looks? If so, clone the flame of the lantern and run a few events like this;

    - Always -> Set direction to Dir("Lantern Flame") -> (then under "Order") Move object (Lantern Flame Trail) behind ("Lantern Flame")

    - Every 00" -02 -> create "Lantern Flame Trail at 0,0 from Lantern Flame

    - Every 00" -04 -> destroy "Lantern Flame Trail"

    Now just set the fade out to a low number under the object properties and you're good to go.

    Developer/Composer :

    Vamprotector

    Castlevania Chronicles 2 - Simon's Quest

    Castlevania Chronicles 3 - Dracula's Curse

  • Try setting the object that follows to a vector movement, add the clickteam movement object, and set an Always event, one that sets the object to the clicteam movement object, and add to it under the clickteam movement object - vector movement - direction - set direction towards point. Then just select the object you want to follow. Make sure to set the gravity strength to 0 as well under the properties. If you need an example i can put one together for you.

    Developer/Composer :

    Vamprotector

    Castlevania Chronicles 2 - Simon's Quest

    Castlevania Chronicles 3 - Dracula's Curse

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!