proc/make_dark_mark(mob/M,objtype,cx,cy,cz,xsize,ysize)
set background = 1
var/obj/Z
var/xl = 0
var/yl = 0
while(1)
Z = new objtype(locate(cx+xl,cy+yl,cz))
Z.icon_state = "[xl],[yl]"
Z.pixel_x = 6 // THIS CAUSES THE PROBLEM
yl+=1
if(yl>ysize-1)
yl = 0
xl += 1
M.ObjGrid += Z
if(xl<xsize) continue
break
Problem description:
The above proc works perfectly fine, but to control the exact position of the final image (and align it as i wanted) i added a pixel_y / pixel_x arguments. This is when some funky visual artifact showed up.
Its not an out of place object or something. It's a series of lines that follows you around over the object, and makes parts of it vanish.... and im wondering if this is an error with my code (and if it is im confused as to what exactly i did wrong....) or a bug with BYOND itself.
I have made a video to demonstrate this properly, as its hard to explain fully. BYOND issue or somethign im doing wrong?
http://www.youtube.com/watch?v=qkiGsWe0S3k