Dear all, could you help me in the following:
I want a sprite to be placed always at the right side of the layouts (their size are different) in my game, but I cant figure out how to get the correct X. Size of the layouts could be larger than window sizes.
1) x = LayoutWidth
2) x = CanvasToLayerX(LayerBackground,LayoutWidth,layoutHeight / 2);
3) x = LayerToCanvasX(LayerBackground,LayoutWidth,layoutHeight / 2);
but all i vain, the sprite is always far away from the desired position
Will be very gratefull,