Search found 97 matches

by kevin11
Fri Feb 10, 2012 10:50 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: waits and movements again
Replies: 12
Views: 7151

Re: waits and movements again

oh ! I think I've solved it. Using one of your suggestions !
Have to test it more thoroughly first though.
by kevin11
Fri Feb 10, 2012 9:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: waits and movements again
Replies: 12
Views: 7151

Re: waits and movements again

Thank you for this. I'm not sure how to get a new set of arrivals once Next has been clicked and the originals have departed. To re-paraphrase your paraphrase : On any given page: Start with no objects. Objects (of various types) will arrive, at any speed, with any delay to their start time Those sa...
by kevin11
Fri Feb 10, 2012 2:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: waits and movements again
Replies: 12
Views: 7151

Re: waits and movements again

You're probably looking for something more like this, no? The test for done is at the end of the transition handler. This should get you started anyway. Many thanks for this. Unfortunately, one of the critical requirements is that A,B and C are deleted at the end of the moves. This is because, as p...
by kevin11
Thu Feb 09, 2012 8:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: waits and movements again
Replies: 12
Views: 7151

Re: waits and movements again

Dixie wrote:Kevin11...

Bernd Niggeman posted this a a solution to scaling and moving images
http://forums.runrev.com/phpBB2/viewtop ... 042#p37952
You might get some ideas from the stack...

be well

Dixie
Thanks Dixie. Unfortunately that doesn't address the problem, but interesting anyway.
by kevin11
Thu Feb 09, 2012 6:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: waits and movements again
Replies: 12
Views: 7151

Re: waits and movements again

Why wouldn't you have two cards with things in place, then just move from one to the other with a nice transition? All this moving seems to be pretty convoluted... But I'm not the designer, so you may have a good reason or two. Kelly The client has seen this : http://heuristicmedia.tv/apps/cycleped...
by kevin11
Thu Feb 09, 2012 6:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: waits and movements again
Replies: 12
Views: 7151

Re: waits and movements again

Unfortunately that sends do_arrival into an infinite loop !
by kevin11
Thu Feb 09, 2012 6:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: wait command
Replies: 9
Views: 5905

Re: wait command

Why are you posting the same thing in three different threads? This is getting annoying. One thread was about the wait statement, one about detecting end of movements. Different things. Wasn't sure where to post the stack, so I put it in a third thread. Quite simple, really, and I apologise for hav...
by kevin11
Thu Feb 09, 2012 3:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: wait command
Replies: 9
Views: 5905

Re: wait command

dunbarx wrote:I suspect there is a simple and robust way to do what you want.
So do I !

I've posted a little stack under another topic.

Thanks

Kevin
by kevin11
Thu Feb 09, 2012 3:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: waits and movements again
Replies: 12
Views: 7151

waits and movements again

I have an app that creates a load of fields and images off screen, and moves them on screen when the creation has finished. If the user clicks to "turn the page", the objects need to move off the screen, and then a new set of objects is created off-screen and moved into place. I'm having problems wi...
by kevin11
Thu Feb 09, 2012 12:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: wait command
Replies: 9
Views: 5905

Re: wait command

"wait until ..." is always critical, unles you implement a back door, so you can get out of this loop-of-death if this condition never happens! Quite ! When I read the dictionary I thought you gotta be kidding ! That's such a poison pill when developing an app, there's bound to be something that st...
by kevin11
Thu Feb 09, 2012 11:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: wait command
Replies: 9
Views: 5905

Re: wait command

Well, it seems to me that a statement like wait until x < 10 is a good way to hang a program, if for some unforeseen reason x never gets below 10. So a way of programmatically bailing out of the wait in case of a bug. Having spent most of yesterday with hangs, crashes, and my cards getting randomly ...
by kevin11
Thu Feb 09, 2012 11:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: detecting movement finished
Replies: 6
Views: 4032

Re: detecting movement finished

Sorry, but I'm still struggling with this. Basically, when a bunch of objects have all stopped moving, I want to group them. So I can use what has been suggested here, which is to handle it in a movestopped handler, which on its final invocation can do the grouping. The problem I am having is how to...
by kevin11
Thu Feb 09, 2012 1:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: wait command
Replies: 9
Views: 5905

wait command

I can use a wait command, eg, wait until x < 10, but how do I trap the situation of x never becoming less than 10 ?

How do I execute :

wait until x < 10 but don't wait too long as other things need doing
by kevin11
Wed Feb 08, 2012 2:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: detecting movement finished
Replies: 6
Views: 4032

Re: detecting movement finished

Thanks Kelley ! What I'm unclear about concerning handlers is the following : A : do stuff B : start a load of objects moving over different times... C : do stuff D : do more stuff E : even more stuff and a handler for movestopped. The movestopped handler can do what is being suggested here, but wha...
by kevin11
Wed Feb 08, 2012 1:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: detecting movement finished
Replies: 6
Views: 4032

Re: detecting movement finished

Thanks for this - that does the trick.

It occurs to me that one could also just increment a move counter each time an object is told to move, and on each movestopped just decrement the counter. Zero would mean everything has stopped.

Thanks for the answer, it has shown me the way forward.

Go to advanced search