Any way to stop text from blurring?

For questions about using Classic.

Post » Wed Feb 23, 2011 4:02 am

I just went through all the trouble of making a special font out of Super Mario World, but when I use it in Construct, the edges are blurred. Now, normally that's a good thing, but in this case it's SUPPOSED to be all jagged and pixel-y. :P

The only other alternative that I can see is making images out of every individual number and letter and trying to use them that way, which is pretty impractical and might be an unnecessary burden for the game during run-time.

So, any way to turn off that auto-blur, or am I out of luck?
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Wed Feb 23, 2011 4:06 am

Set the text rendering mode in your application's runtime properties(click on the application in the project bar, runtime properties are on the right) to aliased. That should work for ya.
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Wed Feb 23, 2011 4:10 am

Well, that definitely made it a lot LESS blurry... I can settle for this, though, if there isn't any way to further clear it up. I doubt anyone would notice unless they have their face up to the screen like me. :P Thanks for the quick reply!
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Wed Feb 23, 2011 7:27 pm

Like I said in the first post, the only alternative that I can see is making an image of each number and use those to display time remaining, number of coins, score, etc. Considering how often those have to change, would that be too much of a burden on the game?

And which would be less of a burden: having all numbers 0 through 9 on a spot and just toggling visibility to show the current number, or actively creating and destroying the images when they change?
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Fri Feb 25, 2011 3:19 am

I could be wrong, but wouldn't a the spritefont plugin be a practical solution?
B
3
G
1
Posts: 23
Reputation: 521

Post » Fri Feb 25, 2011 1:25 pm

It wouldn't be a burden, construct can create destroy and move literally thousands of sprites each frame without slowdown. The spritefont plugin was made for this. Unfortunately I no longer have the source code to check up on it. Initially some people were complaining of disappearing letters, but I think it may have been an issue with an older version of construct, because I've had several people tell me they use it all the time with no issues.

Also, if you change the sample mode of the application from linear to point that will cut the antialiasing off the whole screen, which should cause both text and sprites to look less blurry, if you decide to use regular fonts
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486

Post » Fri Feb 25, 2011 4:36 pm

You can set the filtering on a per-layer basis via the layer's properties as well.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Fri Feb 25, 2011 10:45 pm

Thanks for the replies! I started looking into SpriteFont after reading about it in another topic, it's exactly what I needed. :)
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Sat Feb 26, 2011 2:41 am

Sometimes text/graphics go blurry for me if I use an odd-numbered display resolution like 1599 instead of 1600.
B
4
S
1
G
1
Posts: 63
Reputation: 776

Post » Sat Feb 26, 2011 6:50 am

I use clear-type rendering for my text. But if you are looking for sprite-ish fonts, then you should use a font like System or use the sprite font plug-in. :)
B
26
S
7
G
5
Posts: 202
Reputation: 5,235

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests