mdipi
1
onClipEvent(load){
_x=0;
_y=0;
speed=2;
}
onClipEvent(mouseDown){
targetx=_root._xmouse;
targety=_root._ymouse;
}
onClipEvent(enterFrame){
_x+=(targetx-_x)/speed;
_y+=(targety-_y)/speed;
}
what do i replace to use easing on rotation, if triggard from a button? please respond.
system
2
I am in a rush, can’t help too much, replace the _x and _y stuff with rotation…
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 2;
}
onClipEvent (mouseDown) {
targetx = _root._xmouse;
targety = _root._ymouse;
}
onClipEvent (enterFrame) {
_rotation += (targetx-_rotation)/speed;
_rotation += (targety-_rotation)/speed;
}
Try something like that.
system
3
lol i replaced the wrong stuff on my try. thanks for the help. i will test it as soon as i finish my grunge pic for the battle!
system
4
hey it worked!
thanks. now to tweak it to what i want and i will be good to go.
system
5
I am glad it worked, I had like 30 seconds to change and repost it…lol.
I didn’t even test it or anything, just took a shot in the dark.
system
6
Stabs in the dark work out well sometimes… 