Jump to content
GreenSock

codeavenger

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by codeavenger

  1. This may have nothing to do with GSAP as I have both a jquery library and a pathfinding ai library, but I'm not getting any errors, and the coords spit out by my ai seem fine.  After the third click on the screen the entire window (chrome) has to be closed and reloaded.  Any ideas?  I really want to have my basic movement down so I can actually get to building my game :)

     

    http://jsfiddle.net/ccarterc1984/BfpF2/

     

  2. I have several elements which will be using the same animation functions.  So I want to have a timeline for animating 20 px to the left for instance.  How do I pass in the element to the timeline without knowing before hand which element will need to be moved?  I imagine the most efficient way is to not create a new timeline variable each time which what I think is throwing me for a loop.

     

    e.g.  

    http://jsfiddle.net/ccarterc1984/6LQhJ/

     

    This is my first day trying Greensock so be gentle.  

×