23-09-2006, 11:59 PM
I have 64X64 npc on my game and I had the same problem. I solved it on a much easiest way. Instead of bliting top and bottom, why just blit on the right order? That's my code(you dont need to change anything on your BltNpc sub):
Code:
For Y = 0 To MAX_MAPY
For i = 1 To MAX_MAP_NPCS
If MapNpc(i).Y = Y Then
Call BltNpc(i)
End If
Next i
Next Y