纳金网

标题: Jitter (Animation Behavior) [打印本页]

作者: Asen    时间: 2011-10-21 09:43
标题: Jitter (Animation Behavior)






               Jitter (Animation Behavior)
              









           Summary
         

           Animates the value of any property on the parent object by a random (but bounded) amount a set number of times per second.
         





               Category
              


              Latest Behaviors
            




               Author
              


              Gavin Kistner
            




               Difficulty
              


              (Reference)
            




               Time to Complete
              


              5 Minutes
            








           Downloads
         


            Click Here
           
           to download the associated files.
         


            (This document covers version 2.1.2 of the 'Jitter' behavior, current as of 2005-Feb-11)
           

            Description
           


             The
            
              Property Name
            
             is specified relative to the behavior’s parent. For example, ‘rotation.x’ refers to the x value of the ‘rotation’ property on the object to which the behavior is attached.
            

             The
            
              Jitter Amount
            
             property is maximum amount to deviate from the initial value. (For example, if the original value of the property is 75, and
            
              Jitter Amount
            
             is set to 15, the property will jitter to values between 60 and 90.)
            

             The
            
              Jitter Time
            
             property is the number of seconds it takes to complete each jitter. (Larger is slower; a value of 0.1 will cause the property to reach an extreme value 10 times a second, while a value of .5 will only reach an extreme value 2 times per second.)
            

             If
            
              Start Immediately?
            
             is not checked, the behavior will not do anything until the
            
              Start
            
             action is called.
            

             To change the value around which the jitter occurs, use the
            
              Set Center Value
            
             action (or call the setCenter method of this behavior in script).
            


            Basic Properties
           



              Property Name
            

              Code reference to the property to animate.
            

              Jitter Amount
            

              Specifies how much the parameter's value will drift from original (at most).
            

              Jitter Time
            

              Number of seconds it takes to complete each 'jitter'.
            

              Start Immediately?
            

              Start jittering immediately, or wait for the Start action to be called?
            



            Actions
           



              Start
            

              Start jittering the controlled property.
            

              Stop
            

              Stop jittering the controlled property.
            

              Toggle
            

              If the Jitter is running, stop it; otherwise, start it.
            

              Set Center Value
            

              Set the center value around which the property will jitter.
            



                Center Value
               

                The new center value.
               





            Events
           



              Started
            

              Fires whenever the jitter is started.
            

              Stopped
            

              Fires whenever the jitter is stopped.
            



            Demonstration
           




              View Demonstration Project
            




              Download Project File
            




作者: C.R.CAN    时间: 2012-2-15 23:19
路过、路过、快到鸟,列位请继续...ing

作者: 奇    时间: 2012-4-2 23:32
“再次路过……”我造一个-----特别路过

作者: 奇    时间: 2012-4-27 23:18
佩服,好多阿 ,哈哈

作者: 奇    时间: 2012-5-20 23:19
先顶上去,偶要高亮加精鸟!

作者: 晃晃    时间: 2012-6-3 23:20
很有心,部分已收录自用,谢谢

作者: tc    时间: 2012-6-18 23:18
楼主收集的可真全哦

作者: C.R.CAN    时间: 2012-8-30 00:54
无聊时可以刷屏幕 灌水 也可以试试 帖子的标题究竟可以写多长

作者: 晃晃    时间: 2012-9-2 00:30
提醒猪猪,千万不能让你看见

作者: 晃晃    时间: 2012-9-19 23:29
跑着去顶朋友滴铁

作者: 奇    时间: 2012-12-3 23:25
好可爱的字,学习了

作者: 菜刀吻电线    时间: 2013-3-5 23:21
很有心,部分已收录自用,谢谢





欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5