Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Titanium and sprite animation or OpenGL

Been browsing the site. I like the idea of this framework as i do a lot of javascript now and i like the fact that it can be extended via xcode/objectiveC

However some external reviews suggest that it supports animation 2D / 3D?

For example i would really like to whizz some shadowed PNGs around the screen. Is that a CSS 3 function or are there API methods for this?

Or sprite animations?

And what about OpenGL support, it's been mooted but i cannot find any real concrete information on this.

How are people doing animation and game type UIs in this framework? Are they using the HTML5 canvas object?

Sorry for the barrage of questions but i'm keen to find out whether this framework will work for me…

many thanks
paul

— asked May 10th 2010 by Paul Curtis
0 Comments

8 Answers

  • Hey Paul,

    We don't currently have an OpenGL module as a part of the core framework, but we do support a robust animation API. Examples of what we support in terms of animation can be found in our "Kitchen Sink" demo application.

    — answered May 10th 2010 by Kevin Whinnery
    permalink
    0 Comments
  • Kevin,

    Thanks for the response. I guess this leads into two more questions :)

    1) Is there plans afoot for an OpenGL module? Or do you know of a 3rd party one?

    2) What kind of performance can i expect with approach in the kitchen sink example? You see i don't know how closely this all ties to the underlying API. I've dabble with cocos2d (very good) and corona (not bad). Do you have any pointers or samples that expand on the possibilities?

    For example i'd like to create a touch button that animates in and out, complete with drop shadow and have these buttons animation in and off the screen. Am i asking too much?

    thanks in advance, i'm hoping to save a bit of time before diving in…

    paul

    — answered May 11th 2010 by Paul Curtis
    permalink
    0 Comments
  • Paul, did you ever get any more clarification on this? I'm looking into it as well.

    — answered July 29th 2010 by Mark Smillie
    permalink
    0 Comments
  • Paul, did you ever get any more clarification on this? I'm looking into it as well.

    — answered July 29th 2010 by Mark Smillie
    permalink
    0 Comments
  • Paul, did you ever get any more clarification on this? I'm looking into it as well.

    — answered July 29th 2010 by Mark Smillie
    permalink
    0 Comments
  • I have been experimenting with 'animate'…
    but I don't understand all the parameters.
    and I have looked at the kitchen sink as well.
    is there some documentation somewhere on the web I can look at?

    this works, but I don't understand how. And I am guessing there are some parameters I don't know about.
    animate({left:-500,duration:19000})

    — answered November 18th 2010 by vincent youmans
    permalink
    0 Comments
  • I have been experimenting with 'animate'…
    but I don't understand all the parameters.
    and I have looked at the kitchen sink as well.
    is there some documentation somewhere on the web I can look at?

    this works, but I don't understand how. And I am guessing there are some parameters I don't know about.
    animate({left:-500,duration:19000})

    — answered November 18th 2010 by vincent youmans
    permalink
    1 Comment
    • It would probably be better for you to open a fresh question. Remember to give it a meaningful title though! ;)

      — commented November 18th 2010 by Paul Dowsett
  • Any word as to how this worked out. I am likewise interested in this.

    — answered March 2nd 2011 by Kyle Plattner
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.