An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

TM Bitmap Ex - TMBitmapEx.js

Plugin desc : Adds the ability to draw rounded rectangles and stars.

License : MIT License

Author : tomoaky

Desc page : https://github.com/munokura/tomoaky-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/refs/heads/master/TMBitmapEx.js

File name : TMBitmapEx.js

Help of plugin :

@plugindesc Adds the ability to draw rounded rectangles and stars.
@author tomoaky
@url https://github.com/munokura/tomoaky-MV-plugins
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/tomoaky-MV-plugins ).
Original plugin by tomoaky.
-----
TMPlugin - Bitmap Extension ver. 2.0.2

How to Use:

This plugin changes the shape of the HP and MP gauges to rounded rectangles.

It also adds several methods to Bitmap.

There are no plugin commands.

This plugin has been tested with RPG Maker MV Version 1.5.0.

This plugin is distributed under the MIT License and is free to use for commercial purposes, modifications, and redistribution.

Added methods (Bitmap):

fillRoundRect(x, y, width, height, radius, color)
Draws a rounded rectangle with coordinates (x, y) at the top left, width, and height.
The radius parameter specifies the radius of the rounded portion, and the color parameter specifies the fill color.
Example: bitmap.fillRoundRect(0, 0, 200, 48, 6, '#000000');

gradientFillRoundRect(x, y, width, height, radius, color1, color2, vertical)
Draws a rounded rectangle with a gradient. If vertical is true,
the gradient will be oriented vertically.

fillStar(x, y, width, height, color)
Draws a star with the coordinates (x, y) at the top left and inscribed within the range of width and height.
Example: bitmap.fillStar(0, 0, 48, 48, '#ffff00');

gradientFillStar(x, y, width, height, color1, color2, vertical)
Draws a star with a gradient. If vertical is true,
the gradient will be oriented vertically.

Additional Plugin Parameters:

gaugeReduction
The reduction size is set in dots.

cornerRadius
If this value is 0, the gauge's rounded corners will be disabled.

minGaugeRate
To avoid display distortion when the rounded gauge is too short, the gauge will not be shorter than the length
set here.
The actual lower limit is determined by multiplying the cornerRadius value by this value.
The default value of 1.5 should generally be fine, but adjust it if the display looks strange.

@param gaugeHeight
@desc Thickness of the rounded corner gauge. Default: 18
@default 18
@type number

@param gaugeReduction
@desc The size of the gauge itself, leaving the gauge background as is. Default: 2
@default 2
@type number

@param cornerRadius
@desc Radius of the rounded corners of the rounded gauge. Default: 6
@default 6
@type number

@param minGaugeRate
@desc The minimum length of the rounded corner gauge (factor of cornerRadius). Default: 1.5
@default 1.5
@type string

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.