I’ve recently begun using the UPBGE again, and almost immediately ran into two problems from the editor:
Problem # 1 )
Launching the game in fullscreen at 1920x1080, UPBGE rotates the camera 90° and alters the target resolution.
The target resolution becomes 1025x1280
If I invert the resolution to 1080x1920 then it does indeed output at the correct resolution, but the image is still rotated.
I’m running a dual monitor setup, the main is running at 3840x2160 in landscape mode, and the secondary at 1080x1920 in portrait mode. The Secondary monitor is to the left of the main monitor, and this is reflected in the windows display settings.
The image is outputted to the main monitor as expected, but the output is strange.
I thought I might get it to work by simply disabling the second monitor as a quick but annoying fix, but it had no effect. Thougths?
Problem # 2 )
I can’t for the life of me get the UPBGE render.drawLine function to work with alpha values.
The new drawLine function takes [r,g,b,a] as parameters for colour, but it just does nothing >__<
Thanks for taking the time to read, buh-bye!