mmmh.

Out of context: Reply #37

  • Started
  • Last post
  • 37 Responses
  • stewart0

    okay, okay!

    this is the script i'm using at http://www.kulsdom.com , including the script for the rotation. one thing: mail me the links of the results!

    -----------

    obj = background;

    dY = obj._y-yT;
    dX = obj._x-xT;
    dSx = sTx-obj._xscale;
    dSy = sTy-obj._yscale;
    dR = obj._rotation-rT;

    if (dY != 0) {
    obj._y -= baseSpeed+(dY/baseSpeed);

    }

    if (dX != 0) {
    obj._x -= baseSpeed+(dX/baseSpeed);

    }
    if (dSx>1) {
    obj._xscale += 2;
    } else if (dSx1) {
    obj._yscale += 2;
    } else if (dSy1) {
    obj._rotation -= 2+(dR/10);
    } else if (dR<-1) {
    obj._rotation -= 2+(dR/10);
    }

    -----------

    success!!

View thread