I have a problem with rmvx. I got myself an icon sheet that is 436x360 and has 16x16 icons. Since vx's default Icon size is 24x24 I can't seem to get mine to display properly. I found this script in Window_Base that lets me change around the numbers.
I have tried different combinations and they seem to change the way the icons are displayed, but since I don't know what the numbers stand for I can't seem to find the right combo. Any ideas?
Code:
def draw_icon(icon_index, x, y, enabled = true)
bitmap = Cache.system("Iconset")
rect = Rect.new(icon_index % 16 * 24, icon_index / 16 * 24, 24, 24)
self.contents.blt(x, y, bitmap, rect, enabled ? 255 : 128)
end
I have tried different combinations and they seem to change the way the icons are displayed, but since I don't know what the numbers stand for I can't seem to find the right combo. Any ideas?