Can an actor follow a preset path?

thegwillthegwill Member Posts: 31
edited November -1 in Working with GS (Mac)
I'd like an actor to follow a preset path (but not just a straight line) like an insect flying or maybe like the boats that move in harbour master.

Is that possible in GS?

Comments

  • victorkin11victorkin11 Member Posts: 251
    No! GS doesn't have path, unless you done it by yourself!
  • thegwillthegwill Member Posts: 31
    Ok, thanx.
  • ORBZORBZ Member Posts: 1,304
    Yes, I've done this with waypoints.
  • thegwillthegwill Member Posts: 31
    So you .MoveTo a succession of pre-determined points?
  • ORBZORBZ Member Posts: 1,304
    Yes, basically... but i don't use moveTo, and since there are no arrays there is no such thing as "a set of predetermined points..." you have to use actors.
  • mrtopzmrtopz Member Posts: 28
    ORBZ, could you please explain better?
  • ORBZORBZ Member Posts: 1,304
    Here's an example I put together, enjoy :)

    http://gamesalad.com/game/play/77465
  • mrtopzmrtopz Member Posts: 28
    Many Thanks!!!
  • alexmayhewalexmayhew Member Posts: 5
    Please excuse my newbie ignorance.

    First the silly question. How do you get the moving object to fly towards other actors?

    Secondly, how is the rotation done? I am trying to build a game where insects fly around but they need to rotate in the direction they are flying in.

    Any help most appreciate.

    (:
Sign In or Register to comment.