Up and Down loop actor

michelericciomichelericcio Member Posts: 45
edited November -1 in Working with GS (Mac)
Hi, i have a problem. I want to create a simile animation that i have create now with flash
http://www.kfdesign.it/example.swf

It's possible automatize this animation nothing X and Y, but only movement(that is compatible with all objects, placing it only with the drag e drop)?

Sorry for english.

M.

Comments

  • rebumprebump Member Posts: 1,058
    This is where knowing how the GS engine/execution pipeline is supposed to work (and how it actually works) comes into play.

    You should be able to create an actor attribute (call it "TimeToGoUp" or something) and set it to one. Then in a rule, if "TimeToGoUp" is "1", then use a "Move To" to go up to some coordinate and then set "TimeToGoUp" to "0". In that rule's "Otherwise" clause, have a "Move To" to go down to the other end point and set "TimeToGoUp" to "1".

    Now you think that would work and it has for me at times...

    However, you may (and will likely) need to wrap it in a timer (i.e. like a "every X.X seconds" timer where the "X.X" is enough time for the movement to complete the travel from top to bottom or bottom to top).

    The other caveat is "Move To" is not reliable either, so you may need to use some of the other move behaviors and possibly throw in some invisible actor walls to make sure the actor stops (use a collision behavior).

    So, it can be done but you have to play around with it with the current beta status of GS!

    :-(
  • michelericciomichelericcio Member Posts: 45
    Hi, thank you for the answer..the "move to" is very very crazy :(
    sorry it's possibile have a example with GS?

    Thanks man :)
  • michelericciomichelericcio Member Posts: 45
    Hi Tiny! Thank you so much!!!!
    Is perfect!!!
Sign In or Register to comment.