I'm trying to create an application supporting multiple screen sizes with a 1920*1080 background (which is not tilable). To do so I use the scale mode of construct 2. This mode works perfectly but if the window does not have the right ratio (width/height), we can see a blank rectangle on the left or at the bottom (it depends on the ratio) of the browser window.
So y tried to resolve that by resizing the background in order to adapt it to the window in the best way (with a screen ratio based calculation on every tick). It's better but not enough.
If someone has an idea about how to do that or to correct what I made, I am listening.
Here is the capx file :