Ok So ive created my own system for the movement, Way more sprites. Now I have to add them. I understand how the move system works, Sort Of.
------------------------------------------------------------------------------------------------
I learned from using advocates system and replacing a part in Sub BltPlayer with;
SPOILER: (click to show)
Quote:
' Check for animation
Anim = 0
If Player(Index).Attacking = 0 Then
Select Case GetPlayerDir(Index)
Case DIR_UP
Anim = 0
If (Player(Index).YOffset < PIC_Y / 3) Then
Anim = 1
ElseIf (Player(Index).YOffset > PIC_Y / 3) And ((Player(Index).YOffset > PIC_Y / 3 * 2)) Then
Anim = 2
End If
Case DIR_DOWN
Anim = 1
If (Player(Index).YOffset < PIC_X / 6 * -1) Then Anim = 0
If (Player(Index).YOffset < PIC_X / 4 * -1) Then Anim = 2
Case DIR_LEFT
Anim = 0
If (Player(Index).XOffset < PIC_Y / 3) Then
Anim = 1
ElseIf (Player(Index).XOffset > PIC_Y / 3) And ((Player(Index).XOffset > PIC_Y / 3 * 2)) Then
Anim = 2
End If
Case DIR_RIGHT
Anim = 0
If (Player(Index).XOffset < PIC_Y / 4 * -1) Then Anim = 1
If (Player(Index).XOffset < PIC_Y / 2 * -1) Then Anim = 2
End Select
Else
If Player(Index).AttackTimer + 500 > GetTickCount Then
Anim = 2
End If
End If
------------------------------------------------------------------------------------------------
Now the thing I need to know is, How do I change how many sprites there are for each direction?Like when you 1st use MS there are 3 Backward, 3 Forward, 3 Left and 3 Right.
Well I need to change it so;There are 7 Backward, 7 Forward, 9 Left and 9 Right.
Any Ideas on what to do?