User Tag List

Results 1 to 2 of 2

Thread: How to make line trail following player?

  1. #1
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)

    Join Date
    Oct 2011
    Location
    Oregon
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to make line trail following player?

    I want to have a line coming out of the player, showing the path he's taken. It has to be able to turn to show the player's exact path (all turns in this game are 90 degrees though, so that's probably not too hard). I also want the line to fade out after a certain number of pixels behind the player.

    I can do this with scaling multiple single pixel actives, but I imagine there must be an easier/higher performance way of doing it. Any ideas?

  2. #2
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I did this for my game, I used a surface object to do it with couple of actives.

    Basicly, at start. 10 actives called 'Trails' start at players position.

    Always >> 10 pos to 9, 9 to 8, 8 to 7, 7 to 6, 6 to 5, 5 to 4, 4 to 3, 3 to 2, 2 to 1, 1 to player
    Always >>
    Draw 16 pix line on 1 and player,
    Draw 15 pix line on 1 and 2,
    Draw 14 pix line on 2 and 3,
    Draw 13 pix line on 3 and 4,
    etc etc.
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

Similar Threads

  1. How to make the player jump?
    By Fizzypop56 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st August 2013, 12:27 AM
  2. Need a draw line & make active follow line example
    By BREK in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th January 2011, 09:50 AM
  3. how to make player pick up gun?
    By doggsox23 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th July 2008, 12:36 PM
  4. Want to select a player then make him move.
    By GameDesigner in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th February 2007, 10:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •