Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bltPlayer & bltPlayerTop
#9
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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)