animate comand

Blitz3D Forums/Blitz3D Beginners Area/animate comand


Switch% = 0

While Not KeyHit(1) 

If KeyDown(57) Then 

 If Switch% = 0 Then
   Animate man,1 
   Switch% = 1
 End If


Else 

 Animate man,0 
 switch% =0

EndIf 


UpdateWorld 
RenderWorld 
Flip 
Wend 
End