Tutorial requests

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

Moderators: heatherlaine, kevinmiller, robinmiller, malte

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

Tutorial requests

Post by malte » Mon Apr 10, 2006 12:13 pm

Hi all!

You need a special tutorial? Looking for inspiration? Please post your requests here.

All the best,

Malte

mcgrath3
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 149
Joined: Thu Feb 23, 2006 8:49 pm
Location: Bethel Park, Pittsbrugh, Pennsylvania USA
Contact:

Cover Flow in AE

Post by mcgrath3 » Tue Mar 04, 2008 4:01 pm

Dear Malte,

It just occurred to me that AE might work for the Cover Flow technique. I am not familiar enough with AE for this but if you can create 3D and animation than a plane with an image acting like CF seems possible.

What do you think?

Tom
Tom McGrath III
Lazy River Software
3mcgrath@comcast.net

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

Post by malte » Tue Mar 04, 2008 5:01 pm

Hi Tom,

AE can only deal with wire frame 3d. So the image distortion would not look quite right. It is possible to have other effects, that come "close" to coverflow (as long as the images do not need to be distorted, but just scaled), as you can calculate height and width of images that move through 3d space. I did that with the balls in the AE demo that you can find in the revselect section on RRs server.

All the best,

Malte

Drisk
Posts: 10
Joined: Wed Dec 17, 2008 4:26 am
Location: Carbondale, IL

AE tutorial

Post by Drisk » Wed Dec 17, 2008 4:35 am

Hi Malte,

Your post was from so long ago. I just got AE with Rev Studio 3.0. I tried the sample for movelinear after creating an oval graphic called MyGraphic and putting this code into the button:

on mouseUp
if the flag of me is empty then set the flag of me to false
set the flag of me to not the flag of me
hereWeGo
end mouseUp

on hereWeGo
send moveLinear to grc "myGraphic"
if the flag of me then
send hereWeGo to me in 2 milliseconds
end if
end hereWeGo


I even issued the command "Start using stack "AnimationEngine"

All I get is an error message saying...

executing at 9:33:41 PM
Type Handler: can't find handler
Object Button
Line send moveLinear to grc "myGraphic"
Hint moveLinear

How can I learn to use this tool? Can an image like an air balloon be redefined as the graphic to be moved?

I hope you get this message,
Thanks

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

Post by malte » Wed Dec 17, 2008 1:29 pm

Hi Drisk,

I can not see anything wrong with your code. Are you sure animationEngine is in use? What do you get when you open the messagebox and type:

put the stacksInUse

?

I am traveling at the moment, so it might be a moment before I reply.

Cheers,

Malte

Drisk
Posts: 10
Joined: Wed Dec 17, 2008 4:26 am
Location: Carbondale, IL

Post by Drisk » Wed Dec 17, 2008 9:53 pm

thanks Malte,

I did not realize that you have to start the application AE independently before entering the startusing command in the stack.

Are there books or tutorials on AE yet?

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

Post by malte » Wed Dec 17, 2008 10:06 pm

Hi Drisk,

no books as yet. :-D

But there are a few tutorials. You surely have seen the stack animationenginedocs.rev that comes with AE. Any entry in the right hand field carries an example. If you then choose example at the top, you will see a little more info badge rolling in. If you click that, you see a step by step tutorial to rebuild that demo. also there is a (quite old I am afraid) eBook I wrote.

http://www.runrev.com/downloads/all-dow ... on-engine/

One of the lat newsletters featured a tiny tutorial:

http://www.runrev.com/newsletter/octobe ... etter3.php

Hope that helps to get you started. And of course you are always welcome to ask any AE related question. I will try my best to answer as quick as possible and if I am too slow, chances are high an ae user jumps on.

Cheers,

Malte

Drisk
Posts: 10
Joined: Wed Dec 17, 2008 4:26 am
Location: Carbondale, IL

Post by Drisk » Thu Dec 18, 2008 3:04 pm

Thanks for your swift reply, Malte.

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Tutorial requests

Post by ctflatt » Fri Jan 21, 2011 1:26 pm

Malte:

How've you been?

Per another discussion in the iOS forum, I asked about a physics engine for LC/iOS.

As I'm already using AE in some mobile projects, I was wondering if AE can be used with gestures for mobile devices. Take moving an object with momentum (easing?) by touch/drag gestures on the iPhone/iPad, for example.

Is this possible with AE? If so, may I request a tutorial on how to implement?

Many thanks,

Todd

BTW, I still consider myself a noob... :)

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Tutorial requests

Post by ctflatt » Fri Jan 21, 2011 6:08 pm

How coincidental... I just received the upgrade notification to 4... :)

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

Re: Tutorial requests

Post by malte » Sat Jan 22, 2011 12:13 am

Hey Todd,

hope you are fine. No physics in AE as yet. Dragging multiple objects with AE 4 yes. I can even think about releasing those and easing them out.
AE has a pretty bright future though. There will be lots happening the coming months. Especially iOS deployment has me excited, however it took a little time to optimze all the stuff in AE for mobile devices. The plan is to add more functionality for both desktop and mobile over the course of the following months and work a lot of stuff into the 4.x series of AE. Not sure about physics yet though. I´ll have to do a lot of reading in that regard.

All the best,

Malte

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Tutorial requests

Post by ctflatt » Sat Jan 22, 2011 12:17 am

Do you have any tuts for AE4 yet? Of course I purchased a copy right after getting the email today :)

Let me know...

:Todd

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

Re: Tutorial requests

Post by malte » Sat Jan 22, 2011 12:40 am

Tutorial Series starts mid February. Basics first, then gradually doing more complex stuff.
Most of AE 4 was making stuff work on iOS (and that was really a hard nut to crack.) To give you a little bit to play though try this ( I posted it to the use-list today)

Create a stack, a few buttons
name one of the buttons "doIt"
set the script of btn "doIt" to

Code: Select all

on mouseUp pMouseBtnNo
    if "animationEngine" is not among the lines of the stacksInUse then
      answer "This needs AE to run"
      exit mouseUp
    end if
    aeStopMoving "all"
    lock screen
  -- I want them to start from the center, if they should move from anywhere, comment out the repeat loop
    repeat with i=1 to the number of buttons
        if the short name of btn i= the short name of me then next repeat
        set the loc of btn i to the loc of this cd
    end repeat
    unlock screen
    aeLockMoves
    repeat with i=1 to the number of buttons
        if the short name of btn i= the short name of me then next repeat
        aeMoveTo the long id of btn i,random(the width of this cd),random(the height of this cd),1000+random(1000),any item of "in,out,inout,bounce,overshoot,"
    end repeat
    aeUnlockMoves
end mouseUp

Cheers,

Malte

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Tutorial requests

Post by ctflatt » Sat Jan 22, 2011 1:16 am

Malte:

Sounds great, and thanks.

I'll play a bit :)

:Todd

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

Re: Tutorial requests

Post by malte » Thu Feb 17, 2011 9:20 am

Bumping this up...

I am in the process of revamping my website and plan on publishing more tutorials. So now is a good time to suggest topics.

Cheers,

Malte

Post Reply

Return to “Animation Engine”