About sprite font - character width

  • Sorry for my English.

    Most of sprite font tool I can found from internet export files like this

    <img src="https://cc6oaa.bay.livefilestore.com/y2pOeaJWFPMd6YAN6ymKIzkHpO9XlkQX16WiXfnQ6qYGsN5etcpLJ3r88bVkO2ImjEmh-0_9VUIICSpGg-qkQTaHag836njivtjvCdrr-Nf2kA/SF01.png" border="0" />

    In construct

    <img src="https://byfiles.storage.live.com/y2pzLplEaIJWNsvyD30pgtncfiWaXLwdXpCbCIXIWW1wzkdvFqRmMzU1U0fuI88SuC3Vbuw79x0qtEp7smv9LWEHwnV4_rTT7uxSDLWo3wpSE8/Clipboard_20130731%20%282%29.jpg" border="0" />

    then I make a sprite in photoshop

    <img src="https://cc7ziw.bay.livefilestore.com/y2pOIUwDpB3tI8q1JrXWR0te4lr95R2r7auBNIOR1g3gaib0sO7FBzxNZGMTHNsx7OZleKoFk1dBSC5_vgxvon3SnpBYRG3sYMBPFwzJh6qJco/SF02.png" border="0" />

    In construct

    <img src="https://byfiles.storage.live.com/y2p7d9srV1Vot3JPWyE0wNp2LvJsxUgDNAj8M9Q9KDVVpXiFlHY9W7MAsKx5jjnWh5_g1yegCNPPShaXp0uDKAS3wawRkkW2g9c_c0pH-1Adt8/Clipboard_20130731.jpg" border="0" />

    Yes, it's looks better , but can you see the spaces in the words?

    They are not real spaces.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi ffffff,

    Sprite font characters must be monospaced (each stored in an equal sized cell).

    blackhornet has created a fantastic tool to do this for you. It might help you to check it out (see here).

    Good luck.

  • Are you setting the width of each letter? You have to do that in Events. Here, see my example:

    https://dl.dropboxusercontent.com/u/85412219/forumposts/Fontexample.capx

  • Blacksmith

    Thank you,but I can't run it on win7 64bit

    It keeps crashing.

    don't know why.

  • Are you setting the width of each letter? You have to do that in Events. Here, see my example:

    https://dl.dropboxusercontent.com/u/85412219/forumposts/Fontexample.capx

    Thank you,this is best way for now.

  • Paradox Download your .capx again, then try to scroll in C2 editor, it perfectly crashes. I think it's a bug...

  • same think here, C2 crash with your capx

  • Weird.

    I switch to the View tab and turn off snap to grid and it works without crashing.

    That was an example from a bug report, I thought it was a sprite font report, but maybe that was from a snap to grid report...

  • I noticed that the grid actually disappears if you scroll, and then it crashes.

  • Weird.

    I switch to the View tab and turn off snap to grid and it works without crashing.

    That was an example from a bug report, I thought it was a sprite font report, but maybe that was from a snap to grid report...

    I think , it was from "snap grid + sprite font" .

    I crash 2 times with this combination .

    But it never happen again in the 3rd or 4th.

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