@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:
- 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.