MWENDITZ'S PROFILE

Search

Filter

Font Texture

author=coelocanth
author=mwenditz
Is there a way to have this plugin only change the font in the dialogue window? Maybe some easy way? (I've been working on a retro style game and I can get away with using the stock fonts for the menu system, but I'd love to get the pixelated fonts working just for dialogue.
Possibly by adding a property to Bitmap to switch between whether it uses the new functions or original functions to draw text.

let _Bitmap_drawText = Bitmap.prototype.drawText;
Bitmap.prototype.drawText = function (text, x, y, maxWidth, lineHeight, align) {
if(!this.useBitmapFonts) {
return _Bitmap_drawText.call(this, ...arguments);
}

Then in Window_Message, override createContents() to turn that flag on
Window_Message.prototype.createContents = function() {
  Window_Base.prototype.createContents.call(this);
  this.contents.useBitmapFonts = true;
}

Something like that

Thank you very much for your reply, I'll see what I can do. appreciate it!

Font Texture

Is there a way to have this plugin only change the font in the dialogue window? Maybe some easy way? (I've been working on a retro style game and I can get away with using the stock fonts for the menu system, but I'd love to get the pixelated fonts working just for dialogue.

Font Texture

author=coelocanth
author=mwenditz
The generator posted above appears to only support specific fonts that are installed on your machine, and only those that it can autocomplete (hardcoded in the app itself). Is there any way to use this utility with other fonts? Or is the only option to manually create that json file? Thank you for any insight!
They do need to be installed on your machine, unless you download and self host the generator - in that case you could use the css @font-face to make the font available to the page without installing.
I found it worked for me for any installed font, though the autocomplete of names did not work. You might need to make sure you're using the name of the font (and not it's filename)

The Sapphire example on this page I created by installing the font and then using that generator, so it was working at least at the time I used it.

I actually got it working by trying a few things. The app itself is a little tricky. You have to install your font first. Then make sure you type the name in (the one that shows up at the top when you go to the font settings on a windows machine and click on the font). It won't generate the actual .png until you click on a radial button. So click something and it should work. That worked for me. Thank you again for your help, can't wait to try this plugin out!

P.S. Like the author said, it only works in firefox. Not chrome.

Font Texture

The generator posted above appears to only support specific fonts that are installed on your machine, and only those that it can autocomplete (hardcoded in the app itself). Is there any way to use this utility with other fonts? Or is the only option to manually create that json file? Thank you for any insight!
Pages: 1