2011-08-10, 10:32
I usually tend to make all my skin design in photoshop before i code.
So i lay everything perfectly in pohotshop then break up all the images etc.
So when i start to code up elements i know exactly where i want my images X Y coords. However the skinning engine always meassures all textures from the left and top of all images when placing them.
Is there any way to change this behaviour so that the skinning engine
places images based on it's absoulute center coords instead ?
This would be very useful when it comes to placing stuff correctly/fast and also easier when in comes to animations etc.
Does anybody understand what i'm trying to say or am i just weird in the way i design ?
So i lay everything perfectly in pohotshop then break up all the images etc.
So when i start to code up elements i know exactly where i want my images X Y coords. However the skinning engine always meassures all textures from the left and top of all images when placing them.
Is there any way to change this behaviour so that the skinning engine
places images based on it's absoulute center coords instead ?
This would be very useful when it comes to placing stuff correctly/fast and also easier when in comes to animations etc.
Does anybody understand what i'm trying to say or am i just weird in the way i design ?