0 Favourites

text display

This forum is currently in read-only mode.
  • Hi Folks,

    I have a problem with the text. When I see the text in the editor, it is all smooth and nice. At runtime, though, it is displayed differently, without antialiasing. (See picture below, the first one in runtime, the second one the editor)

    <img src="http://www.runtime-hq.com/images/files/text_test.jpg">

    What did I do wrong? How can I change the antialiasing of the text in runtime?

    And here is another question. What happens if the player has not the font installed I use? Does Construct export the font with the exe?

    Greetz and thx

    Maenny

  • It looks to me like none of the Text Rendering settings (In the system properties) carry over to runtime. You've just found a bug, you should report it to the tracker.

    And here is another question. What happens if the player has not the font installed I use? Does Construct export the font with the exe?

    It does not. If you notice, there is a Font folder in your project tree. This is meant to hold any fonts you wish to include in your game. Unfortunately the feature is not yet complete, that folder is just a placeholder.

    If you want to include a font with your game you could make your own installer. But the problem is that for the font to show up in the game after you install, you have to restart Windows. You can't just play the game immediately after or Windows won't know which font to use and so it will default to Ariel. Annoying, I know! But hey, Construct isn't finished yet

    There is a very good SpriteFont plugin that lucid created which allows you to use any bitmap font you like. Bitmapped fonts generally look better in games than regular fonts anyway. Here's a link to the thread:

    It takes a little bit of work setting it up but you will have a better looking game in the end. Oh, and apparently there is also a font splitter app that Arima made so setting things up is a bit easier:

    Anyway, good luck

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Thanks again for your help. I will try and use the plugin.

    Greetz

    Maenny

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
[Plugin] tag text
188 25,453
RBuster's avatar
RBuster
Unread hot topic
118 32,905
rexrainbow's avatar
rexrainbow
Unread hot topic
102 26,818
HERBERT HEINZ's avatar
HERBERT HEINZ