Icons 24x24 rmmz

Hello, my question is the following, since I have searched in the rmmz code for the size for the icons, in rmmz_managers.js and I have changed it from 32x32 to 24x24.

The issue is that it is not correct, the arrangement of icons is outdated and when you choose 1, you see parts of another.

Do I need to edit another line in another internal plugin? since the measurement is apparently 512 px wide, but with the vxace iconset it is 384 px wide and it is not exact.
Thank you.
You can do it manually, by using a program, which can give you a grid for the 32x32 size or using squares, then align your 24x24 in that grid.
Theoretically, you have a 32x32 pixel size, but with a 24x24 inside...
The icons just gonna be weirdly spaced from each other.
You can do it manually, by using a program, which can give you a grid for the 32x32 size or using squares, then align your 24x24 in that grid.
Perhaps I'm not understanding you - I don't see how that will change any of the display areas in the game to fit a 24x24 icon without it displaying extra space.

I have searched in the rmmz code for the size for the icons, in rmmz_managers.js and I have changed it from 32x32 to 24x24.
You should never change code directly in the core scripts. You should always copy any changed code into a new file and include it as a plugin.

So you should make a separate *.js file that redefines:
Code:
ImageManager.iconWidth = 24;
ImageManager.iconHeight = 24;

The issue is that it is not correct, the arrangement of icons is outdated and when you choose 1, you see parts of another.
You can't change the editor with plugins. All of the JS code only runs when you start a game.

You will have to have one iconsheet at the expected size that you use for selecting icons in your database entries; then you have a second one that your game loads at the smaller size.

You can rename your VX Ace file to IconSet24 and include the following functions in your plugin:
Code:
Scene_Boot.prototype.loadSystemImages = function() {
    ColorManager.loadWindowskin();
    ImageManager.loadSystem("IconSet24");
};

Sprite_StateIcon.prototype.loadBitmap = function() {
    this.bitmap = ImageManager.loadSystem("IconSet24");
    this.setFrame(0, 0, 0, 0);
};

Window_Base.prototype.drawIcon = function(iconIndex, x, y) {
    const bitmap = ImageManager.loadSystem("IconSet24");
    const pw = ImageManager.iconWidth;
    const ph = ImageManager.iconHeight;
    const sx = (iconIndex % 16) * pw;
    const sy = Math.floor(iconIndex / 16) * ph;
    this.contents.blt(bitmap, sx, sy, pw, ph, x, y);
};
Perhaps I'm not understanding you - I don't see how that will change any of the display areas in the game to fit a 24x24 icon without it displaying extra space.

My thoughts about his problem, was the issues, which some wrong sized resources have, leading to over bound, so pixels from another sprite beside it, appears on the other one.

That what I understood. A simple solution to fix it without any plugin, would be just editing the iconset. Respecting the actual grid size even if you working one with less pixels.

Original thread: https://forums.rpgmakerweb.com/threads/icons-24x24-rmmz.168253/