Visualizzazione dei risultati da 1 a 2 su 2

Discussione: fermare MC

  1. #1

    fermare MC

    Ho un MC a cui do accelerazione e rotazione con action sotto:

    onClipEvent (load) {
    this._y = 60;
    this.end = 570;
    frame = 7;


    }
    onClipEvent (enterFrame) {
    _rotation+=100;
    this._y += (this.end - this._y) / frame;
    this._width=150;

    }

    come faccio per fermare la rotazione ad un certo punto e poi dare unaltra animazione

    grazie

  2. #2
    onClipEvent (enterFrame) {
    if (_rotation >=200){
    _rotation+=100;
    this._y += (this.end - this._y) / frame;
    this._width=150;
    }else{
    //animazione
    }

    }

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.