Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exact Center? - BltPlayerName
#8
Leighland Wrote:I have a small issue but it's driving me nuts lol. The names never seem to be centered over the player sprite. They're always a few pixels off.. and it doesn't look very nice to me. If anyone has managed to center the text exactly over the player sprite can you post your code please? :p

I'm not 100% sure on this, but in the BltPlayerName sub, is there a ' * 6' or some other number.

I think it works out the length of the word, then times it be the amount of pixels per letter.

So just play around with that number (you can have decimals)

~Kite
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)