Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attack frames changing
#2
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:
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)
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)