Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    [F 2004] una sola rotazione

    sera,
    fino a 180 si ferma..
    da valore 181 in poi.. esegue loop! come fermarlo per un valore superiore a 180... per es, valore 360??

    codice:
    onClipEvent (load) {
    	this.rotationSpeed = 6;
    }
    onClipEvent (enterFrame) {
    	_rotation += rotationSpeed;
    	if (this._rotation >=360) {
    	rotationSpeed *= 0;
    	}
    }
    denghiù
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

  2. #2
    risolto!
    grazie lo stesso..
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

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.