I am confused about the Animate and the keydown() comand
here it is my first simple code with blitz3d
While Not KeyHit(1)
If KeyDown(57) Then
Animate man,1
Else
Animate man,0
EndIf
UpdateWorld
RenderWorld
Flip
Wend
End
I was expecting that the animation starts and keeps playing when I hold down the space bar and that it stops when I realese it
but nothing happen, the animation remains still.
the animation in .b3d format is ok and it has been loaded with the man = loadAnimMesh() comand
Can you help me ?
Thanks in advance
here it is my first simple code with blitz3d
While Not KeyHit(1)
If KeyDown(57) Then
Animate man,1
Else
Animate man,0
EndIf
UpdateWorld
RenderWorld
Flip
Wend
End
I was expecting that the animation starts and keeps playing when I hold down the space bar and that it stops when I realese it
but nothing happen, the animation remains still.
the animation in .b3d format is ok and it has been loaded with the man = loadAnimMesh() comand
Can you help me ?
Thanks in advance