moving Animated characters

Blitz3D Forums/Blitz3D Beginners Area/moving Animated characters

I use the keys.bb include file so I dont need to know all the keycodes.

I wrote it pretty quick, but if you use the keys.bb file (search the samples and demos in your blitz installation folder for this file)it should work.

Each command should read keydown (K_something) not keydown (something). So yes there are a few typos here.

e.g

If KeyDown(K_up)=0 And KeyDown(K_v)=1 And KeyDown(K_s)=0 Then
If AnimSeq(man)<>3 Then Animate man,1,.45,3
EndIf

for each if statement there must be a then or endif to close it.