I’m making a flash game that will be 700×500 when you begin to play, but will have a full-screen mode option that players can choose from an options menu. I’m currently using the line:
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
It’s working for the most part, but I can see beyond the right and left borders of my game (because my monitor is a different aspect ratio than the specified browser window).
I tried putting a mask around everything to avoid seeing this overlap, but I have noticed a major blow to performance.
Are there any good alternatives to use when trying to make a bounding box around the game window? I thought of putting a black border around everything just using a sprite, but I wanted to see if there is a less messy way to do it.