1
Graphics / Re: Sprites not positioning the way I established
« on: December 22, 2017, 12:40:02 am »float x = sizeEdge + ((currentSquare - 1) * (sizeRectangle + sizeMargin));
float y = sizeEdge + (r * (sizeRectangle + sizeMargin));
sprites[i++].setPosition(Vector2f(x,y));
currentSquare += 2;
float y = sizeEdge + (r * (sizeRectangle + sizeMargin));
sprites[i++].setPosition(Vector2f(x,y));
currentSquare += 2;
Try this and tell me if it is working as you wish, I can't really test it so I am not sure if it is right.