' Check for animation Anim = 1 If Player(Index).Attacking = 0 Then Select Case GetPlayerDir(Index) Case DIR_UP If (Player(Index).yOffset > 8) Then Anim = Player(Index).Step Case DIR_DOWN If (Player(Index).yOffset < -8) Then Anim = Player(Index).Step Case DIR_LEFT If (Player(Index).xOffset > 8) Then Anim = Player(Index).Step Case DIR_RIGHT If (Player(Index).xOffset < -8) Then Anim = Player(Index).Step End Select Else If Player(Index).AttackTimer + 1000 > GetTickCount Then Anim = 4 End If End If
rec.Left = (GetPlayerDir(Index) * 3 + Anim) * 32
rec.Left = (GetPlayerDir(Index) * 4 + Anim) * 32
Put the same code in BltPlayerTop.
Can you edit it for npc's too please?
yes please. I want it to work with my npcs.. cuz they look how they originally looked before I put the code in =PEdit: oops! necro post. Sorry =S
I want PONIES AND RAINBOWS! *Shakes a fist*
Oh shut up. No one listens to you any way.