Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
command leavesAreFalling
move image "leaf1" to the points of graphic "way1" in 10 seconds without waiting
move image "leaf2" to the points of graphic "way2" in 10 seconds without waiting
--wait 4 seconds
move image "leaf3" to the points of graphic "way3" in 6 seconds without waiting
send "FeuillesQuiTombent" to me in 10 seconds
end leavesAreFalling
I would want to do that "leaf3" begin to move after 4 seconds but when i use "wait" the moving block or are not fluide
on OpenCard
leavesAreFalling
WaitLeaf
end OpenCard
command leavesAreFalling
if fin is false then
move image "leaf1" to the points of graphic "way1" in 10 seconds without waiting
move image "leaf2" to the points of graphic "way2" in 10 seconds without waiting
--move image "leaf3" to the points of graphic "way3" in 6 seconds without waiting
send "leavesAreFalling" to me in 10 seconds
end if
end leavesAreFalling
command leavesAreFallingWithDelay
move image "leaf3" to the points of graphic "way3" in 6 seconds without waiting
send "WaitLeaf" to me in 6 seconds
end leavesAreFallingWithDelay
command WaitLeaf
send " leavesAreFallingWithDelay" to me in 4 seconds
end WaitLeaf