Hi Folks,
Hier was aus der Mottenkiste hab mal etwas in meinem Archiv gekrammt.
Liebe GrüssePHP-Code:MovieClip.prototype.isomove = function(x, y, tempo) {
this._x += (tempo)*x;
this._y += (tempo/2)*y;
};
clip_mc.onEnterFrame = function() {
if (Key.isDown(Key.LEFT)) {
this.isomove(-1, -1, 2);
} else if (Key.isDown(Key.UP)) {
this.isomove(1, -1, 2);
} else if (Key.isDown(Key.RIGHT)) {
this.isomove(1, 1, 2);
} else if (Key.isDown(Key.DOWN)) {
this.isomove(-1, 1, 2);
}
};
Matze K.
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)