Page 1 of 1
Animations stops where moving card/window
Posted: Fri Mar 12, 2010 2:34 pm
by bbox
Hi,
I have the problem on subect, when an animation is running and I move the window, it stops executing.
There is some way to bypass this ? Cause I can have sync problems in my game
Regards,
Andy
Re: Animations stops where moving card/window
Posted: Fri Mar 12, 2010 2:55 pm
by Klaus
Hi Andy,
we need more info to be able to help you!
Like:
What kind of animation is playing? Do you have a "movestack" handler?
Best
Klaus
Re: Animations stops where moving card/window
Posted: Fri Mar 12, 2010 3:16 pm
by bbox
Hi Klaus,
they are around 52 images and the animation is quite simple:
put 1 into x
repeat with i = 1068 to 1120
show image ID i
move image ID i from 100,400 to 100+(x*10),150 in 10 ticks
put x+1 into x
end repeat
I don't use any other handler for this test
Re: Animations stops where moving card/window
Posted: Fri Mar 12, 2010 3:27 pm
by Klaus
Hi Andy,
hm, "move" is non-blocking so there is no reason why this should happen.
And you say the complete animation just stops? This is even more mysterious
I have no idea actually, but I can offer that you send me your stack and I will take a look, if you like:
My address: klaus (AT) major-k.de
Best
Klaus
Re: Animations stops where moving card/window
Posted: Fri Mar 12, 2010 11:11 pm
by bbox
Here is the example file, is it an unknow "feature" of RunRev ?
Re: Animations stops where moving card/window
Posted: Sun Mar 14, 2010 2:49 pm
by Mark
Hi,
Moving windows and opening menus, for example, block Revolution's script execution. There's nothing you can do about that, except for making your own non-blocking controls, but then performance will be sluggish anyway.
Best,
Mark
Re: Animations stops where moving card/window
Posted: Mon Mar 15, 2010 8:38 pm
by bn
Andy,
if you say in your example script
Code: Select all
move the image ID 1005 from 0,0 to 400,400 without messages
the move will finish first before allowing the card to be moved or any menu to be chosen.
This might not be the cure all because you effectively block everything during the moves, but sometimes it helps.
regards
Bernd