Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by bluntcoder

  1. Hello, Yes - I'm still using GSAP for Flash (It's awesome) - so I'll post my question here, even though it's very relevant to the Javascript version too. I'm sure some of you (especially the GreenSock folk) know about google's UI experience guidelines. Here's a link: https://www.google.com/design/spec/animation/authentic-motion.html Specifically, the authentic motion ones are very critical. It makes a night and day feeling when it comes to using apps and games. I'm wondering, to the Tween experts at Greensock, is it possible to do asymmetric deceleration like in the Mass and Weight section in this example, feels like the EaseIn and EaseOut are different numbers / factors? Thanks!
  2. Hey everyone, Image you have a cartoony chess game. And you're sliding the queen from one end of the board to the other. I want to add a teetering effect, with the piece pivots on it's base a bit to begin it's slide, and then teeters in the other direction when it ends. I have the pivot centre at the bottom center, but I can't seem to find an elegant way to pivot back and forth. So what I've done is: var maxTilt:Number = 10; // degrees var slide:TimelineLite = new TimelineLite( { autoDispose:true } ); slide.add(TweenMax.to(obj, DURATION / 4, { rotation: -maxTilt} )); slide.add(TweenMax.to(obj, DURATION / 2, { rotation: maxTilt } )); slide.add(TweenMax.to(obj, slide.add(TweenMax.to(obj, DURATION, { startAt: { x:from.x, y:from.y }, x:to.x, y:to.y, ease: Back.easeInOut.config(1.0) } ), 0); DURATION / 4, { rotation: 0} )); Problem is the nice ease effects can't be transitioned between the tils. Is the best way to do this? I hope not. Thank you! Mark
  3. Apologies for resurrecting and old topic; however this is exactly my problem. I've built a nice flash crash reporting system that captures all of these high level errors, and it's impossible at this moment to detect whether a "Load Never Completed" is because someone closes the page, or if there's truly an issue with a missing asset at that URL. I'm wondering if anyone lately has any further insight on this. I know that Flash does originally throw the error, however my callstack is saying it's all greensock: Function/() flash.events::EventDispatcher/dispatchEvent() com.greensock.loading.core::LoaderCore/_passThroughEvent() com.greensock.loading::LoaderMax/_passThroughEvent() flash.events::EventDispatcher/dispatchEvent() com.greensock.loading.core::LoaderCore/_passThroughEvent() com.greensock.loading::LoaderMax/_passThroughEvent() flash.events::EventDispatcher/dispatchEvent() com.greensock.loading.core::LoaderCore/_errorHandler() com.greensock.loading.core::LoaderCore/_failHandler() com.greensock.loading.core::LoaderItem/_failHandler() Is there any way of detecting whether it's a missing file or if it's because of the user interrupting the HTTP by closing the tab or browser? Thank you.
  4. So I've been using Greenshock's stuff for years, and it's the single best stuff out there for any animation - Flash or HTML5. Kudos to you guys, you know your stuff. Which is why I'd thought I'd ask this open ended question to the GreenSock people: which Javascript library to you guys use (and hopefully recommend) to work best in making complex WebApps that integrate well with GSAP? I'm essentially looking for an endorsement here; there are so many to choose from, and several I've dabbled with; PureMVC JS, Underscore, JQuery, Backbone, Boilerplate, Prototype, MooTools, etc. I'm looking for someone that will allow me to make a web application that is beautiful and works seamlessly with the controls you guys provide with GSAP. Thanks, Mark
  5. Hi there, When I stumbled upon liquidstage - I got very excited! Then, I got sad when I read this forum post. You're right - although Starling does share the same concepts of DisplayObjects like they exist on the stage, they are a totally different implementation, and thus it won't work. Starling allows for Actionscript get amazing performance on mobile devices, and is becoming the defacto standard library to use for flash gaming because of this. If you can port it to work with Starling, there's a huge market there, especially with all the hundreds of different resolutions that game developers need to deal with on mobile devices. LiquidStage would make all that UI layout a breeze. Mark