Jump to content
GreenSock

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

daneiran

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Newbie

About daneiran

  • Rank
    Newbie
  1. Greetings, we have a site with animated buttons. The buttons are supposed to slide in and not become interactive until the reach their target resting spot. However, they demonstrably become active right away. This is in IE11 on Windows 8. The interactive flag is a property of the pixi object we are animating. We tried a number of different ways to specify the above but none worked to solve the issue of the onComplete firing immediately under these conditions; not even using the latest 1.11.8 TweenMax.js Browsers other than IE 11 appear to work fine. And no, we did not put parens a
  2. Jack, Rodrigo, Thank you, thank you for your excellent suggestions!! We were indeed using an outdated Pixi. Would have gotten back sooner but there was a lot of refactoring to do today. The solution of simply using the object itself (instead of object.position) was in fact the best solution in our case. Generally speakikng, it could help matters greatly if there were a consistent way to poll for version number of these JS libs to make it easier to understand which codebase(s) we are using. With GSAP JS this hasn't come to the fore yet in development the same as it has a few times
  3. Sorry, here the codepen: http://codepen.io/bwind/pen/Khqvg
  4. Could you explain the changes? I made a codepen, finally. Sorry it took some time--had to figure out how to code it up in there. When I try to remove '.position' from line 55 of the JS thereon, autorotate still does not happen. Was there more to it than that? Thanks ahead.
  5. We can do that. Have a project meeting in 5 minutes, but I should have some time immediately afterwards to post something so far. Haven't used codepen as yet. The lines of pixi code are pretty minimal for the demo. Probably 3-5. Thanks so much for the quick replies, and no definitely don't go outside of the GSAP development. I think it's close, just something not quiite aligning. Will get back to you with that demo in another hour or three if meeting goes to plan.
  6. tried it and so far no dice. same translating but no rotating. could it be something we're doing? (as this seems like it should work.) #1 concern we came up with is how we are defining "the div". The suggestion as i understood was to add this seperate animation "item" (div) to run in parallel and basically grab its rotational properties to feed the actual pixi item we wish to rotate. this seems ingenious and certainly plausible. now just the devil in the details. This how we defined the div rotation of which we capture in the (separate) TweenMax shown above: <canvas id
  7. Sorry, if it helps for completeness, this is kzRocket. Just a sprite object made in the standard Pixi way out of a png: var kzBgX = 172; var kzBgY = 25; var texture1 = PIXI.Texture.fromImage("resources/rocket.png"); var kzRocket = new PIXI.Sprite(texture1); kzRocket.position.x = kzBgX - 30; kzRocket.position.y = kzBgY + 140; this.stage.addChild(kzRocket); It seems like for some reason autorotate is compatible with Kinetic but not Pixi? This is our first project trying to use greensock. We had committed to the Pixi renderer b/c of glowing reviews like you mentioned. It
  8. We definitely tried true, and many other combinations, but no happiness with autorotation so far after several hours. The best we can do is get it to follow the spline, but that looks strange for our animation without the autorotation capability. Do you have any other ideas for us? (Thanks ahead!!) var kzBgX = 172; var kzBgY = 25; TweenMax.to(kzRocket.position, 10, { bezier:{ values:[ {x:(kzBgX-30), y:(kzBgY+140)}, {x:(kzBgX+215), y:(kzBgY+50)}, {x:(kzBgX+388), y:(kzBgY+30)}, {x:(kzBgX+493), y:(kzBgY+15)}, {x:(kzBgX+528), y:(kzBgY-10)}, {x:(kzBgX+453), y:(kz
  9. Has anyone been able to make a demo like this one: http://codepen.io/GreenSock/pen/Kajpu only using Pixi instead of Kinetic? We are using Pixi and can make an object follow the spline path, but it will not auto-rotate to actually align with the path no matter what we do. Any help would be greatly appreciated.
×