- Nov 4, 2018
- Reaction score
- First Language
- Primarily Uses
Sharp Text v0.94 beta
I'm working on a bleep-bloop retro style game, and was annoyed at how blurry the text looked. Any size, any resolution, any CSS options; the UI Text just looked sad. It's not really an engine flaw either; just a symptom of how HTML5 canvas renders text. This attempts to fix that, mostly though the magic of ImageData.
Removes the Anti-aliasing on all text in the game.
How to Use
Simply install to your plugins folder and turn it on in the Plugin Manager. This plugin should almost certainly go at the top of the list; we are changing how the base engine performs a DrawText function.
This is a beta so things might lag, look terrible, or generally not work! To improve visuals it may be necessary to change the Font Size up or down slightly from the System 2 tab, Advanced Settings block.
Please use this thread to notify me of any issues, or to make a feature request.
It's now (more) compatible with MV! It seems to misbehave at smaller text sizes though.
There are now options to adjust how many pixels are trimmed off the text (something like font thickness) as well as an option to leave the text outline as standard.
Centering text will now attempt to draw on the nearest pixel, to make the text as sharp as possible.
This plugin is released under the MIT License.