Showing different images when moving?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Showing different images when moving?
ROACH !!!!
Re: Showing different images when moving?
Hi all!
Thanks for the replies. There's definitely a lot of new valuable information posted here since the last time i checked. Unfortunately I'm still tied up with work and haven't gotten the time to work on this but i do check on this thread occasionally in hopes there might be suggestions for improvement which they are
Thanks for the replies. There's definitely a lot of new valuable information posted here since the last time i checked. Unfortunately I'm still tied up with work and haven't gotten the time to work on this but i do check on this thread occasionally in hopes there might be suggestions for improvement which they are
Re: Showing different images when moving?
Hi Jim,Slightly changed stack is attached.
The stack you attached works and looks way smoother than mine thanks
I tested it out and after i held down an arrow key for a period of time let's say around 2 seconds? It starts to flicker between the arrow and the circle and is stuck in the same spot. Was that supposed to happen or is it just me? Don't get me wrong, its a great help and is far superior to my coding. Just wondering if the flickering is an issue on my side.
Cheers
Chrono
Re: Showing different images when moving?
It probably is not supposed to happen, and it is not just on your machine (happened on my machine as well, linux box).
Re: Showing different images when moving?
Erm well, heh, I ah, don't really use anything newer than 6.5 regularly, and usually I am poking around in things much older than that
Re: Showing different images when moving?
Hi Chrono,
No there is no flickering or sticking here on any version of LC on a Mac.
Perhaps your issues are not LC but OS related.
JimL
No there is no flickering or sticking here on any version of LC on a Mac.
Perhaps your issues are not LC but OS related.
JimL
Re: Showing different images when moving?
Hi All,
This thread has led me to create a behavior and example stack for making cel animation easy in LC.
Here it is:
http://livecodeshare.runrev.com/stack/857/Cel-Animation
Enjoy!
Jim Lambert
This thread has led me to create a behavior and example stack for making cel animation easy in LC.
Here it is:
http://livecodeshare.runrev.com/stack/857/Cel-Animation
Enjoy!
Jim Lambert
Re: Showing different images when moving?
All I can say is WOW
-
- VIP Livecode Opensource Backer
- Posts: 9834
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Showing different images when moving?
Nicely done, Jim!
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Showing different images when moving?
Bogs & Richard,
Thanks
JimL
Thanks
JimL
Re: Showing different images when moving?
To get a real treat as your watching Jim's work, after you set the last dispatch command ( I used 120 instead of 80 ), and hit [Start], you see the cat start a nice leisurely trot. Without changing anything, hit [Start] again, and after a few seconds again.
That is one cat that can really MOVE
That is one cat that can really MOVE
Re: Showing different images when moving?
Bogs,
That's very cool. You've discovered a second way to speed up the animation.
Each time you click START you add additional animateMe's to pendingmessages. Neat!
But I think that speed won't survive leaving the card. The leisurely 120 speed will be restored on return to the card and INITing, since that value is stored by SETUP.
A more persistent way to speed up would be retimeMe which saves the changed timing value.
Is blistering too.
JimL
That's very cool. You've discovered a second way to speed up the animation.
Each time you click START you add additional animateMe's to pendingmessages. Neat!
But I think that speed won't survive leaving the card. The leisurely 120 speed will be restored on return to the card and INITing, since that value is stored by SETUP.
A more persistent way to speed up would be retimeMe which saves the changed timing value.
Code: Select all
dispatch "retimeme" to the selobj with 0
JimL
Re: Showing different images when moving?
Yuppers, noticed that on the first run through, just thought the effect of going from slower to faster hitting start was like releasing a power stroke. As I said initially, WOW really elegant way to handle it.