0
Résolu

Object replay

Clint Sutton il y a 11 ans mis à jour par Alin Alexandru Matei il y a 11 ans 3
I have an object moving across the screen, it is on "replay" so that it repeats it's linear move.

I want the object to repeat randomly.  At the moment, it re-appears exactly the same time each time it "replays".  Is there a way to make it "replay" at random times?

Thanks
Clint

Solution

Solution
Résolu
At this moment there isn't an option for this. I will try to find an alternative way to do this and will let you know.
Here is a sample app of a way to do this:
116 - Animation Random Time.zip

So basically I have a frame element (bike) that will do a static animation at a random time. The random time is dictated by an off screen intersection. The elements that are intersecting are:
an arrow that is doing a linear animation with replay with random duration
and a transparent element that is place on the arrow path.
When those two intersect, the bike will animate. We will not know when the bike will animate because of the random duration of the arrow animation.
Résolu
At this moment there isn't an option for this. I will try to find an alternative way to do this and will let you know. Thank you for your feedback.
Solution
Résolu
At this moment there isn't an option for this. I will try to find an alternative way to do this and will let you know.
Here is a sample app of a way to do this:
116 - Animation Random Time.zip

So basically I have a frame element (bike) that will do a static animation at a random time. The random time is dictated by an off screen intersection. The elements that are intersecting are:
an arrow that is doing a linear animation with replay with random duration
and a transparent element that is place on the arrow path.
When those two intersect, the bike will animate. We will not know when the bike will animate because of the random duration of the arrow animation.
Hi Alin, thanks for the example. 

I tested it out, and unfortunately, it still does not give a random timing.  The problem is, that the "random" setting on the arrow, only works once, the first time.  Every time it replays again after that, the time is the same, it stays at whatever time it chose in the first time it played.  So the arrow does not replay at a different speed each time.
The random settings could repeat twice, but the arrow will animate with different duration.
Hi Alin,

I think it's supposed to be random duration every time it replays, but it doesn't.  The arrow in my builder/player plays the same duration every time.