my project saves just fine and the stand alone plays great on my own computer. however, when i distribute it over the internet and go to a different comupter to run it the speed is way to fast.
my character's lips go very, very fast. much faster than on my own computer. i went back and added extra cards too slow down the speech animation. on my computer it does slow down but when i play it on the internet it s too fast again.
any ideas ?
playback speed
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
What are you using to time between each frame of your animation? If it were me I would use a global constant such as milliseconds or ticks, thus when you play back on any machine, the time between the frames will be the same.
to play 30 frames you could use:
repeat with tCount = 1 to 30
--show frame tCount or whatever
wait 10 ticks with messages
next repeat
be sure to use the with messages or runrev will seize control of the app until the lopp has finnished.
to play 30 frames you could use:
repeat with tCount = 1 to 30
--show frame tCount or whatever
wait 10 ticks with messages
next repeat
be sure to use the with messages or runrev will seize control of the app until the lopp has finnished.
Luc,
I assume you have a simple repeat loop to play the animation. Try this instead:
To start the animation, you can use a button:
Best,
Mark
I assume you have a simple repeat loop to play the animation. Try this instead:
Code: Select all
on goNextCard
go next cd
if number of this cd < the number of cards then
send "goNextCard" to me in 83 millisecs
end if
end goNextCard
Code: Select all
on mouseUp
goNextCard
end mouseUp
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