diagonal
float posx = x * 2 + 16;float posy = x * 2 + 16;
It'd help if you gave us a link to your code.