text display

This forum is currently in read-only mode.
From the Asset Store
Change delay, create new lines, "backspace" the text
  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • 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)