Text Rotation
BMM_Archive · July 15, 2026
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Text Rotation
- Original author: Ganzimaro
- Original date: September 15, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/text-rotation.68347/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support
Summary
All the good times of the day. When create the interface was necessary to rotate the text, but the artifacts appear when it turning. Are there any ideas how to solve the problem? Code and a screenshot below. Spoiler
Archived First Post
All the good times of the day. When create the interface was necessary to rotate the text, but the artifacts appear when it turning. Are there any ideas how to solve the problem?
Code and a screenshot below.
Image rotate got without artifacts using the code:
Code and a screenshot below.
var FH_SceneMenu_create = Scene_Menu.prototype.create;
Scene_Menu.prototype.create = function() {
this.createBackground();
FH_SceneMenu_create.call(this);
this._commandWindow.x = 475;
this._commandWindow.y = 31;
this._statusWindow.x = 0;
this._statusWindow.y = this._commandWindow.height + 31;
this._goldWindow.x = 60;
this._goldWindow.y = 5;
};
Window_Gold.prototype.windowWidth = function() {
return 240;
};
Window_Gold.prototype.windowHeight = function() {
return 50;
};
Window_Gold.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
this.resetTextColor();
var bitmap = ImageManager.loadFakeHero("menu/MenuIcon");
var pw = 50;
var ph = 50;
var sx = 50 % 50 * pw;
var sy = Math.floor(50 / 50) * ph;
this.contents.blt(bitmap, sx, sy, pw, ph, x, y);
this.drawText(value, x + 65, y + 8, width - unitWidth - 6, 'left');
this.rotation = 0.2;
};
Scene_Menu.prototype.create = function() {
this.createBackground();
FH_SceneMenu_create.call(this);
this._commandWindow.x = 475;
this._commandWindow.y = 31;
this._statusWindow.x = 0;
this._statusWindow.y = this._commandWindow.height + 31;
this._goldWindow.x = 60;
this._goldWindow.y = 5;
};
Window_Gold.prototype.windowWidth = function() {
return 240;
};
Window_Gold.prototype.windowHeight = function() {
return 50;
};
Window_Gold.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
this.resetTextColor();
var bitmap = ImageManager.loadFakeHero("menu/MenuIcon");
var pw = 50;
var ph = 50;
var sx = 50 % 50 * pw;
var sy = Math.floor(50 / 50) * ph;
this.contents.blt(bitmap, sx, sy, pw, ph, x, y);
this.drawText(value, x + 65, y + 8, width - unitWidth - 6, 'left');
this.rotation = 0.2;
};
Protected download
Image rotate got without artifacts using the code:
Code:
this._Money_Sprite = new Sprite(ImageManager.loadFakeHero("menu/MenuIcon"));
this._Money_Sprite.x = 50;
this._Money_Sprite.y = 50;
this._Money_Sprite.anchor.x = 1.0;
this._Money_Sprite.anchor.y = 1.0;
this.addChild(this._Money_Sprite);
this._Money_Sprite.rotation = 0.2;
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...
