Game Development Reference
In-Depth Information
The shown frames are meant to be played back in a ping-pong loop (play mode:
LOOP_PINGPONG ) for the final animation. We will later refer to it as animGoldCoin in
the code. The frame progression is as follows: 01 , 02 , 03 , 04 , 05 , 06 , 06 , 05 , 04 , 03 , 02 ,
01 [restart at the first frame].
The following screenshot depicts all the frames, including their indices of the bunny
normal animation:
The shown frames are meant to be played back in a ping-pong loop (play mode: LOOP_
PINGPONG ) for the final animation and replace the current still image of the bunny head
game object. We will later refer to this animation as animNormal in the code. The frame
progression is as follows: 01 , 02 , 03 , 03 , 02 , 01 [restart at the first frame].
The following screenshot depicts all the frames, including their indices of the bunny
copter animation:
The shown frames are meant to be played back as three different animations:
• The first animation, animCopterTransform , plays all frames once (play
mode: NORMAL and frame progression: 01 , 02 , 03 , 04 , 05 )
• The second animation, animCopterRotate , plays the last two frames in a
ping-pong loop (play mode: LOOP_PINGPONG and frame progression: 04 , 05 ,
05 , 04 [restart at the first frame])
• Lastly, the third animation, animCopterTransformBack , is simply the
reverse of the first animation (play mode: REVERSED and frame progression:
05 , 04 , 03 , 02 , 01 )
 
Search WWH ::




Custom Search