Description du jeu "Tutorial On Moveing Object" :
Ceci est un tutoriel sur la façon de faire bouger un symbole dans Flash en utilisant ActionScript.
Mon deuxième tutoriel, soyez indulgents s'il vous plaît.
J'ai tenu compte des remarques faites sur mon précédent tutoriel pour améliorer celui-ci !
— L'ACTIONSCRIPT COMPLET —
on (keyPress "") {
currentX = this._x;
this._x = currentX - 2;
_root.face._rotation = 270;
}
on (keyPress "") {
currentX = this._x;
this._x = currentX + 2;
_root.face._rotation = 90;
}
on (keyPress "") {
currentY = this._y;
this._y = currentY - 2;
_root.face._rotation = 360;
}
on (keyPress "") {
currentY = this._y;
this._y = currentY + 2;
_root.face._rotation = 180;
}
|
Jeux similaires à "Tutorial On Moveing Object" :
Annonces
|