29-06-2006, 07:16 PM
well, isn't a bug, is like the mirage source is, you need add another chara more (the number four) in stand pose, and say that if the chara isn't walking, he stay in stand pose. well, in my case, i add the four direction on the end of the animations:
|up-up-up|dw-dw-dw|lf-lf-lf|ri-ri-ri|up-dw-lf-ri|
And in bltplayer sub i add this:
u can do the same with the npc's (changing, of course, only one thing)
thats only, nothing really hard ^^ i hope its work to u, good luck
|up-up-up|dw-dw-dw|lf-lf-lf|ri-ri-ri|up-dw-lf-ri|
And in bltplayer sub i add this:
Code:
If IsTryingToMove = False Then
Select Case GetPlayerDir(MyIndex)
Case DIR_UP
rec.top = GetPlayerSprite(Index) * PIC_Y
rec.Bottom = rec.top + PIC_Y
rec.Left = (GetPlayerDir(Index) + 12) * PIC_X
rec.Right = rec.Left + PIC_X
Case DIR_DOWN
rec.top = GetPlayerSprite(Index) * PIC_Y
rec.Bottom = rec.top + PIC_Y
rec.Left = (GetPlayerDir(Index) + 12) * PIC_X
rec.Right = rec.Left + PIC_X
Case DIR_LEFT
rec.top = GetPlayerSprite(Index) * PIC_Y
rec.Bottom = rec.top + PIC_Y
rec.Left = (GetPlayerDir(Index) + 13) * PIC_X
rec.Right = rec.Left + PIC_X
Case DIR_RIGHT
rec.top = GetPlayerSprite(Index) * PIC_Y
rec.Bottom = rec.top + PIC_Y
rec.Left = (GetPlayerDir(Index) + 13) * PIC_X
rec.Right = rec.Left + PIC_X
End Select
u can do the same with the npc's (changing, of course, only one thing)
thats only, nothing really hard ^^ i hope its work to u, good luck