Spritefont shows wrong characters

Discussion and feedback on Construct 2

Post » Sat Nov 22, 2014 3:37 am

Hi,

I'm using spritefont. But it always shows next character from the original text set in properties.
Ex. "LIFE" becomes "MJGF"

How to fix that? Thanks.
We're just a sprite in digital earth
B
9
S
3
Posts: 43
Reputation: 970

Post » Sat Nov 22, 2014 3:47 am

Check your character set - it sounds like there's a mismatch with the image.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,188

Post » Sat Nov 22, 2014 8:28 am

As Colludium has said, the Sprite Font Property 'Character Set' has to match the Image exactly.

If you think you have done it correctly, post a simple .capx with just the sprite font and we'll check it for you.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Sat Nov 22, 2014 10:43 pm

Thanks for your reply, guys.
I just restart my computer, and it works. :)
We're just a sprite in digital earth
B
9
S
3
Posts: 43
Reputation: 970

Post » Sat Nov 22, 2014 11:00 pm

@ramose73 - that's strange!
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests