Hi everybody,
I have a small problem with aligning a sprite (view entity) exactly to the camera. At first I tried finding out the appropriate x value by manually setting them and then I adjusted the sprites scale_x value with screen_size.x / screen_size.y.
Now my problem is, that this works perfectly in windowed mode but fails in fullscreen mode for the same resolutions I used in the windowed mode. I have a 5:4 1280:1024 monitor. video_aspect is always 1.25. camera.arc is at its default value. camera.aspect is always 1. Which variable did I forget to check?
Or is there a formula that allows to calculate the correct x and y scale values for the sprite with respect to the selected resolution?