Hey guys I am having a hard time with my easing transition on my website and the code I have been using is similar to that of the “point and click” easing found in the tutorials, however this code is not what I need to achieve a specific effect. What I am trying to do is make a plane “ease” its way vertically from top to bottom and stopping just short of the bottom of the page so the user can have access to the main menu items. What I want it to look like can be found at http://www.gucci.com . The black plane slides horizontally accross the main page. I am going to do something similar with a fading effect, but in order to do that I have find a different way to do it with code. I have made countless searches on the net for easing and everybody has mouse tracking with easing, and point-click easing, which neither of them I want. I just want a simple code that will glide a plane from one point to another. Any thoughts? thanks guys
-shogunate :asian:
you can use the same concept as the point and click easing.
onClipEvent (enterFrame) {
speed = 4;
desY = 179; //ending coordinate for your movie clip
this._y += (desY-this._y)/speed;
}
something like that would work well for that. the only thing that you have to worry about here is a smooth movement. but, that can be achieved by either setting the speed variable higher or a faster frame rate. (or a little of both)
post again if i can help you out anymore.
hey maximum, thanks with the clarification on the code. The one thing I am having trouble with now, and as you mentioned before, is the choppiness of the animation. I am having a hard time balancing the frame rate and speed =; of the animation. I have attatched a fla of what I am trying to do. Like i said its somewhat like you can find on www.gucci.com, but not quite. How do achieve that smooth easing? … easing should be easy
-shogun8 :asian:
… do you want fast fluid movement or slow fluid movement?
you had your fps up at like 120. it pretty much crashed out my computer. i don’t think that putting your fps up that high is going to help anything. actually, it could be quite detrimental. i would suggest, if anything, raising your speed up really high for fluid movement since what you want to move is so big. with smaller things, it is alot easier to get fluid movement.
i put the fps at 25 and just experimented with the speed value. it became pretty fluid (slowly) at about 475 or so. as for high, it was just outrageously fast and probably would crash out a persons computer if it wasn’t newer. are you wanting to use this for a transition or something? i remember in your first post you said an airplane, but here you have a giant black box. perhaps trying this with something the size of what your airplane is going to be would prove more useful.
ErrRRrrRR
– you said “plane”, not airplane. –
yeah I am pretty sure I did write “plane”, unless I was so tired from doing architecture work that i just decided to subconsciously write airplane. Anyway well I know its a large object, and yeah i did have it at 120fps. I pretty much want medium/fast movement, that way it doesn’t bore the user to death while the new content comes up. But it seems everytime I adjust the numbers it looks like it is being been torn as it glides by.This mus be because of the size. But obviously the designers at Gucci got it to work. Go to the www.gucci.com site and check out their menu and transition system again. I just want my plane to be as smooth as that. Like I said thats exactly what I want. Is there another way to achieve the same effect?
-shogun8 :asian: