01-11-2012, 03:07 AM
Hey, I was just wondering how I would shrink an icon. I have this right now:
It makes the area 16x16, but the icon is still normal sized.
Code:
bitmap = RPG::Cache.icon(item.icon_name) self.contents.font.color = normal_color self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 16, 16)) self.contents.draw_text(x + 20, y, width-80, 16, item.name)
It makes the area 16x16, but the icon is still normal sized.
My partner in crime = TREXRELL