Go video tutorial: Creating a tween with Go

Update: I rerecorded this video, please check the next post.

10 Responses to “Go video tutorial: Creating a tween with Go”

  1. If I’d want to minimise cpu usage, I would have to make a Class for every kind property I want to tween on (alpha, x, y, rotation, etc)and one multiple tween Class when I tween multiple properties at the same time. Is that correct?

    Pretty good tutorial, music was maybe a bit too loud but other than that pretty usefull.

  2. No, that’s not necessarily the case. The core system of Go is extremely optimized so as long as you keep your extensions relatively optimized, you can pretty much organize things as you want. For example, Donovan at hydrotik has created a general-purpose all-in-one tween class called HydroTween that he’s adding color & filter tweening to already.

    Personally I’m hoping someone will make a straightforward, general-use set of extensions like,
    – displayobject tweens
    – filter property tweens
    – bezier & path tweens
    – color & hsb tweens
    – pv3d / sandy tweens

    That would provide an excellent foundation for creating any number of syntaxes such as fuse/tweener object-literal syntax, e4x / mxml syntaxes, or other yet-to-be-invented 3d syntaxes etc.

    And, that only scratches the surface, we can add physics, collada animation and more with Go, but for now let’s have fun writing & optimizing some tween classes.

  3. You could express the constraint inside of the start method as its own protected method, canStart().

    You could also introduce another protected method, prepare( useRelative ), to replace the two other if-statements in the start method. Passing useRelative as an argument just emphasizes when to use it.

    These changes express the flow a little better, but they are just suggestions.

  4. Great tutorial thanks Moses, keep up the good work ;)

  5. sep: thanks!

    h00d: Interesting ideas! Try them out and if they feel right, send me the updates. This is a ‘by & for the community’ type of code base so any idea that really clicks will be adopted into the official build.

  6. Thanks for sharing this great tutorial! Just one thing: Drop the annoying elevator music.

  7. [...] about GOASAP, but I didn’t really have the time to check it out; well mosessupposes made a good video tutorial on how to create your own animation engine. Be sure to check it out because it’s pretty [...]

  8. This tutorial was great.

    On a related note, could you please provide a brief description of your workflow? I’m specifically interested in the IDE you are using (including version/flavor), which appears to be Eclipse.

  9. It’s a great product called FDT that runs on Eclipse. Just a fantastic product and totally worth the dough.

  10. [...] class. Just to reiterate, I am not a tweening guru. I have an increased respect for people such as Moses, Ryan Taylor, Jack Doyle, Zeh Fernando, and anyone else crazy enough to enter the world of [...]

Leave a Reply

You must be logged in to post a comment.