01-11-2012, 05:12 AM
I'm sorry, I sort of understand but how would I use this?
resize("icon name", true)
How does it know what size to switch to?
NVM let me figure this out! :) I've been trying to teach myself.
Thank you!
Ok, so I've been here... trying to figure this out. This is the new method.
It just comes up blank now.
resize("icon name", true)
How does it know what size to switch to?
NVM let me figure this out! :) I've been trying to teach myself.
Thank you!
Ok, so I've been here... trying to figure this out. This is the new method.
Code:
if item == nil
return
end
self.contents.font.color = normal_color
#self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 16, 16))
bitmap = RPG::Cache.icon(item.icon_name)
rect = Rect.new(0, 0, 16, 16)
icon = Rect.new(0, 0, 16, 16)
bitmap.stretch_blt(rect, bitmap,icon)
self.contents.draw_text(x + 20, y, width-80, 16, item.name)
It just comes up blank now.
My partner in crime = TREXRELL