example
walk cycle animation.wick (27.2 KB)
this is a walk cycle animation (inside the stickman)
now I could do this myself but my brain is as messy as the boy’s bathroom so here are the instructions
- the walk cycle includes an idle fame (the first one)
- the next 10 frames are walking to the right and the next 10 the for the left
- so…
- if ( key ===“d”) {
 play()
 } //(don’t worry set it to repeat and start on frame 2)
- vice versa for key === A
- so here’s the important part
- on each frame start an IF KEY RELEASE tab and in it write a code that triggers whenever you release the D button(or A button if its the left your doing) that brings you back to the first frame
 
      
    
