Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sprites issue.
#7
doomteam1 Wrote:can you tell me what you did
i wanted to know this too

In BltPlayer I changed
Code:
x = GetPlayerX(Index) * PIC_X + Player(Index).xOffset
y = GetPlayerY(Index) * PIC_Y + Player(Index).yOffset - 4
to
Code:
x = GetPlayerX(Index) * PIC_X + Player(Index).xOffset - 16
y = GetPlayerY(Index) * PIC_Y + Player(Index).yOffset

and

Code:
rec.Top = GetPlayerSprite(Index)
    rec.Bottom = rec.Top
    rec.Left = (GetPlayerDir(Index) * 9 + Anim)
    rec.Right = rec.Left
to
Code:
rec.Top = GetPlayerSprite(Index) * 64 + 32
    rec.Bottom = rec.Top + 32
    rec.Left = (GetPlayerDir(Index) * 9 + Anim) * 64
    rec.Right = rec.Left + 64
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)