Animations stops where moving card/window
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Animations stops where moving card/window
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
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
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
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
Hi Klaus,
they are around 52 images and the animation is quite simple:
they are around 52 images and the animation is quite simple:
I don't use any other handler for this testput 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
Re: Animations stops where moving card/window
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
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
Here is the example file, is it an unknow "feature" of RunRev ?
- Attachments
-
- test_card.rev.zip
- (1.24 KiB) Downloaded 271 times
Re: Animations stops where moving card/window
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Animations stops where moving card/window
Andy,
if you say in your example scriptthe 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
if you say in your example script
Code: Select all
move the image ID 1005 from 0,0 to 400,400 without messages
This might not be the cure all because you effectively block everything during the moves, but sometimes it helps.
regards
Bernd