Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

3 Newbie

About dax006

  • Rank

Contact Methods

Profile Information

  • Gender
    Not Telling
  1. Here's my newest project, proudly using the awesome GSAP library! http://daximation.com/index.php?p=33
  2. appears to break TweenMax.getAllTweens(true); You have to play() and pause() to get getAllTweens to work.
  3. Thank you! I had a brain fart and just couldn't figure it out, and here you solved it in a few minutes. I do now have a new issue in that tweens that bridge the time gap, so to speak, are ending too early. I need a way to change the ending location of that tween to be the current location... I can adjust the duration easily enough with .duration(), but x and y seem more difficult. Any ideas? Edit: Figured it out. Just had to make a new tween. Like so: (updateTo() does not work) if (tween.startTime() > tl.time()){ //if the tween starts beyond the current point, ki
  4. the math of the easing function is going to cause a jump. I see you do have linear.easeNone set, but.... just something to double-check
  5. How do I kill tweens past a certain point in time? So, I have a timeline with a bunch of tweens all starting at random times. I want to remove tweens of certain elements that either start past a certain point in time, say, 5 seconds, or tween beyond that point in time. I know about killTweensOf(), but now how do I killTweensPastTime()? I searched google and these forums but couldn't find anything. Thanks, John
  6. worked great first try, thank you! Now I just need to style it... its a little plain Edit: a pain to edit. One is better off learning the jquery UI slider.
  7. again Thank you thank you thank you!
  8. I finally figured it out. I have a tween of length 0, and I was setting its progress to 0. I expect setting progress to 0 to jump to the START of the animation. instead it was jumping to the END of the animation. http://codepen.io/dax006/pen/WrBmEa My apologies for the confusing question, I was trying to solve three separate problems in one question. You guys pointing out the known bug made me turn my tweenMax's into tweenLites, and then the other problem became clear. So I couldn't have solved it without you, thank you!
  9. I built a minimal slot-machine animation here: Its buggy but you should see the idea. Not much logic is needed for the animations. http://codepen.io/dax006/pen/LGoNrE Change the css to set your symbols to whatever image you want, and add a button to trigger the 'slowing' tween.... I took those out for the codepen.. Here is the full version http://johnktejik.info/slots/v2/index.php
  10. You're right about the malformed code, my link to my codepen was wrong, that was my early version that I edited but apparently the changes didn't get saved. http://codepen.io/dax006/pen/LGoNrE should be the right link I have read the documentation and my usage of how I create the animations is copied from your demos. I didn't use timelines because I only needed two animations, and I felt using a timeline was overkill. I will look at the code of another guy making a slot machine, thanks for that. The codepen is as simple as I can make it. So I found a known bug and have to use th
  11. this is my first attempt using GSAP (it seemed to be the best animation library I could find). I'm trying to create a simple slot machine. Here is a codepen with the minimal amount of code. http://codepen.io/dax006/pen/LGoNrE It does 3 things. After creating a random symbol, it 1) creates a 'constantly spinning' tween and saves it 2) creates a 'slowing' tween and saves it 3) resets the progress of each tween/symbol to be 1/4th down the screen. Bug/problem #1 - Tweens are playing yet NOWHERE do I play() the tween. The tweens are PAUSED by default. Even if they are not paused, I IM