Many ways to animate

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Many ways to animate

Post by richmond62 » Thu Apr 21, 2016 10:54 am

I'm starting a sequence of stacks showing different ways of producing animation. This is the first stack:
ANIM1.gif
https://www.dropbox.com/s/br79eany82wlj ... e.zip?dl=0

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Thu Apr 21, 2016 6:51 pm


richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Thu Apr 21, 2016 6:52 pm


richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Thu Apr 21, 2016 6:53 pm


richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Thu Apr 21, 2016 7:11 pm

Personally I think I'm going to go for the graphic object with backGroundPattern method every time
as it seems to offer the chance of far more fine-grained control than any of theotheres.

Also, the "HyperCard" flip-book method results in major file bloat.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Fri Apr 22, 2016 6:47 pm

Last edited by richmond62 on Fri Apr 22, 2016 6:48 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Fri Apr 22, 2016 6:48 pm


richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Sat Apr 23, 2016 4:46 pm


richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Sat Apr 23, 2016 4:59 pm

And here's the eighth.
ANIM8.jpg
https://www.dropbox.com/s/8zauyppv7vtzf ... e.zip?dl=0

Possibly this is the start of something that resembles sprites.

Ouch; sorry about "keyboad".
Last edited by richmond62 on Sat Apr 23, 2016 6:10 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Sat Apr 23, 2016 5:03 pm

A problem associated with both stacks #7 and #8 is that if one keeps one's arrow keys down, instead of "punctuating" them,
one ends up with multiple animations that interfere with other arrowKeyDowns subsequently.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Sat Apr 23, 2016 7:20 pm


richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Sun Apr 24, 2016 8:40 am


Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Many ways to animate

Post by Dixie » Sun Apr 24, 2016 10:00 am

There are indeed many ways to animate... this example was written by John Craig, a couple of years ago... it is liveCode and does not use Malte's animation engine

https://www.youtube.com/watch?v=a_716ei8WOo

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Sun Apr 24, 2016 11:53 am

Thanks, Dixie, for the reference.

However
we require a platform game engine to tie things together.
makes me wonder
if he is using some sort of engine (that is the way I would read that statement).
JCraig.jpg
Last edited by richmond62 on Sun Apr 24, 2016 5:05 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Many ways to animate

Post by richmond62 » Sun Apr 24, 2016 1:19 pm

Here's stack number 10 - collisions, of a sort.
ANIM10.jpg
https://www.dropbox.com/s/i1phxk7px5tfr ... e.zip?dl=0

This is not entirely satisfactory as, by keeping one's finger on an arrow key
one can move the penguin through the brick pile and avoid the collision routine.

Post Reply

Return to “Multimedia”