Hello Guest

Author Topic: tk2dFont characters offset  (Read 3991 times)

Clet_

  • Newbie
  • *
  • Posts: 9
    • View Profile
tk2dFont characters offset
« on: June 10, 2014, 03:03:23 am »
Is there a way to modify each character's offset in a tk2dFont? I have slight adjustments to make to the font, so some character won't overlap on each other, but modifying values in the bmfont data does not seem to modify anything.

Any clue on how to proceed?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: tk2dFont characters offset
« Reply #1 on: June 10, 2014, 10:49:09 am »
xoffset and yoffset in the bmfont will control the offset of each character. You will need to recommit the tk2dFont / sprite collection hosting the font for it to take effect though.