Very cool, thank you ever so much for your help.
-Jason
Search found 4 matches
- Sat Mar 26, 2011 5:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Moving multiple graphic simultaneously
- Replies: 6
- Views: 4106
- Fri Mar 25, 2011 2:50 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Moving multiple graphic simultaneously
- Replies: 6
- Views: 4106
Re: Moving multiple graphic simultaneously
Ahh, that works, thank you. The reason that it had been freezing before was due to the loop command. Is there anyway that I can loop this without freezing the program? The code below would work if I removed either the repeat command or both the lock and without waiting commands. on movePieces repeat...
- Fri Mar 25, 2011 12:57 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Moving multiple graphic simultaneously
- Replies: 6
- Views: 4106
Re: Moving multiple graphic simultaneously
For some reason that freezes my program. It seems like an interesting command, I am not sure why it is not working.
on movePieces
lock moves
move graphic "piece1" to varX,varY without waiting
move graphic "piece2" to varX,varY without waiting
unlock moves
end movePieces
on movePieces
lock moves
move graphic "piece1" to varX,varY without waiting
move graphic "piece2" to varX,varY without waiting
unlock moves
end movePieces
- Thu Mar 24, 2011 10:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Moving multiple graphic simultaneously
- Replies: 6
- Views: 4106
Moving multiple graphic simultaneously
When I execute the code:
on movePieces
move graphic "piece1" to varX,varY
move graphic "piece2" to varX,varY
end movePieces
the program will first move piece1 then move piece2. How do I tell both of them to move at the same time?
Thanks in advance.
-Jason
on movePieces
move graphic "piece1" to varX,varY
move graphic "piece2" to varX,varY
end movePieces
the program will first move piece1 then move piece2. How do I tell both of them to move at the same time?
Thanks in advance.
-Jason