Best way to do a sequence of movements?

ShanestaShanesta Member Posts: 63
edited November -1 in Working with GS (Mac)
What is the best way to script out a sequence of movements? I want one ovement to trigger once the previous one is completed.

I've tried a few different ways, but it is a little confusing.

If I'm using Move To with it set to realtive to Actor, is it relative to where it is when this movement triggers, or is it based off where the actor is located when the scene was started? It seems to be the where it was when the scene was started.

I also tried to use Move with Timers like

1. for 1 second move direction 180 Relative to Actor , Additive

2. After 1 second for 0.5 seconds move direction 90 Relatice to Actor, Additive

3. After 1.5 second for 0.5 seconds move direction 270 Relatice to Actor, Additive

This works, but semms like a pain of a way to do it, having to add up all the previous move times into a delay for the current action. It also make it hard to have thing to move to specific locations on the screen.

If I use Move To, I dont know how long to set the delay times as I did with using Move.

Is there a easier way to do this?

Thanks for any insight!

Comments

  • JGary321JGary321 Member Posts: 1,246
    I made 4 actors named Left, Right, Up, Down. When actor collides with up change velocity to up etc. .. Put these in your scene. This works for some types. All depends on the type of game u are making.
  • quantumsheepquantumsheep Member Posts: 8,188
    Yep, that works.

    I actually do it the timer way, but then my movements aren't too complicated.

    Which is why I'm an easy stalker target. Or something.

    QS

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • butterbeanbutterbean Member Posts: 4,315
    Quantum, when are we gonna' see your super secret game? :)
  • quantumsheepquantumsheep Member Posts: 8,188
    When it's released on iphone ;)

    I'm really enjoying making it - two levels down, four to go.

    Though my super super super secret game is a little while away - haven't worked on it much as it required multi-touch. But we'll be getting that soon (tm)

    I like to help out, but as you can probably tell, I'm a bit secretive ;)

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

Sign In or Register to comment.