Fixing Variable Width Spritefont Alignment

Get help using Construct 2

Post » Wed Feb 11, 2015 6:30 am

When I use the variable width spritefont trick where you use an array and JSON data with the character widths stored in the string, and align the text to the right, the last character ends up getting cut off a bit on the right side. I've tried to fix this by putting a space at the end of every string that is right aligned but in runtime the space is removed and the character is still cut off on the right side. Is there any way to fix this?
B
42
S
12
G
1
Posts: 229
Reputation: 3,821

Return to How do I....?

Who is online

Users browsing this forum: Greaver, ThePakernator, UberLou and 7 guests