As of late 2021, we are in the process of updating Stencylpedia and fixing up outdated & broken content. Thanks for your patience!

36,013

Views

Beginner

Level

5

Comments

Full Screen Mode

by Jon (Updated on 2015-10-17)


Contents

  • Introduction
  • How To: Switch to Full Screen Mode
  • How it Works
  • What if I don't want to use the high-res graphics?

Introduction

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.

Toggle full screen mode block

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.

high-res graphics

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.

Setting Value
Scale 1x
Scale Mode Scale to Fit (Letterbox)
Scales Only check off 1x
Start the game in full-screen Yes

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.

Print Article Edit Article How to Edit an Article
Disclaimer: Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!

5 Comments

Chris24XD
Is the screen gets rezised.
0 4 years, 2 months ago
Marvin Megavolt
Is there some way to detect if fullscreen is active? (even if I have to write custom code to do it)
-2 8 years, 1 month ago
abhigc
Thanks !!!! This help me a lot.
1 8 years, 8 months ago
wm171903
^
-1 10 years, 7 months ago
Donut
This is so amazing i can't believe how much this helped me the screen is like bigger!
2 10 years, 7 months ago

Sign In to Comment