Trilobytes MZ: Gradient Text Extensions
A downloadable plugin
RPG Maker MZ provides you with some powerful options for controlling your font and text size, but...don't you sometimes think it's not quite colourful enough? Well Trilobytes has you covered, because now you can add gradients to text!
Please note that due to the character-by-character nature of how the message window works, this isn't applicable to messages or the drawTextEx function. It's mainly for plugins which use drawn text.
If I can figure out a good way to incorporate it into messages I will add this functionality in a later update. Suggestions to that end are welcome.
Features
- Draw text with gradients
- Supports options for drop shadows, bolded text, outline gradients, angle, and more!
- Adds a lineSpacing property for finer control over space between characters
- Control opacity of text, drop shadow and outline separately
Current version
1.12
Changelog
Version 1.12:
- Rearranged functions to have new ones first, fixed some help text.
Version 1.11:
- Added help for letterSpacing.
Version 1.10:
- Changed default value for letter spacing to 0.
Version 1.09:
- Fixed a bug where letter spacing in bitmaps other than window contents wasn't properly being passed.
- Added an applySpacing function to compensate for letter spacing when drawing to a bitmap other than window contents.
- Added version number to description.
Version 1.08:
- Moved letterSpacing to be a property of Bitmap, implemented default.
Version 1.07:
- Refactoring, addition of comments, added help section and TOS.
Version 1.06:
- Moved proprietary level-drawing function to the plugin it was for.
- Added letterSpacing option to gradient text and regular text drawing.
Version 1.05:
- Major refactor to eliminate redundant and repetitive code.
- Redesigned code for gradient stops to dynamically handle any number of colours.
- Added support for separate opacity options for outline, body and shadow.
Version 1.04:
- Made several bug fixes ahead of eventual refactoring work.
- Added a dedicated function for drawing level due to the outline gradient requirements.
Version 1.03:
- Incorporated double calls into these functions to avoid repetition.
- Added experimental option for drawing the level text as its gradient isn't coming out right.
Version 1.02:
- Implemented an options object.
- Fixed a bug with transparency.
Version 1.00:
- Finished plugin!
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.