20-07-2007, 01:03 AM
Im not going to give you the code, but you should check out the code in bltPlayer. It will have something like this in it:
Then Anim decides which frame it is. I believe Anim = 3 is the attack frame and Anim = 0 is the walking.
And concerning the extra two frames thing, make a check. Use:
To see what weapon is used and blit from that.
I know you need to know some programming to complete this, I dont have the time. But maybe some one else will.
Code:
If (player(index).yoffset < PIC_Y / 1) then
anim = 1
end If
Then Anim decides which frame it is. I believe Anim = 3 is the attack frame and Anim = 0 is the walking.
And concerning the extra two frames thing, make a check. Use:
Code:
GetPlayerWeaponSlot (MyIndex)
I know you need to know some programming to complete this, I dont have the time. But maybe some one else will.