Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BltPlayer()
#1
[Client Side Only]

In a blank MS, BltPlayer has a Y coordinate that gets set as "GetPlayerX(Index) * PIC_X + Player(index) - 4"
Code:
y = GetPlayerY(index) * PIC_Y + Player(index).YOffset - 4
It shouldn't be - 4 because if it is, the character gets blitting 4 pixels above where it should be, therefore making the character's head touch the next tile up. If the tile is fringed, then it looks very bad, in my opinion.

Change it to:
Code:
y = GetPlayerY(index) * PIC_Y + Player(index).YOffset

(I don't know if this has been fixed in the new MS (MSE), because I use 3.0.3.)

:: Erik
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)