User Tools

Site Tools


en:tutorials:animation:zero_length_frames

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:tutorials:animation:zero_length_frames [2024/11/20 04:00 (4 months ago)] – created sausageen:tutorials:animation:zero_length_frames [2024/11/20 13:22 (4 months ago)] (current) – Minor changes to wording. sausage
Line 40: Line 40:
  
 [SitDownAnim3] [SitDownAnim3]
-KeyDuration = 0    ;<------------------ Fires the event if non-zero, otherwise skipped+KeyDuration = 0  
 KeyEvent    = SITTING_FRAME_3 # 900 KeyEvent    = SITTING_FRAME_3 # 900
  
Line 106: Line 106:
 </code> </code>
  
-Frames 2 and 3 both essentially fire at the same time. And this is the real point of this tutorial. Frame 2 changes the graphic texture and fires the SITTING_FRAME_2 KeyEvent name and value of 100. 
  
-Immediately afterSITTING_FRAME_3 fires due to the KeyDuration of 0.+However we go to next frame straight awaywithin the same 'tick', and, as such, this 'ghost' frame doesn't require a proper graphic to exist.  
 + 
 +Frames 2 fires and then 3, being the next frame, fires within the same 'tick' (due to the KeyDuration of 0). And this is the real point of this tutorial. Frame 2 changes the graphic texture and fires the SITTING_FRAME_2 KeyEvent name and value of 100.
  
 <code ini> <code ini>
en/tutorials/animation/zero_length_frames.1732104014.txt.gz · Last modified: 2024/11/20 04:00 (4 months ago) by sausage