animationEngine 6

Find out what's going on with LiveCode (the company), product releases, announcements, and events.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Location: Ostenfeld germany
Contact:

animationEngine 6

Post by malte » Mon Oct 12, 2015 9:54 pm

Hi forum,

please excuse this rather lengthy post, but I am quite excited...

I almost had let this slip, but I just couldn’t. animationEngine turned 10 years old this months! If there is a good time to do an update, then I guess the tenth birthday is an opportunity I can not miss. So without further ado, I would like to introduce you to the latest version:

http://www.derbrill.de/animationEngine6.zip

The download comes with a tiny demo stack that demonstrates the new stuff. The documentation also has been updated.

For those of you that do not know what animationEngine is:

animationEngine is a dual licensed animation library for liveCode.

animationEngine 6 has been optimized to work with liveCode version 6.7 and higher, including, but without warranty the current developer preview of the liveCode 8 engine (which is by the time of this writing version 8 DP 7).

What is new in version 6?

animationEngine 6 adds 4 major features, along with a couple of helper functions to its Toolset:

1) aeChangeAngleCircular changes the position of an object on a cirCular path. It allows you to use easing effects for the transition.

Example:
aeChangeAngleCircular the long ID of grc "ball",the loc of grc "path",80,tNewAngle,2000,"counterclockwise","bounce"
aeChangeAngleCircular the long ID of grc "ball",the loc of grc "path",80,270,2000,"clockwise","inout“

Parameters:

long ID of the object to move
centerX of path
centerY of path (centerX and centerY can be combined expression) radius from center
desired new angle
duration in millisecs
direction (clockwise OR counterClockwise)
easing method (in, out, inOut, overshoot, bounce or empty)

2) aeMorphGraphic transitions a graphic between 2 pointlists. This is also known as "tweening".

Example:
aeMorphGraphic the long ID of grc 1,sPoints1,sPoints2,1500, tEffect

Parameters:

long ID of a graphic object
pointList (start)
pointList (end)
duration in millisecs
easing method (in, out, inOut, overshoot, bounce or empty)

3) aeMorphGradientRamp changes the ramp of a fillgradient of an object. It allows you to use easing effects for the transition. Example:
aeMorphGradientRamp the long ID of grc 1,tGradient1,tGradient2,3000,“overshoot"

Parameters:

long ID of the graphic that changes the gradient
startGradient
endGradient
duration in millisecs
easing method (in, out, inOut, overshoot, bounce or empty)

See stack ae6demo to see it in action.

4) aeRotateGroup rotates all members of the target group around an arbitrary point. Example:
aeRotateGroup the long ID of grp "rotateMe", the loc of grc "Center",90,1000,"overshoot“

Parameters:

long ID of a group
centerX of rotationPoint
centerY of rotationPoint (centerX and centerY can be combined expression) desired angle in degrees
duration in millisecs
easing method (in, out, inOut, overshoot, bounce or empty)

See stack ae6demo contained in the download to see it in action.

Licensing terms:

These scripts are licensed to you if you agree to be bound to one of the following License types at your choice.

1) GPL 3 You may use animationEngine as FREE Software as outlined in the terms of the GPL3 or any higher version of the GPL as found here: http://www.gnu.org/licenses/gpl-3.0.html

2) Commercial license: If you do not want to disclose the sources of your application you have the option to purchase a commercial license by paying a fee. You can buy a commercial license from the liveCode store. This can be done following this link: https://livecode.com/products/thirdpart ... ine-6-0-0/

AnimationEngine 6 is a major update, so if you want to use it in a commercial context, a new license is required for this version. That said, there is no distinction between the GPL and the commercial version of the library. If you want to use it in a commercial context, we trust you find it worthwhile paying for the license. :-)

If you would like to follow this project, you can do so here: https://github.com/derbrill/animationEngine

Finally a word of thanks for all the support I have received over the years! Without your suggestions, support and contributions, be it buying licenses or otherwise all this would not have been possible!

All the best,

Malte

Post Reply

Return to “Announcements”