Quick question about Animation

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, asayd

Post Reply
chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

Quick question about Animation

Post by chris25 » Tue Oct 22, 2013 8:36 am

I can make an animated GIF in Photoshop, or, I have software for converting a movie file into an animated GIF. Talking no more than 15 - 20 frames does Livecode support this sort of inclusion into its code as opposed to 'coding' the actual movement in Livecode? Would the code be bloated as a result, is this the best way to approach animations in Livecode or should I really look at the animation engine that Livecode provides.

Thankyou.
Chris

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Quick question about Animation

Post by Mag » Tue Oct 22, 2013 9:20 am

Hi Chris,

just import the image as control:

File > Import As Control > Image File...

You can also set its properties in the Inspector (frame, repeat, repeat in reverse etc).

PS
Note that you can then also use the image as icon in a button

chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

Re: Quick question about Animation

Post by chris25 » Tue Oct 22, 2013 10:38 am

Amazing...something that is not complexed. I had no idea it was that simple. Thankyou Mag.

Post Reply

Return to “LiveCode University”