How do I align Spritefont+ Plugin

Get help using Construct 2

Post » Tue Mar 08, 2016 10:13 am

Message: Lncredible can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi there,

I have been changing my fonts from the built-in Spritefont plugin to Spritefont+ (https://spritefontplus.codeplex.com/) so that I can quickly set character widths using JSON.

In the property of the Spritefont+ objects you can CLEARLY set text alignment, but my issue is that I want to do this with an event-action. I.e:

Start of layout
- Spawn Spritefont+ object at x,y
- Set Spritefont+ object horizontal alignment to RIGHT

But the actions don't seem to exist. Has anyone else had this issue?
B
8
S
2
Posts: 59
Reputation: 686

Post » Wed Mar 09, 2016 11:23 am

I guess I'll have to manually put in the space adjustments and use the old Spritefont plugin...
B
8
S
2
Posts: 59
Reputation: 686

Post » Wed Mar 09, 2016 11:35 am

This thread should have everything you need. Admittedly, it's made for the official plugin, but it should be helpful. Once you create your font, it also gives you the spacing string to use (and the example capx shows you how to do it).
B
103
S
38
G
19
Posts: 962
Reputation: 17,996


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests