Follow a path

PagiePagie Member Posts: 4
edited November -1 in Working with GS (Mac)
How kann i make an actor follow a path?

Comments

  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Dependes on te PAth, a predetermined one? One the user will draw?
    You can make a sequence of movements with move or interpolate.
    Cheers.
  • PagiePagie Member Posts: 4
    well i want to make a level selection with a map so i have to make the player follw a path of dots between the levels
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    If they Between dots are straight line, just interpolate.
    OtherWise, Interpolate following the path with more than one interpolate.
    Lol.
    You get it? Im not a good explainer! :D
    Cheers.
  • PagiePagie Member Posts: 4
    I think i undestand...
    the problem is that the player has to press on of the arrows to selct the levels and than the character should automaticlly follow the wright path to the next level and the path are not symmetric
    I would post a picture of the map if i'd know how^^
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Use ORBZ's waypoint demo. Just Change the rules in the waypoints so that you can't drag them around. So that would mean deleting the "when touch is pressed..." rules within the waypoint actor. then just place these waypoints on your map.
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    You Make Rules, If It touches this one, change an attribute Path to 1.
    And in the actor that moves, if path is one, do this path, if it is 2, do this other one, and so on.
  • PagiePagie Member Posts: 4
    ok thanks
Sign In or Register to comment.