2D Toolkit Forum

2D Toolkit => Support => Topic started by: Clet_ on June 10, 2014, 03:03:23 am

Title: tk2dFont characters offset
Post by: Clet_ 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?
Title: Re: tk2dFont characters offset
Post by: unikronsoftware 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.