Space between letters and SpriteFont is too long

0 favourites
  • 3 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Hello comrades! The distance between the letters and the space is too large.

    More details can be seen in the screenshot, the distance between the space and the letter is very long.

    how to reduce the distance?

    This problem is for me when using c3Runtime

    --------------------------------------------------------------

    Everything was done according to the instructions.

    Import the relevant data below into Construct2/3.

    ################################################################################

    Character width: 77

    Character height: 87

    Character set: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#"'&()[]|`\/@°+=*$£€<>АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя

    ################################################################################

    Construct 3 ONLY.

    Copy the following JSON text and paste into the 'Spacing data' property of the SpriteFont. No extra coding is required!

    [

    [21," "],[13,"'"],[16,".,;:!|"],[19,"`"],[21,"i"],[23,"l"],[24,"[]"],[25,"()"],[27,"j1\""],[28,"°"],[29,"I"],[31,"Jr"],[32,"t-_"],[33,"="],[34,"г"],[35,"<"],[36,"f\\/>"],[37,"+*э"],[38,"c~с"],[39,"z"],[40,"зт"],[41,"abe£авеёийнпчь"],[42,"Ldghnpqsu27Гбря"],[43,"EFko35?ЕЁЭко"],[44,"CZx69$С"],[45,"Злх"],[46,"Tvy0Ту"],[47,"BDHKNPS8БВИЙКНПРЧЬц"],[48,"GRU4Я"],[49,"€"],[50,"OQО"],[51,"дъ"],[52,"X&ЛХЦм"],[54,"Y#@"],[55,"AVАф"],[56,"У"],[57,"Дш"],[58,"Ъыю"],[59,"MМ"],[62,"Ф"],[63,"mщ"],[65,"ЫЮж"],[66,"Ш"],[68,"w"],[72,"Щ"],[75,"WЖ"]]

    ################################################################################

    Construct 2 ONLY.

    Copy the following JSON text and paste into the Array.Load command INSIDE the default quotes.

    {""c2array"":true,""size"":[2,46,1],""data"":[[[21],[13],[16],[19],[21],[23],[24],[25],[27],[28],[29],[31],[32],[33],[34],[35],[36],[37],[38],[39],[40],[41],[42],[43],[44],[45],[46],[47],[48],[49],[50],[51],[52],[54],[55],[56],[57],[58],[59],[62],[63],[65],[66],[68],[72],[75]],[["" ""],[""'""],["".,;:!|""],[""`""],[""i""],[""l""],[""[]""],[""()""],[""j1\""""],[""°""],[""I""],[""Jr""],[""t-_""],[""=""],[""г""],[""<""],[""f\\/>""],[""+*э""],[""c~с""],[""z""],[""зт""],[""abe£авеёийнпчь""],[""Ldghnpqsu27Гбря""],[""EFko35?ЕЁЭко""],[""CZx69$С""],[""Злх""],[""Tvy0Ту""],[""BDHKNPS8БВИЙКНПРЧЬц""],[""GRU4Я""],[""€""],[""OQО""],[""дъ""],[""X&ЛХЦм""],[""Y#@""],[""AVАф""],[""У""],[""Дш""],[""Ъыю""],[""MМ""],[""Ф""],[""mщ""],[""ЫЮж""],[""Ш""],[""w""],[""Щ""],[""WЖ""]]]}

    ################################################################################

    These are the details for building the character widths manually, with the SpriteFont 'Set character width' action.

    ------------------------------------------

    --------------------------

    Where to put this text?

    ++Copy the following JSON text and paste into the 'Spacing data' property of the SpriteFont. No extra coding is required!++

    ---------------------------

    Construct 3 ONLY.

    Copy the following JSON text and paste into the 'Spacing data' property of the SpriteFont. No extra coding is required!

    [

    [21," "],[13,"'"],[16,".,;:!|"],[19,"`"],[21,"i"],[23,"l"],[24,"[]"],[25,"()"],[27,"j1\""],[28,"°"],[29,"I"],[31,"Jr"],[32,"t-_"],[33,"="],[34,"г"],[35,"<"],[36,"f\\/>"],[37,"+*э"],[38,"c~с"],[39,"z"],[40,"зт"],[41,"abe£авеёийнпчь"],[42,"Ldghnpqsu27Гбря"],[43,"EFko35?ЕЁЭко"],[44,"CZx69$С"],[45,"Злх"],[46,"Tvy0Ту"],[47,"BDHKNPS8БВИЙКНПРЧЬц"],[48,"GRU4Я"],[49,"€"],[50,"OQО"],[51,"дъ"],[52,"X&ЛХЦм"],[54,"Y#@"],[55,"AVАф"],[56,"У"],[57,"Дш"],[58,"Ъыю"],[59,"MМ"],[62,"Ф"],[63,"mщ"],[65,"ЫЮж"],[66,"Ш"],[68,"w"],[72,"Щ"],[75,"WЖ"]]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Put the JSON string with character spacing data in here:

    I also highlighted other important fields.

    If you configure everything correctly, you will not need to change anything with events.

  • Thank you very much!

    Now everything is checked and corrected, sorry for my not attentiveness.

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