Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ok i've got a bug with paperdoll or 32x64
#5
I actually fixed this it deals with the blting part I just switch its around so the top half was blting from pix_x and the bottom half was pic_x + 32 or something like that I will show an example when I get home but I dont use mse...

If i remember correct its backwards in the code so the bottom is pic_x and the top is Pic_x * 2 which if you sprite is 1 your bottom half is bltting correctly but the top half is blting the head under it

EDIT: i just looked up the tut and its

.Top = GetPlayerSprite(Index) * PIC_Y + PIC_Y

so if your sprite is 1 your legs are blting from 32 - 63 and your head from 64 - 95 if you switch it aroung your head would blt from 32 - 63 and legs from 64 - 95... so if you set sprite 0 your sprite would be blting correctly being since 0 - 31 count as 32 pixels.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)