• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0

BMFont request: Save font widths in .INI format

3 posts in this topic

(can requests/suggestions be posted here, right?)


I JUST found about the program and I like the incredible freedom to choose between multiple subsets. The only thing I'm missing is an option to save the font widths in .INI format, like Bitmap Font Builder or Texture Font Generator do.

I'd be told "why don't you use them?"... well, they are very limited in what subsets can I generate.


The .INI would be like this, for a simple Arial font:

[Char Widths]

Problem is, Bitmap Font Builder only outputs the standard ASCII characters (from 0 to 255)

For JAPANESE characters, there's a modified version of Texture Font Generator that can generate multiple pages/images, specifying the chars that are in each line. For example:

[kanji 1]
Line  0=????????
Line  1=????????
Line  2=????????
Line  3=????????
Line  4=????????
Line  5=????????
Line  6=????????
Line  7=??

...but it doesn't support other subsets, like Chinese or Korean.


Would be possible for BMFont to output this file?

Edited by Wanny

Share this post

Link to post
Share on other sites

Hi Wanny,


I'm glad you like BMFont. 


Unfortunately BMFont currently cannot generate the font exactly like Bitmap Font Builder or Texture Font Generator. It was never my intention with BMFont to try to mimic other bitmap font formats. What I wanted was to create a format that would allow you to pack as many characters in a texture as possible, and BMFont is definitely much more efficient at that than both Bitmap Font Builder and Texture Font Generator. 


Do you really need to use the format that Bitmap Font Builder and Texture Font Generator uses? Are you generating fonts for an existing application, in which you cannot change the format?


If you really need the format of Bitmap Font Builder I'm sure you can quite easily write a tool that converts the output from BMFont into that format.





Share this post

Link to post
Share on other sites

Hmm, at least in regards of how the images are generated, BMFont is practically the same as Bitmap Font Builder or Texture Font Generator (except from the order in how the characters are placed).


Well, I need the specified output format for a dance game simulator (OpenITG, a fork of StepMania).

Sadly I'm not good enough at programming, so I can't add a way to interpret the .fon format (or "easily" write a converter tool)


Share this post

Link to post
Share on other sites

Since OpenITG is open source, perhaps the authors might be interested in enhancing the code in order to support more advanced bitmap fonts. Perhaps you can ask them about it?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0