ID:143158
 
Problem description:

Okay well, I made a 1x2 mob icon in Paint, copied it and pasted into a dmi. It separated the mob into 2 pieces, top and bottom. I changed the necessary icon_states and now the icon doesn't appear at all when the game runs (the bottom part at least should as thats the mob part). I can click them (mob/Click() world << src.name) it displays the name to the world, but still nothing.

I have a verb switching the mob's icon_state to the proper one, but still nothing appears. I've done a clean compile too.

Has anyone has this happen to them? Would it be part of pasting from paint thats causing this error? I've switched back to the former icon holder and they work fine. :(


Occurred to me now; this thread probably would've made a better home in Developer How-To.
Mechanios wrote:
Problem description:

Okay well, I made a 1x2 mob icon in Paint, copied it and pasted into a dmi. It separated the mob into 2 pieces, top and bottom. I changed the necessary icon_states and now the icon doesn't appear at all when the game runs (the bottom part at least should as thats the mob part). I can click them (mob/Click() world << src.name) it displays the name to the world, but still nothing.

I have a verb switching the mob's icon_state to the proper one, but still nothing appears. I've done a clean compile too.

Has anyone has this happen to them? Would it be part of pasting from paint thats causing this error? I've switched back to the former icon holder and they work fine. :(


Occurred to me now; this thread probably would've made a better home in Developer How-To.

No ive neva experienced this with paint, Although you copied and pasted an icon from paint it should still work on byond fine because ive done this many times. Which version of byond are you using ? Maybe you mis pasted or something.
You are dealing we multi-tiled stuff if it's 1x2. You will want to use pixel_y or pixel_x offsets and add the icon to the overlays.
In response to Kakashi24142
I know how to multi-tile atoms. :p And I know how to manipulate pixel_x/y too. I've come up with the problem of the problem: layering.

It's even odder that I have mobs as the highest level, yet they still appear under the map. Both in game and on the map editor. =(