ID:1616190
 
Anyone here know how to center or resize an icon for byond because now it seems most of my icons won't work.
I don't know what this means, but it should probably be put in Developer Help.

If you're looking to resize an icon at runtime, you can check out icon.Width() and icon.Height()
In response to Lavitiz
Lavitiz wrote:
I don't know what this means, but it should probably be put in Developer Help.

If you're looking to resize an icon at runtime, you can check out icon.Width() and icon.Height()

That actually simply fetches the width and height returned in integers.

I meant Scale, I was high when I wrote that. Ops, sorry guys. <3 xoxo
I guess...this..helps, although I have no idea what those things mean
var/icon/I=new()
I.icon='Icon.dmi'
I.Scale(64, 64)
src.icon=I