how to work with animation

Blitz3D Forums/Blitz3D Beginners Area/how to work with animation

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hey thanks a lot beaker,

That's a step forward for me.

I downloaded the dog.b3d
and did dog = LoadAnimMesh("dog.b3d")
works oke.

the doganimationinfo.txt says this:
Assuming the first frame is 1, then the anim ranges are as follows!!
2-14 = walk anim
16-24 = run anim
26-60 = idle anim
You might have to remove one frame off the end if it doesn't loop perfectly (cus the first and last frames are the same)


that means that I only have to fix one thing :)

If KeyDown(200)
Animate dog,1 <-- now run dog run //16-24 = run anim

But that's looping all the frames.

And now the final big question.
How to play only Frame 16-24 = run anim ? while keydown

Then I can make something.