ID:175997
 
I need to move the pixel offsets in a differant direaction.
Like if I face north I need the pixel offset ot be pixel_y=-32 and If I face east pixel_x=-32 and wes is pixel_x=32 and north should be pixel_y=32. Please Help me with this!!!
Coolroman123 wrote:
I need to move the pixel offsets in a differant direaction.
Like if I face north I need the pixel offset ot be pixel_y=-32 and If I face east pixel_x=-32 and wes is pixel_x=32 and north should be pixel_y=32. Please Help me with this!!!

You can't make them direction-dependent, but you can make a proc to deal with this.
proc/SetOffsets()
if(dir & EAST) pixel_x = -32
else if(dir & WEST) pixel_x = 32
else pixel_x = 0
if(dir & NORTH) pixel_y = -32
else if(dir & SOUTH) pixel_y = 32
else pixel_y = 0

Lummox JR
In response to Lummox JR
How would I implement this like with a certain icon