nobody seems tounderstands me:(
In the example below the MC's x value increases. When the clip is at a given point it goes back and increases again and so on. When adding acceleration ("acc") the animation is faaling apart. My problem is figuring out the new startingpoint (startx, or the endpoint(max_x)) to make the animation look smoothe?
onClipEvent (load) {
max_x = 350
this.startx = this. _x
}
onClipEvent (enterFrame) {
acc = acc+0.05;
this._x = this._x+5+acc;
if (this._x>max_x) {
this._x = this.startx;
}
}
Dear reader, yeah YOU!!
Let me know if I'm making myself understandable.
[Edited by podenphant on 09-13-2000 at 05:12 AM]