SpriteFont Spacing Editor

2 favourites
  • 2 posts
From the Asset Store
Spaces Ambience contains 102 Sounds: 53 track and 49 sounds
  • I wanted to make some nice clean pixel fonts for my game with a free tool like CBFG. It worked really well, producing crisp non-aliased results. However, the tool exported csv files for character spacing and Construct needed JSON...

    So I've built a tool to easily adjust the spacing of a SpriteFont object.

    The spacing data can then be copied and pasted to the spacing data field of the SpriteFont object in the

    Construct3 editor.

    I've provided a quick tutorial and the Construct3 project file below. This project file works with R187 Beta version of Construct, I haven't tested it on any other versions.

    SpriteFont Spacing Project File

    https://www.dropbox.com/s/ljbmnmzbjajzpiy/SpriteFontSpacing.c3p?dl=0

    CBFG Font Generator

    http://www.codehead.co.uk/cbfg/

    There are some limitations.

    For example, I couldn't import a spritefont image at runtime, which is why I'm distributing the tool as a project.

    To simulate realtime spacing when using the slider, the Set character width action is used. However, I couldn't get it to work on the "space" character despite trying numerous ways.

    The quotes "" and backslash \\ characters seemed to break when in the spacing data field so I've omitted them.

    QUICK TUTORIAL

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great work, this will be a very useful tool.

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