Page 1 of 2

Many ways to animate

Posted: Thu Apr 21, 2016 10:54 am
by richmond62
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

Re: Many ways to animate

Posted: Thu Apr 21, 2016 6:51 pm
by richmond62

Re: Many ways to animate

Posted: Thu Apr 21, 2016 6:52 pm
by richmond62

Re: Many ways to animate

Posted: Thu Apr 21, 2016 6:53 pm
by richmond62

Re: Many ways to animate

Posted: Thu Apr 21, 2016 7:11 pm
by richmond62
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.

Re: Many ways to animate

Posted: Fri Apr 22, 2016 6:47 pm
by richmond62

Re: Many ways to animate

Posted: Fri Apr 22, 2016 6:48 pm
by richmond62

Re: Many ways to animate

Posted: Sat Apr 23, 2016 4:46 pm
by richmond62

Re: Many ways to animate

Posted: Sat Apr 23, 2016 4:59 pm
by richmond62
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".

Re: Many ways to animate

Posted: Sat Apr 23, 2016 5:03 pm
by richmond62
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.

Re: Many ways to animate

Posted: Sat Apr 23, 2016 7:20 pm
by richmond62

Re: Many ways to animate

Posted: Sun Apr 24, 2016 8:40 am
by richmond62

Re: Many ways to animate

Posted: Sun Apr 24, 2016 10:00 am
by Dixie
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

Re: Many ways to animate

Posted: Sun Apr 24, 2016 11:53 am
by richmond62
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

Re: Many ways to animate

Posted: Sun Apr 24, 2016 1:19 pm
by richmond62
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.