Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Resolved] Shrinking an Icon
#1
Hey, I was just wondering how I would shrink an icon. I have this right now:

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.
Reply }


Messages In This Thread
[Resolved] Shrinking an Icon - by Yin - 01-11-2012, 03:07 AM
RE: Shrinking an Icon - by DerVVulfman - 01-11-2012, 04:57 AM
RE: Shrinking an Icon - by Yin - 01-11-2012, 05:12 AM
RE: Shrinking an Icon - by NightOwl - 01-13-2012, 12:00 AM
RE: Shrinking an Icon - by Yin - 01-13-2012, 06:02 PM
RE: Shrinking an Icon - by Victor Sant - 01-13-2012, 09:33 PM
RE: Shrinking an Icon - by Yin - 01-26-2012, 11:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Icon Display 1.0 scripts makes events impossible to go to events, which are passable Djigit 0 3,610 01-03-2015, 09:11 PM
Last Post: Djigit
   [Resolved] DerVVulfman Animated Battlers - Physical attacks result in looping Samven 2 5,721 07-07-2012, 10:56 AM
Last Post: Samven
   Icon next to ennemy name in battle ? mageone 6 8,006 10-09-2009, 04:57 PM
Last Post: mageone
   [Resolved] Equipment Scene Problem Yin 4 6,592 08-29-2009, 11:01 PM
Last Post: Yin



Users browsing this thread: