Page 1 of 1

Overlapping MOVE commands (iOS)

Posted: Sun Dec 21, 2014 11:40 pm
by stjones
I have 8 graphic objects on a screen. When a button is pressed, these objects, using the MOVE command, move from point A to point B, change direction and move from point B to point C. Currently the moves happen sequentially, one starting when the other finishes. I would like to have them overlap, if possible. For example, OBJECT ONE is set to travel from A to B in 5 seconds, and from B to C in 5 seconds. Every object moves at this move rate. I would like for OBJECT ONE to starts it's move, then 1 second into the move, have OBJECT TWO start its move, and then 1 second into OBJECT TWO's move, have OBJECT THREE start its move, etc.

I have looked at the lockMoves command and the move command with the "without waiting" modifier - but can't find a method that works for what I want.

Suggestions?

Thanks!

Re: Overlapping MOVE commands (iOS)

Posted: Mon Dec 29, 2014 6:18 pm
by Simon
Hi stjones,
I think you are going to have to use the gameloop method for this and set the loc of the objects.
There are a bunch of good postings here:
http://forums.livecode.com/viewtopic.ph ... 2&p=115079

Simon