Hey fellas.
I'm still working on understanding RMMV and how it works.
I want to make more custom windows but this time I want to control the selecting.
My goal is to make my current script into an icon only script. Why? well...for practice and maybe it will work well for an android game.
I've managed to expand the size of an icon. not stretch it but expand the pixels from 32 to 64.
of coarse it now shows 4 icons but that's ok. I'll Fix it later.
the selectable box behind it is still regular size. I changed some code around and got the cursor rect to get bigger but i cant click it still. i need to click where the original row was.
I found another method which allowed me to do as I wanted but all text was screwed up.
Here's a failed image of my attempt. Any Ideas?
(http://i1281.photobucket.com/albums/a520/KiwakiwaR/failed_zpsiodnivf9.jpg)
The cursor is drawn in each of the windows differently depending on the item being selected. You can isolate a function that resembles the original but adjust the rectangle value.
Check this part:
Window_Selectable.prototype.itemRect = function(index) {
var rect = new Rectangle();
var maxCols = this.maxCols();
rect.width = this.itemWidth();
rect.height = this.itemHeight();
rect.x = index % maxCols * (rect.width + this.spacing()) - this._scrollX;
rect.y = Math.floor(index / maxCols) * rect.height - this._scrollY;
return rect;
};
look at how rect.width is being drawn. It is drawn based on the width of the item it is being selected at.