So I rotated all of my layers except the GUI layer by 180�. I also have a sprite that should be at mouse x,y.
So I got this math (LayoutWidth is the same as WindowWidth, LayoutHeight is several times bigger than WindowHeight with a constant Y scroll from LayoutHeight towards 0):
Sprite set position to
X = LayoutWidth-Mouse.X
Y = (LayoutHeight-WindowHeight)+(LayoutHeight-Mouse.Y)
The scroll is -0.10px every tick, and with that the difference between the mouseY and SpriteY gets bigger and bigger every tick.
What part am I missing here?