I've noticed these larger icons in my coding all lack density except for one 32x32 square. some are large doors so i cant just use filler density turf. plz help
im kind of new to byond coding so youll have to bear with me, but im still not getting it. Is there a way to make the entire width of my door dense or do i have to preset everything to 64x64? but then wouldnt my smaller icons have 64x64 density/opacity
Also, I'm using pixel movement, but everything is in multiples of 32 |
Next to where you've set the door's density to 1, create a new line and change the bound_width variable to equal 64. That will change the invisible bounding box around the door so that it's 64 pixels wide. Example: obj/Door //defines the door |
In response to Legacy of Caine
|
|
Thats what I tried after Lige's post. Still no difference.
|
In response to Legacy of Caine
|
|
Yeah after lige mentioned the bound_width we tried throwing it in just like density, opacity, etc but no luck. Still only a 32x32 piece thats dense and opaque.
|
Can you copy and paste what exactly you put? Because that should definitely work unless you've got something conflicting with it. Do you have two instances of the same door in the code or anything? Are you using a character icon that isn't properly aligned or anything that would effect it?
|
In response to Legacy of Caine
|
|
Heres my entire source. Not much since i started last night
world/mob = /mob/M |
If you're using tile movement, make sure to use multiples of world.icon_size when setting the values, otherwise it'll kick in to pixel movement.
If you're using pixel movement, don't forget to set bound_x and bound_y when needed.