Up and Down loop actor
michelericcio
Member Posts: 45
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.
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
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!
:-(
sorry it's possibile have a example with GS?
Thanks man
Is perfect!!!