Jump to content
Search Community

Mendax

Members
  • Posts

    11
  • Joined

  • Last visited

Mendax's Achievements

  1. @IndM @Rodrigo, is there a way to create only a single square at each step of an animation and then move it? My concern is performance—specifically, if we're dealing with complex Pixi objects or, in a worst-case scenario, Spine animations, creating multiple objects could be performance-intensive. To elaborate, I'd like to call a function like addSquare(lastIndexPos) either in the onComplete or onStart callbacks of the GSAP timeline, with the aim of updating a global variable squares: []. However, when I try this approach, it seems that subsequent timeline.to(squares, ...) calls do not affect the newly added square, meaning it does not move. Any ideas on how to overcome this issue? PS: thanks a lot for yours help and time
  2. If anything remains unclear, I'd be happy to provide further clarification.
  3. Hi once again, I am trying to create infinite movement, but have to problems and don't have enough experience to understand what's going on. Changing ease: "power1.in" to ease: "back.inOut(1.7)" - second one not works, however first one plays well. All squares created at once before movement started, however I need to create them one by one (when carousel shifted add new square). The problem is, when I tried to call addSquare(6) in onStart, or any other place - squares created, but they don't move( Hope u could advice where I need to look. Thanks a lot for your time!
  4. Mendax

    Smooth Movement

    @RodrigoSmall additional question, as I understood, back.inOut(1.7) ease will not work with whole timeline?) I mean, ease that must pass over edge and come back not works. https://codepen.io/Gerikvolf/pen/YzdEONW
  5. Mendax

    Smooth Movement

    Your expertise was invaluable. Thank you for helping! This cat is for u! ≽^•⩊•^≼
  6. Mendax

    Smooth Movement

    Hi ❤️ I am trying to understand how to create smooth movement. If I want different eases on every step. The key problem that: - I guess I need start, progress, and finish parts because - progress could repeat a lot of times (for example it will rely on time needed to get response from backend) I am pretty new to gsap, sometimes trying to learn it. So maybe I am losing some method. A lot of thanks if you could give me some hint!
  7. @Carl one question, is it possible to use autoRotate here? ok, autoRotation works also, but not for first item in array
  8. @Carl It's actually not bad, thanks a lot, Ill try to adapt and give example here for others)
  9. Yeah @mvaneijgen, Ive already found MotionPathPlugin, however the problem is, that I have old engine used in co. So unfortunately I can't use it. However the main my question is: If it is possible to make movement on bezier path via call custom method(direction: "left" | "right", distance) so items could shift together a little bit for every call.
  10. If someone can help me or give some hint, I will be very grateful!
  11. Hi, I am trying to create movement of 6 items via bezier path, with ability to move them together on 1/6 of path (or for some distance) left or right. However, one of the problem is old engine, and I am not sure if it is possible to make. I am new to gsap, so it is a bit old version before I found autoRotate) However it's around what I need, but I am looking for ability to move left or right on some distance on bezier path and then pause. * VERSION: 2.1.2 * DATE: 2019-03-01 * UPDATES AND DOCS AT: http://greensock.com * * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
×
×
  • Create New...