Object Speed ?

Klaus on-rev klaus at major.on-rev.com
Wed Apr 14 04:28:32 EDT 2010


Hi Shani,

> HO can i change the speed of different objects.
> 
>  move graphic xyz from the loc of grc xyz to the loc of grc ("xz") in 2
> seconds.
> 
> 
> 
> When I apply this command this wait for 2 second then go toward the goal,
> but I need it like when I have 4 objects and four different goal. 
> 
> It goes toward goal with different speed mean some fast and some slow like
> that .
> 
> 
> How can I set their speed.

use "lock moves" first, then move all objects and then use "unlock moves":
...
lock moves
## or -> set the lockmoves to true

move grc 1 from X,Y to Y,Z in 2 secs
move grc 2 from Z,W to H,K in 3 secs
## more moving objects here...
unlock moves
...

"unlock moves" (or "set the lockmoves to false") acts like the starting shot in a race :-)

> Regards,
> 
> SHANI

Best from germany

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com




More information about the use-livecode mailing list