dxc
Business-
Posts
16 -
Joined
-
Last visited
About dxc
Recent Profile Visitors
3,879 profile views
dxc's Achievements
Recent Badges
1
Reputation
-
Sorry I was being so confusing! Diaco, I'm pretty sure that's just what I needed. Thanks!
-
Sorry about that. Here's a CodePen: http://codepen.io/anon/pen/pvjwyL I would like to be able to seamlessly cycle between animations. Instead when you click any of these, it jumps to the start position, rather than playing from where it is. Thanks!
-
I want to be able to seamlessly jump between different states of the animation. For example, let's say there's a walk, run, sprint, and idle animation (in that order). Let's say I'm running and I want to sprint. I can use play("sprintFrame") and it'll go straight to that label, but then if then if the legs aren't exactly how they should be on that frame, it'll look jumpy. I tried using tweenTo, but it plays all the animations in between. I'm thinking of using a fromTo, but then I'd have to manually get the current size, position, and rotation of everything. That could get ugly. Is there a better way that I'm not thinking of? Thanks for always proving such amazing support for newbs like me!!!
-
I thought it might have something to do with Snap or calling the node, but even if you take snap out of the equation, the same thing happens: Draggable.create($("#geometricOctopus2"), {type:"x,y", bounds:bounds});
-
Check out the Codepen and you'll notice that you're able to drag the octopus to the left a bit before the bounds stop you from going further. You can't go to the right at all. After you let go, you'd expect to be able to drag it to the right (back to where it started), but it seems as though the bounds reset based on the image's relative position. When you drag it, you can't go to the right, but you can go further to the left than you originally could. Thanks for your help!
-
Instead of animating the opacity, it seems to wait until the tween is over and then instantly jumps to the final opacity. Any thoughts on what I might be doing wrong?
-
Oh, I didn't realize transformOrigin wouldn't work in IE. That makes life a little tougher. I may have to just be content with the animation not working in IE . . . stupid IE.
- 3 replies
-
- ie
- internet explorer
-
(and 1 more)
Tagged with:
-
Oh how I hate IE. I have this working in all browsers, including mobile iOS. The only place it doesn't work is in ie. Everything shows up as it should, but none of the movements happen. I'm not even sure where to start. Thanks for your help! Here's the non-codepen version if that helps: http://aprendagames.com/stock/error_pages_robot/headlessRobot/?errorcode=404
- 3 replies
-
- ie
- internet explorer
-
(and 1 more)
Tagged with: