Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How to change font size?

A topic by hotdawg games created Jul 26, 2024 Views: 201 Replies: 9
Viewing posts 1 to 2

Hey, I purchased the pro version and have it loaded with Book, Bitmap Font and Bitmap Font Pro in that order. However, I'm not sure how to change the font size - the font size in System 2 doesn't change anything.

Developer

Hi there!

First of all, you are only supposed to use one of the bitmap font plugin. If you have the pro version, disable the free version on your plugin manager.

Please take some time to read the help file and see the sample project if you have any doubts. About the font size, the information is on the help file:

oh fantastic, thank you! one more question - do you know of a quick way to export these images? i brute forced it by exporting pngs for each glyph with forgefont and then arranging them in piskel but it took me like an hour and a half

Developer

Yeah, that seems a lot of trouble.

What I do is, install the font on my desktop, open Gimp Image Editor, and just write down all the characters I want to put on my game. Then adjust them inside their grid and export it as a png.

On my sample project, there is gimp files there as an example.

Thank you, that makes sense. I'm also having an issue with text that normally has colour - for example TP costs and the numbers for stats in the equip window - all just staying the same colour now. How do I fix this?

Developer

I will need more information, like how did you setup your font and your plugin manager list. How the color problem is being shown to you and what do you want for it to be.

Because it seems fine to me here:



OH! I see my error — the text colour was set to "disable" by default so it wasn't registering any colour changes. The colour is good now, I'm just wondering how best to approach this next issue — the help window, main menu, normal text boxes etc. all render great, but the text is still blurry in the actor command window and the skill window. Do I need to make a smaller version of the font? And what size would you recommend for this window size? For reference, my game resolution is 816x624 and my bitmap font is 22 pixels tall. Thanks in advance!
Developer

I really cannot recommend a font size for the window size, not a designer, just a coder ^^

But it is strange for it to be blurry like that. The reasons I can think off is:

1 - Make sure the smooth is set to disable on the plugin parameters.

2 - Make sure the window size and the line height of the window does not have decimal numbers like 300.05, etc.

Because seems to me that you are using a plugin to mess with this windows. The best test will be first check if that is not the problem, therefore, disable those plugins and see if the font will render nice on the default windows.

Yes you were totally right! As it turns out, Visustella was scaling the window and that messed up the resolution. Thanks so much — I'm really loving how crisp my UI looks thanks to this plugin!!!
Developer

Nice!! Have fun!! :)