Letterboxing Problem - AGS v3.4.0

Started by CTxCB, Tue 07/02/2017 08:04:36

Previous topic - Next topic

CTxCB

Hi all, I'm probably just missing something or really stupid, but I've looked through the settings of my game... I've tried everything I can but still when I launch my game at 1920 x 1080, there's a HUGE amount of letterboxing on the top and bottom but not the sides. How can I fix this?

Crimson Wizard

#1
When you run game setup (compiled as winsetup.exe for your game, or run Build->Run game setup) there is "Scaling" option, which lets you choose between "Max round multiplier", "Stretch to fit screen" and "Stretch to fit screen keeping aspect ratio".
Max round multiplier finds maximal round (integer) multiplier which fits into screen.
Stretch - stretches the game to whole screen, but this may cause image distortion if the game size's aspect ratio is different from your monitor's
Stretch keeping aspect ratio - stretches the game to touch at least either vertical or horizontal borders keeping game's aspect ratio. This will help to avoid distortion, but may still leave black borders.

If you have already chosen "stretch (keep aspect ratio)", but still have too much of black borders, there is nothing else that you can do really. If AGS were a tiled 2D engine, or 3D game, you could display more or less of the gameplay area depending on aspect ratio, but AGS features fixed-sized 2D rooms.

I'd think that there could be ways to support different aspect ratios by providing optional parts in your room that may be shown only if the game does not fit whole screen, or an option to make the room scrollable in that case, but AGS currently does not have such function.

CTxCB

Quote from: Crimson Wizard on Tue 07/02/2017 08:26:30
When you run game setup (compiled as winsetup.exe for your game, or run Build->Run game setup) there is "Scaling" option, which lets you choose between "Max round multiplier", "Stretch to fit screen" and "Stretch to fit screen keeping aspect ratio".
Max round multiplier finds maximal round (integer) multiplier which fits into screen.
Stretch - stretches the game to whole screen, but this may cause image distortion if the game size's aspect ratio is different from your monitor's
Stretch keeping aspect ratio - stretches the game to touch at least either vertical or horizontal borders keeping game's aspect ratio. This will help to avoid distortion, but may still leave black borders.

If you have already chosen "stretch (keep aspect ratio)", but still have too much of black borders, there is nothing else that you can do really. If AGS were a tiled 2D engine, or 3D game, you could display more or less of the gameplay area depending on aspect ratio, but AGS features fixed-sized 2D rooms.

I'd think that there could be ways to support different aspect ratios by providing optional parts in your room that may be shown only if the game does not fit whole screen, or an option to make the room scrollable in that case, but AGS currently does not have such function.
Thanks, I didn't think about compiling the EXE and going through it's inbuilt Game Setup Tool, I presumed it'd be part of the Game's settings. Everything regarding scaling is fine now, no letterboxing to make the game look like a 4:3 Movie being played on a 16:9 TV. :P

Crimson Wizard

Quote from: CTxCB on Tue 07/02/2017 10:22:01
Thanks, I didn't think about compiling the EXE and going through it's inbuilt Game Setup Tool, I presumed it'd be part of the Game's settings.

These options belong to player's personal settings rather than designer's, so they are read from config file (acsetup.cfg) and may be changed by anyone playing your game to their own liking.
If you ship acsetup.cfg with your game, it will be used as default config.

SMF spam blocked by CleanTalk