Difference between revisions of "Bobscreen"
From Sega Retro
Line 10: | Line 10: | ||
| 288 × 224 = 1 <!--Flashgal, appears to use square pixels.--> | | 288 × 224 = 1 <!--Flashgal, appears to use square pixels.--> | ||
| 384 × 496 = (372/384) <!--Vertical arcade (e.g. Gain Ground)--> | | 384 × 496 = (372/384) <!--Vertical arcade (e.g. Gain Ground)--> | ||
+ | | 248 × 224 = (320/248) <!-- PC Engine --> | ||
| 1 | | 1 | ||
}}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}} | ||
Line 26: | Line 27: | ||
| 352 × 200 = (264/200) <!-- Amiga --> | | 352 × 200 = (264/200) <!-- Amiga --> | ||
| 336 × 240 = (252/240) <!-- Atari 8-bit --> | | 336 × 240 = (252/240) <!-- Atari 8-bit --> | ||
− | |||
| {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}} | | {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}} | ||
}}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} | ||
Line 155: | Line 155: | ||
| <nowiki>{{bobscreen|AfterBurnerII PCE Title.png}}</nowiki> | | <nowiki>{{bobscreen|AfterBurnerII PCE Title.png}}</nowiki> | ||
| [[File:AfterBurnerII PCE Title.png]] | | [[File:AfterBurnerII PCE Title.png]] | ||
− | | {{bobscreen|AfterBurnerII PCE Title.png | + | | {{bobscreen|AfterBurnerII PCE Title.png}} |
|} | |} | ||
[[Category:Breakout box templates]] | [[Category:Breakout box templates]] | ||
</noinclude> | </noinclude> |
Revision as of 13:08, 14 December 2018
This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.
Usage
{{bobscreen|MagicalPuzzlePopils title.png}}
returns
This is how the game appears on an actual Sega Game Gear. The original image taken from an emulator is below:
Options
{{bobscreen|MagicalPuzzlePopils title.png|width=120}}
returns
"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.