ID:167679
 
For some reason, I can't seem to be able to adjust the pixel offsets of a screen object.

obj
screenface
screen_loc = "2,3"
New(client/C, I)
src.buildbig(I)
C.screen += src
src.pixel_y -= 32
src.pixel_x -= 3


Where I is an icon. buildbig() is a proc that adds overlays (the overlays have a pixel offset, which do work). But after that, I can't get the src.pixel_y -= 32 or the src.pixel_x -= 3 bits to work.

Any help?
Pixel offsets don't apply to screen objects.

Annoying, huh?
In response to Jp
Yesh they do!


Like, so.

obj
hudpeice
screen_loc= = "10:5,1:25" // the number after : designates the pixel offset
...
In response to Cheetoz
...

Cheetoz, will you have my babies? I've wanted to be able to do that for so damned long...
In response to Cheetoz
Ok, that just does freaky stuff.

This is it without the offsets.



And this is it with the offsets.



And that's literally from doing this:

screen_loc = "2:-6,3:-16" //used to be screen_loc = "2,3"
In response to DeathAwaitsU
Goku is sticking out his tongue! OMG!
In response to Jp
Despite what I just said, it's a layer issue which I've now fixed. Thanks for the help guys.
In response to DeathAwaitsU
*cries about the dbz game*
Well, atleast it's origonal.
In response to Flame Sage
OMG NOT ALNOTHER DBZ WHY MUST YOU TORTURE ME!!!!!!!!