Sprite font center alignment - letters jumbled

0 favourites
  • 4 posts
From the Asset Store
Horror Halloween Pixel Art Sprite Font Space Data included
  • Link to .capx file (required! If link is blocked remove the http and www parts): dl.dropboxusercontent.com/u/112571595/spritefontstuffup.capx

    Steps to reproduce:

    1. Set point scaling and pixel rounding on

    2. Make sprite font

    3. Set Horizontal and Vertical alignment to center

    4. Type a large amount of text

    Note: occurs with default sprite font but not always as obvious as other fonts. May occur when alignment set to the right as well. I set the fullscreen in browser option to off to make it clearer but still occurs in other modes.

    Observed result:

    Some, but not all, letters become warped/have random pixels removed or misplaced.

    Expected result:

    Text appearing as drawn/configured.

    Browsers affected:

    Chrome: yes

    Operating system & service pack:

    Windows 7 Service Pack 1

    Construct 2 version: 158-2

  • Looks like a rounding error that only happens when the object width and height are odd. Make the object size even and it goes away. Hopefully that's a decent workaround until it's fixed.

  • Thanks! That does work, but another caveat is each individual character width/height also has to be even - which is why it was extra glitchy when I used a non-default font :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK, hopefully should be fixed in the next build.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)