move vs changing loc
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
move vs changing loc
The move command allow you to move an image from one coordinate to another, over a certain frame number or speed. Is this in any way different / optimized / faster than calculating a path with coordinates and changing the loc of the image accordingly to animate?
Re: move vs changing loc
Hi Steve,
The move command doesn't lock the GUI, allows for multiple moves simultaneously and is smoother than a repeat loop with messages.
Kind regards,
Mark
The move command doesn't lock the GUI, allows for multiple moves simultaneously and is smoother than a repeat loop with messages.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: move vs changing loc
Perfect, I'll change my implementation.
Re: move vs changing loc
This needs to be said, probably should be annotated in the dictionary notes if only i had a login that worked for it: The move feature, with or without messages, is vastly superior to plotting loc coordinates and issuing updates. It is significantly smoother in operation, even when you have an unoptimized / glitchy service running in the background eating up cpu cycles.