Full Screen Mode
by Jon (Updated on 2015-10-17)
- How To: Switch to Full Screen Mode
- How it Works
- What if I don't want to use the high-res graphics?
As the name implies, Full Screen Mode fills the entire screen (or most of it) with your app, providing a more immersive experience.
Stencyl supports full screen mode for Flash and Desktop (Windows, Mac, Linux) games.
Note: For mobile games, the Full Screen scaling mode is discussed in our App Scaling article.
How To: Switch to Full Screen Mode
Use the block under Scene > View to switch between windowed and full screen mode.
Note: Alternatively, you can instruct a game to begin in full screen mode through Settings > Web > Start in Full Screen? and Settings > Desktop > Start in Full Screen? respectively.
How it Works
By default, full screen mode will use a game’s hi-res graphics to draw to the screen, up to a maximum of 4x. It will pick the closest match (rounded down) and letterbox the result, identical to the No Scaling (Letterboxing) mode for mobile apps.
These are the same graphics used for the mobile variants of the game, as described in our App Scaling article.
For example, if your game’s base resolution is 480 x 320, and your screen’s resolution is 1024 x 768, the game will scale to 2x (960 x 640).
What if I don't want to use the high-res graphics?
If you are OK with scaling up your game directly from its 1x (standard resolution) graphics versus the hi-res graphics, configure the following settings under Settings > Web and/or Settings > Desktop.
|Scale Mode||Scale to Fit (Letterbox)|
|Scales||Only check off 1x|
|Start the game in full-screen||Yes|
Print Article Edit Article How to Edit an Article
Why would a game want this? This is particularly useful for retro-like games and has the main benefit of reducing the file/download size of the game.
Is the screen gets rezised.
Is there some way to detect if fullscreen is active? (even if I have to write custom code to do it)
Thanks !!!! This help me a lot.
This is so amazing i can't believe how much this helped me the screen is like bigger!