Jump to content
Search Community

Max

Members
  • Posts

    25
  • Joined

  • Last visited

Everything posted by Max

  1. Hi Jack! Thank you for your explanation! I was with GSAP for a long while but now I needed simple and bulletproof solution - so, Starling.jugglet did its job. GSAP is great and nobody else is even close to you guys by features or performance! But these days we do mobile stuff, and basis for AS3 mobile is Starling, so good integration to Starling is the must for me. Best regards, Max
  2. Hi Carl, thank you for your feedback! After some consideration I think I will switch from GreenSock to Starling.juggler. Best regards, Max
  3. Hi GreenSock guys, I just about to release my first game. It is based on Starling and I use GreenSock for tweening. I have a problem with GreenSock and application deactivation event - because after calling Starling.stop() my tweens are still running. Basically my question is how I can pause/unpause all my tweens and delayedCalls at one place with GreenSock. There is also another similar approach which is described on starling forums: http://forum.starling-framework.org/topic/benefits-if-things-to-juggler and here is code for it: https://gist.github.com/joshtynjala/5950460 but it uses GTween. So, for now I see three options: 1. Use Starling juggler for all animations - it is secure but it is time penalty 2. Use GTween - it is well explained + very similar syntax to GreenSock 3. GreenSock? - it should be able to do what I need. It does everything else very well and I bet I am not the only one with this type of problem. How would you suggest me to approach this problem? How it is possible to integrate Starling and GreenSock properly?
  4. Thank you Carl for explanation!
  5. Hi guys, I have to complete my tween instantly. How would I do it?
  6. TweenMax.killChildTweensOf() doesn't work with Starling.
  7. Hi Carl! I am glad I didn't start to reinvent the wheel! Thank you for your reply! Do you think method: TweenMax.killChildTweensOf() will work fine with Starling DisplayObjects?
  8. Hu guys, I develop a scene with several objects. Each object could be moved by a tween. Each object has it's own tween. At the certain point I need to stop and delete all tweens as the scene. So, my question: Could I use TimelineLite for this or should I develop my own tween registry and handling code? p.s. sorry for lame question...
  9. Hi Jack! Thank you very much for you reply. Yes, I know what is TimelineLite and I use is in my AS3 code. I also watched that great video. I just was little bit confused with JS syntax. I don get what that statement need in AS3 terms. How would you do this JS code in AS3? var tl = new TimelineLite(), seconds; Is this a way how you define vars in JS?
  10. Hi Jack! Really cool example! Jack, could you please explain me first two lines of JS code? I didn't get them... var tl = new TimelineLite(), seconds; At the moment I do it most hardcore way - I am tweening int type.
  11. Hi guys, I need to make the following update to my text: Connection in 10 sec.. Connection in 9 sec.. Connection in 8 sec.. Connection in 7 sec.. Connection in 6 sec.. etc.. I need update my text every second and onComplete I want to run my connect() function. this is all. I know how to do it with Timer, but I think it is possible to do it with greensock too. How would I do it?
  12. Hi guys, My question is: Who would I know that tween are done in TimelineLite? Did check API Docs and didn't find it there.
  13. Hi Jamie, That is exactly what I was looking for! Thank you very much!
  14. Hi Jamie, Am I right: I have to pass to onProgress a reference to the tween itself with "{self}" and then call like: _self.progress()? If so, it is exactly what I need.
  15. I want to which percentage from X_start to X_end is already animated in my onUpdate callback. Who can I get that value?
  16. Hi Carl, Thank you for your reply! I expected that it must be simple and elegant and it is like this! As everything with GreenSock! Thank you!
  17. I use TweenLite to tween Starling MovieClip objects. My code looks like this: for (var i:int = 0; i < stars.length; i++) { var _star:MovieClip = stars[i] as MovieClip; TweenLite.to(_star, 5, {x: 100, y: 100, visible: true, delay: 2 * i}); } I want to call _star.start() for each star when it delay expires and it must start animation. Could you please show how to properly use onStart call and it's parameters?
  18. Hi Carl, could you please tell me, how can I do several animations simultaneously within animation 1?
  19. Thank you Carl! I will try it and reply with my results!
  20. I am wondering, when is general approach for queueing animations? My setup (as3, API, iOS, Android). I have the following situation in my game: 1. Game runs animation 1. (several objects with TweenLite.to(...)) 2. While animation 1 is running, player requests to start animation 2. 3. It is not possible to run both animation together. So, I want to queue animation 2 until animation 1 done. How should I do it?
  21. Hi guys, I am looking for a scrollbar component that has BlitMask support. Any suggestions are welcome! p.s.: Do not suggest *doitflash* component because I have it and it is very buggy and has very dirty codebase. :mad: Best regards, Max
  22. Max

    Tweening

    This is the answer: http://forums.greensock.com/topic/6513-using-tweenmax-as-clock/
  23. Max

    Tweening

    Hi guys, Is there is a way to setup TweenLite.to or TweenMax.to that it will tween only X point per second? I want to control how many tweening points will be generated.
×
×
  • Create New...