Sprite Font Generator - v3

  • Thanks

  • Wow !!!

    What a usefull plugin !!!

  • Hi blackhornet

    How are you?

    I am using the Sprite Font Generator (last version) to create a sprite font to use in C3. After I generated it I copy/paste the information in the script created specifically to C3 sprite font (spacing data field) but the space around the characters is not changing and I don't know why.

    For example: I created a sprite font and I pasted this script into the spacing data field;

    [

    [6," "],[3,",'"],[4,".|`´"],[5,";:"],[6,"\""],[5,"I()\\"],[6,"clt?!~"],[7,"er1-"],[8,"josvz[]"],[9,"bfgpquxy89"],[10,"Sahk34567/"],[11,"CEGn"],[12,"BHJKPd02"],[13,"ADFIOQRT"],[14,"LNXw"],[15,"V"],[16,"UYZm_"],[18,"M"],[22,"W"]]

    Nothing happened. I changed these values several times and even remove totally this script from the field and everything remains the same.

    If I change the "character spacing" value, it reduces the space around the characters but although this solves the problem of the most characters, others practically merge with the others.

    What am I doing wrong?

  • Someone else had this issue. Somehow during the copy and paste an escape backslash is lost for the backslash character! If you bring up the actual dialog for the spacing data, you'll see the [5,"I()\"] section is missing a backslash. Just type it back in and it all works: [5,"I()\\"]

    It's not clear to who's at fault here - C3, the browser, copy/paste, the text editor used to open the file. It's definitely odd.

  • Someone else had this issue. Somehow during the copy and paste an escape backslash is lost for the backslash character! If you bring up the actual dialog for the spacing data, you'll see the [5,"I()\"] section is missing a backslash. Just type it back in and it all works: [5,"I()\\"]

    It's not clear to who's at fault here - C3, the browser, copy/paste, the text editor used to open the file. It's definitely odd.

    This part of the code was okay for me. The array code is exactly as appears in the txt/xml file:

    [

    [6," "],[3,",'"],[4,".|`´"],[5,";:"],[6,"\""],[5,"I()\\"],[6,"clt?!~"],[7,"er1-"],[8,"josvz[]"],[9,"bfgpquxy89"],[10,"Sahk34567/"],[11,"CEGn"],[12,"BHJKPd02"],[13,"ADFIOQRT"],[14,"LNXw"],[15,"V"],[16,"UYZm_"],[18,"M"],[22,"W"]]

    I did not find de "i" character in this array code. Is it right?

    EDITED - I found the error: I had two slashes on [6,"\""]. But I still have the problem with the "i" missing.

  • Capital 'i' is in two places somehow - in the same '5' section and in [13,"ADFIOQRT"]. Sorry, I have no explanation for this, other than I expect the first I is supposed to be lowercase.

  • Capital 'i' is in two places somehow - in the same '5' section and in [13,"ADFIOQRT"]. Sorry, I have no explanation for this, other than I expect the first I is supposed to be lowercase.

    No problem. I included this character in the same section I found the other issue.

    Don't worry about this. This application continues to be very useful and I just have to thank you.

  • blackhornet Would it be at all possible to open source this tool, or to build a macOS version? I gave it a try with Wine, but it failed to find the PresentationFramework.

    If neither of those options are convenient, would you be willing to share the data format information regarding the spacing info and such?

  • I'd also love this for macOS, I haven't been able to find an equiverlant and Scirra Ashley declined my suggestion on how to make things easier. https://construct3.ideas.aha.io/ideas/C3-I-607

  • I'd also love this for macOS, I haven't been able to find an equiverlant and Scirra Ashley declined my suggestion on how to make things easier. https://construct3.ideas.aha.io/ideas/C3-I-607

    Are there any differences in the version for Mac and for Windows?

  • habalka

    There is no Mac version. That it what is being asked for. I am having a look at what it would take for a Mac version, but it's mostly a complete rewrite to do so.

  • Yeah, thank you, sorry, I did not understand right away! Good luck!

  • Thank you so much for this. :) <3

    Make my Sprite-Fonts in Gimp.

    Really great tool to save time. <3

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there any kind person out there who can spare a few minutes to convert this font for me? I'm on mac osx.

    https://www.urbanfonts.com/fonts/Baloo_Da.font

    1024 size for a hd game, plain white color.

    Thanks very much.

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