6.0

Create fast, sprite powered games with Animation Engine, co-developed with DerBrill Software!

Moderators: heatherlaine, kevinmiller, robinmiller, malte

6.0

Postby malte » Thu Oct 15, 2015 3:25 pm

Hi all, ae 6 is out!

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
malte
 
Posts: 1096
Joined: Thu Feb 23, 2006 8:34 pm
Location: Ostenfeld germany

Re: 6.0

Postby dave.kilroy » Thu Oct 15, 2015 3:38 pm

Malte if the forum had a 'Like' button I'd have used it on your posting.

AE6 is REALLY NICE!

Thank you for all your hard work
"...this is not the code you are looking for..."
dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 824
Joined: Wed Jun 24, 2009 1:17 pm
Location: Plymouth, UK

Re: 6.0

Postby Brahmanathaswami » Fri Jan 29, 2016 10:57 pm

Malte! thank you for this... I'm only now beginning to explore in depth... regarding Morph/Tweening. You write in the demo

"Attention!

Currently the pointLists must hold an equal number of entries, otherwise the morphing of the graphics will break. If there is enough interested in this feature, I will try to explore means to change that behaviour.

IMHO this could be HUGE! if the tweening could be used move arms and legs or eyes and mouth etc then we are getting close to having a powerful animation tool inside LiveCode itself. Currently our options are very limited. SynFig is popular and it allows users to create vector animations and tween between two states without having to draw every single frame. So I have to find someone adeptin synFig to create characters and then we import those into LiveCode. but with Morph.. you could create your own animation building tools. I would glad pay for those!
Brahmanathaswami
 
Posts: 46
Joined: Mon Jun 24, 2013 4:10 am
Location: Hawaii

Re: 6.0

Postby malte » Sat Jan 30, 2016 3:45 pm

Hi Brahmanathaswami,

right now this only works on livecode primitives (the graphic object if the to line or polygon). This could indeed be very cool, but for now the scope is limited. Also setting the points of a graphic is a rather costy operation in terms of clockcycles. So for now it would only be useful on the desktop. That said, it might translate rether well to the svg widget(s) that are coming up, though at this time, I do not have the capacity to look into that.

All the best,

Malte
malte
 
Posts: 1096
Joined: Thu Feb 23, 2006 8:34 pm
Location: Ostenfeld germany

Re: 6.0

Postby Brahmanathaswami » Sun Jan 31, 2016 1:39 am

Understood. Animation is not easy! But AE is great. I have KenBurns effects tool box cooking here and all I need to use is aeChangeRect... awesome, in the sense that it is so easy! Thank you.
Brahmanathaswami
 
Posts: 46
Joined: Mon Jun 24, 2013 4:10 am
Location: Hawaii

Re: 6.0

Postby Gage » Wed Aug 31, 2016 3:12 pm

Hi Malte,

Is AE still running for LiveCode these days? I have a license from a few years ago, but I was wondering if it's now deprecated for the newer versions of LC. The link in this thread does not seem to be working.

Any tips on how to keep AE as part of my LiveCode toolbox would be greatly appreciated!


Herzliche Grüße!
Phil E.
Gage
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 224
Joined: Tue Mar 26, 2013 8:59 pm
Location: Heidelberg, Germany

Re: 6.0

Postby malte » Fri Sep 02, 2016 4:01 pm

Hi Phil,

yes, AE still works in 8. Just the LC page got a major update, so that links are not working. You can always find the latest stuff on GITHUB:

https://github.com/derbrill/animationEngine

Cheers,

malte
malte
 
Posts: 1096
Joined: Thu Feb 23, 2006 8:34 pm
Location: Ostenfeld germany

Re: 6.0

Postby Brahmanathaswami » Fri Sep 02, 2016 6:56 pm

Phil: confirmed here... I've been using AE 6 in all versions of 8, 8.1 and now 8.1RC1 with no problems.

BR
Brahmanathaswami
 
Posts: 46
Joined: Mon Jun 24, 2013 4:10 am
Location: Hawaii


Return to Animation Engine

Who is online

Users browsing this forum: No registered users and 1 guest