While loop making a short stop ?
...
Hello !...
So... During my last intervention, I was advised (by our friend Lily) to use the function "while loop" in an advanced action...
So, I've looked into the topic on the net and found a nice example in (our other friend) Paul Wilson's video, making a nice "diaporama" to illustrate this function.
As I work on the rotating earth now, I tried to use this function to make the earth rotating (with 12 different images).
So I put the 12 images in a unique image (called "Terre") with 12 shapes (Called Normal, T2, T3 ... T12)
And in the entering slide conditional advanced action I put :
While 1 == 1
Change state of "Terre" to normal
Delay next action to 0.2 s
Change state of "Terre" to T2
Delay next action to 0.2 s
Change state of "Terre" to T3
Delay next action to 0.2 s
... ... ...
Change state of "Terre" to T12
It works fine !... (as Paul is a great teacher !...)
But there was a little stop during the rotation when the action restarts... and so my Earth stop rotating for about 1 s before starting rotating again... ![]()
I tried to change things in the time-line (reducing the time of the slide to 0,2 s) without any success...
So I was wandering how this could happen ? And by the way how to eliminate this short stop during the while loop action.
PS : I had to make an animated gif with my 12 images to make it work properly (so the problem is already solved for me !...
)
Thanks !...
![]()
...
