You probably can grasp the concept that when you have image frames on a bmp you can think of it as a roll of film, each image is the same size. Say you wanted to create an animation that consisted of three frames and was 72x72 pixels. Your animation file would then be 72x216.
See example:
You don't need the black lines, I just put them there for reference. So first you need to load the bitmap into memory and set the current bitmap to the one you just loaded so you can pull chunks out of it.
LOAD BIMAP "myanimation.bmp",1
SET CURRENT BITMAP 1
Next, you need to actually pull the frames out of it. You know that each frame is 72x72, so you can input the following:
GET IMAGE 1, 0,0,72,72
Which will grab the first frame and put it in image 1. Then you can finish it out. You change the first number to 72, because you want to get the part of the bitmap that is 72 pixels over, so you don't get anything from the first frame. The second number is still 0, because your Y coordinate will always start from the top. The third number will change to 144, because that is 72 pixels over from the start of frame 2. And that last number is still 72 because your bitmap is only 72 units tall.
GET IMAGE 2, 72,0,144,72
Finally.....
GET IMAGE 3, 144,0,216,72
Same concepts apply to the one just above.
Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html