Julio 11, 2007
Código para que se mueva la nave ó superman ó lo que quieran que se mueva y dispare:
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_y = (_y-10);
}
if (Key.isDown(40)) {
_y = (_y+10);
}
if (Key.isDown(key.SPACE)){
laserFire++;
_root.fuego.duplicateMovieClip (“fuego”+laserFire,laserFire);
_root["fuego"+laserFire]._visible=true;
}
}
onClipEvent (load){
_root.fuego._visible=false;
mov=10;
laserFire=1;
}
Entry Filed under: PUBLICIDAD DIGITAL. .
Trackback this post | Subscribe to the comments via RSS Feed