ID:160490
Sep 1 2008, 3:17 pm
|
|
Can Scale proc enlarge an icon..I've tried all sorts of things and it hasnt worked. IT just gets smaller
|
Sep 1 2008, 3:20 pm
|
|
http://www.byond.com/members/ DreamMakers?command=search&text=scale&type=resources
|
Enlarging the icon, like it says in the reference, creates new icon states ("state 1,1", "state 1,2", etc).
|
In response to Kaiochao
|
|
Ingame would you be able to enlarge it though?
Guessing not huh..? |
In response to Choka
|
|
Yes, of course you can. You just have to account for the method it uses to resize the icon (splitting it into multiple icon_states). Search the forum for 'Scale(' and you should get some helpful results.
|
In response to Nadrew
|
|
So wait is there a way to make BYOND not cut the size of a file like..A PNG thats 75x75 maybe could you make it full size without dicing it up into pieces?
E.G: You can place an object on the map and it will display full size but....You cant make it so that it comes as new() or else it will reduce it to 32x32. Is there a way around that besides piecing them together? |
In response to Choka
|
|
When you place such an atom on the map it is split to multiple parts too, just it's automatically done by the map editor. It in fact lays on the map multiple objects with different icon_state values, not one object.
There's no way, other than visual stuff like pixel-offsetted overlays or images, to really have a single atom span multiple tiles. BYOND just works that tile-based way. That's not to say it large map objects can't be accomplished, they just need to be emulated properly by multiple objects. |
In response to Kaioken
|
|
I've been doing that but i have to make like 400+ of them so i was wondering if my life could be much easier
|
In response to Choka
|
|
You could have your code automatically handle creating the parts by overriding New() to do it when it is created. Then you only need to lay that one part on the map and it will automatically "expand" after created.
|
In response to Kaioken
|
|
Oh yes i was thinking about that at school but completely forgot.
|