I'm trying to put my game into an iFrame.
But The iFrame I'm trying to put it in have a different Size Ratio so I'm seeing a black boarder to the sides (or Top and Bottom, base on width and height).
How can I get rid of those black sides without setting the Window Size in Construct 2? I want to put them inside different type of iFrame sizes.
Develop games in your browser. Powerful, performant & highly capable.
I would turn that concept around.
You are trying to shape the game screen to your iframe.
After exporting, change the CSS in the index.html file to make the iframe the same ratio as the project viewport.
If that is not an option, the best approach to get rid of borders is by using scale outer.