[Tweener] Ending a Tween on user input

Franck Murcia franck at lapinblanc.org
Thu Sep 18 09:38:03 PDT 2008


Do you want to accelerate or to skip the transition ?

if you watn to skip you just have to stop your tween
Tweener.removeTweens(obj,"prop");

and set your prop to the end value

and if you want to accelerate your animation perhaps you can use the  
timeScale :)

peace


Le 18 sept. 08 à 12:33, Daniel Rodríguez a écrit :

> Hello guys,
>
> I have this (Collada) model that fades out (using Tweener) in 13  
> seconds, but I want my user to be able to use the spacebar to to  
> force the fade-out (i.e., don't wait 13 seconds ).
>
> Is there anyway to do this?  I've been going over the docs but  
> haven't seen anything or any example of this.
>
> Thanks.
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com

	Franck Murcia - Lapin Blanc
http://lapinblanc.org
franck at lapinblanc.org
Skype me if you can

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20080918/54b33c85/attachment.htm>


More information about the Tweener mailing list