- Dec 31, 2021
- Reaction score
- First Language
- Primarily Uses
I am having an issue when text is specifically displayed "centered" in a window.
This does not affect any text that is displayed normally (left to right or right to left).
How my font is supposed to look:
View attachment 225524
How it looks when it's centered in certain windows.
View attachment 225523
This isn't an issue of fullscreen scaling btw. It is the same effect when in it's tiny native resolution window, I just used fullscreen images to show the effect up close. Here's native res screenshots:
View attachment 225526
View attachment 225527
It kind of stretches each letter horizontally for some reason, making them look stuck together. Using the plugin parameters to space the font more only helps it not look stuck together, but still looks funky. Is there a way to get around this? I could for the most part make the text not be centered but there are certain windows and things that automatically center text within the engine and it looks a bit distracting.
Thanks for the info!Yeah it's any menus that the text is centered by default. It also ofc happens to any text I set to centered myself. If displayed from left to right, no issue at all.
I used my clean test project, and turned off yanfly plugins just in case (the only plugins I usually test with). Same issue:
View attachment 225592
Hi there!I tested this using the title screen on a fresh new project.
As you can see the name "Test Project" is a bit messed up with the scaling. Weirdly, when I wrote a much longer title to test it out, it displayed perfectly. As well as doing just "Test" worked normally. Seems to be some weird scaling issue with short to medium amounts of text that is centered I guess? IDK what up with that:
View attachment 225804
Here's the project:
Well, I tested here, and everything seems fine to me.You've been approved to view it now.
Look how the "Equip" command is:I used my clean test project, and turned off yanfly plugins just in case (the only plugins I usually test with). Same issue:
And the title screen:Seems to be some weird scaling issue with short to medium amounts of text that is centered I guess? IDK what up with that:
No need to be sorry!Oh, that equip you compared is from a different window with centered text btw.
But anyway, the NW.js stuff might be my problem. I updated it to 0.49.2 (this version specifically to make sure I got steam achievements down) before working on our game, totally forgot it affects every project I make.
Welp, probably just an incompatibility issue with that. I heard that it can affect small stuff like that, the tutorial I used they said they used a certain version and it made their text appear slower.
Though... if that's the case I wonder if it's just an issue *in* the project. Gonna export a build and share it to the other devs and see if it has the same issue. Either way though, guess I just have to work around it!
Sorry for bugging you about this issue!!
So let's try to figure this out.I did change it around. Same results as before.
So let's try to figure this out.
If you remove Visustella plugins(or any plugin that is not mine), the bitmap font works as it should?
If Yes, then is a compatibility issue.
My guess is they created/changed the Sprite Name that is used to draw the Battle Actor Status.
Can't know for sure, since their code is obfuscated. So it's just a guess.
So there is nothing more I can do. If the code was open I just have to open the plugin file and see the issue.
You can try to tweak their plugin parameters since I know there is a lot, so maybe you find the answer there.
Or you can try talking to them and see if they can take a look at it. Even if you have the Pro version of my plugin, you can show it to them.
If not, then you can send a sample project to me replicating the issue, so I can take a look at it.
Also have a suggestion for gradient fonts like in RPG Maker 2000/2003. Unless I can do that already...InvalidStateError
Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.