gsap-snippets
Atom snippets for GSAP
PierBover 1,256 1 0.5.0 WTFPL GitHub

GSAP Snippets for Atom

Atom snippets for the Greensock Animation Platform (TweenLite, TweenMax, etc). This is for the Javascript version, since AS3 is pretty dead these days.

I'm only working on static methods so far because it's what I use 99.99% of the times. If there is interest in instance methods open an issue and let me know.

Snippets so far

Objects

  • tweenlite + Tab = TweenLite.
  • tweenmax + Tab = TweenMax.

Tweening

  • to + Tab = to(...)
  • from + Tab = from(...)
  • staggerto + Tab = staggerTo(...)

Utils

  • killtweensof + Tab = killTweensOf(...)
  • istweening + Tab = isTweening(...)

Parameters

  • oncomplete + Tab = onComplete:
  • useframes + Tab = useFrames:true
  • alpha + Tab = alpha: (for PIXI.js sprites)

License

Copyright (c) 2015 Pier Bover

WTFPL – Do What the Fuck You Want to Public License.