Eli Bitmap Font - Use bitmap fonts into your game!

bitmapFonts.png

Author: Hakuen Studio​

Introduction

Those who want to use pixel fonts, or even more detailed fonts can get into a lot of trouble when aiming for the perfection of the font visuals.
Rpg Maker can blur and add an outline to your fonts. This plugin solves this problem, letting you use a bitmap font(a .png file) like a sprite sheet, which lets your fonts be rendered more faithful.

Features
• Add bitmap font to your game.
• Choose the size of the space between characters.
• Choose the size of the space
• Choose the characters(letters) your bitmap will use.
• Choose if you want to smooth or not the font.
• Can add as many fonts as you want. (PRO)
• Set specific fonts for scenes or windows. (PRO)
• Change text color. (PRO)
• Increase/decrease the font size (\{ \}) (PRO)
• Use Underline and Strike-through with Eli Message Actions. (PRO)

How to use
Terms of Use
There is a demo and a free version to download.
https://hakuenstudio.itch.io/eli-bitmap-font-for-rpg-maker
Version 1.0.1 - 07/02/2021
- Performance improvements
- Fixed a problem with the align command of Eli Message Actions
Version 1.1.0 - 07/12/2021
- Fixed a problem that was not calculating text height properly.
- Add an option to render the blank space with the "spacebar" key as a bitmap.

Space bar as a blank space:
Blank space false.PNG


Space bar as a bitmap:
Blank space true.PNG
Version 2.0.0 - 08/11/2021
- Need Eli Book 4.0.0 now.
Silly question, but how do you use this? I downloaded, added it to the plugin list, added the png file, added to all windows and scene, but it is not showing the file.
Silly question, but how do you use this? I downloaded, added it to the plugin list, added the png file, added to all windows and scene, but it is not showing the file.
Hi there!

You really don't need to add it to all scenes and windows. You only need to do that, if you have multiple bitmaps and want to show a specific one into a scene or window. Otherwise, your game will take the the first bitmap font as default.

But for me to be able to help you more, I will need some screenshots of your plugin parameter. Can you send me that?

Also, did you try make your setup on the demo? The demo has everything already setting up. If you are using the PRO version, you just need to copy and paste the PRO version on the plugin folder of the demo and turn off the free version on the plugin manager.
Version 5.0.0 is not compatible with my plugins that are below the 5.0.0 versions.

Version 5.0.0 - 02/05/2022

  • [MV] Ported to MV!
  • Updated terms of use.
Version 5.0.1 - 02/24/2022
  • Minor performance improvement.
  • Need to be below Eli Message Actions now.
  • [MZ] Fixed an issue where the Damage Sprite was not taking the color from the bitmap font color on the plugin parameters.
Version 5.0.2 - 03/14/2022
  • Fixed a small issue when using Eli Message Actions to draw an image inside the text using escape codes. The problem was that the text was being drawn above the image, instead of calculating the right coordinate to not draw above the image.
Do you have an MV demo for this?
Do you have an MV demo for this?
Hi there!
For now only for MZ. But I already created one for MV and also make a lot of updates on this plugin. I'm just finishing the help file and will update it this week ^^
Version 5.1.0 - 04/18/2022
  • Big performance improvement by using a JSON file to store the bitmap font data.
  • Bitmap fonts can now have another bitmap font file to be used as an outline.
  • New help file!
  • Add a demo project for MV and updated the MZ one!
1650263625269.png
.
Does "add as many fonts as you want" mean you can set the game to use any font during gameplay?

Example of what I mean by this; will I be able to set up an event so that it will completely change the font of the game if interacted with? Including menus and stuff, not just the event text boxes.

I think VE's similar plugin only lets you change font for lines of text displayed. Looking for something where I can have it be able to change the entire game's font.
Yes, you can change the font of the game any time you want, with plugin commands(pro version)
But there are some restrictions on the free and pro versions. I suggest you try the free to see if you will like it first.
.
We don't mind giving money to support fellow devs! One of our team members purchased a copy and I have started to implement the plugins and test it out. I would say for the most part it is an excellent plugin and feels really simple to understand.

Though when it comes to specifically making the font files, I am aware that it needs to be a strip, but what order exactly do I need to put the characters in?

I am also not the smartest at math and stuff, so I do not understand the specifics either, but I think I can figure that part out. Though I am wondering if it is possible to include a test font in the package to use as a base maybe? It could be very helpful for me.

Edit: About the purchase of the plugin; don't worry I have made it clear that it is only for use in our team's project, and it is not allowed to be shared with other devs for any personal works, only for the sole owner to use for their personal works.

Edit 2: If you have any issue regarding this, please let me know!
hi there!

It's fine!
Did you manage to get your hands on the sample project? Inside the project has some already made font examples.
Basically, you will do a long sprite sheet, horizontally.
Like, when you get a character sprite to walk on the map:
Evil.png


You see that horizontally it does have 12 characters/sprites. And they all are inside and centered on a grid of 48x48 pixels.

You will build your font the same way, except that you will need to build it with a single row.
Each letter must be inside a grid too. But it does not need to be centered inside the grid. Just need to be inside.

1651048252129.png


Each letter inside the grid.
I think it is better if you take a look at the sample project with the example. It have the .png file and also the Gimp file I use to make the font(under the system folder).

The order of the characters that you draw on the file must be the same as the ones on the plugin parameter.

Let me know if you manage to understand it! ^^''
.
@magicbatteryacid

First, you need to set a FontFace(it works like an ID for the font inside the game). And in your screenshots, it is blank.

That problem is usually when the Bitmap font image width is not matching the number of characters * grid width.

Let's say you have 100 characters(letters) in your font.
When you create the PNG file, you have to create a grid for each character.
So, let's say the grid is 30x16.
So, each grid has 30 Pixels in width.
30*100 = 3000. That must be the width in your png file.
And 16 will be the height(size) of your font inside the game.

Using the files in the sample project in our project, and trying to match up the settings, it wont display the text right. I even turned off every other plugin and it still has the same effect:
The best way to make that is for you to open both projects, yours and the sample project.
Open the plugin manager on both.
Copy the BitmapFont on the plugin manager of the sample project and paste it into your project.
Copy all the bitmap font png files under the system folder from the sample project to yours.
And it should work.

But, if you try to manually copy each parameter, you can probably run into an issue or make some mistakes, like leaving the Font Face parameter blank.

But I suggest that instead of making the sample project settings work on your project, is better if you just try to build your own Bitmap Font Png File anyway.
Since if you tried the sample project, and it worked, then is probably a mistake while setting up the plugin on your project.

  • Create a blank project, only with Eli Book and Bitmap Font plugin.
  • Take any text editor, like notepad, and write down all the letters you will use in your game:
1651186749577.png


  • Now open your image editor(I use GIMP), create a larger canvas, and write down all those letters.
  • Now, figure out what is the largest letter and build the grid width size based on that. In my experience, it is always W or M.
  • Now, put every letter inside a grid.
  • Remember, the total width of the png file must be equal to the calculation: Number of characters * Grid Width
  • Save the PNG file under the system folder.
  • Set the png file into the plugin parameter.
  • Copy the letters written on the notepad into the plugin parameters.
If the error persists, send the sample project you made and I will find the issue for you.
.
View attachment 224828

Edit (This originally was a big reply to your last message but deleted most of it) : Nevermind I just figured it out?? These two screenshots I posted earlier in this message for comparison that I "did it right". However, I went to the bare text and copied the sample to the new and it just worked? I guess there is something different between these two images?? Lol.

Edit again: Yeah, my dumbass didn't realize that mysterious "..." at the end of Signs was actually telling me there was more to check I guess 👋

And again: Also thank you for the tips on how to create my own font and etc.
Nice!!!
I'm glad you figure it out! 😀
Have fun ^^

Original thread: https://forums.rpgmakerweb.com/threads/eli-bitmap-font-use-bitmap-fonts-into-your-game.137644/