Difference between revisions of "Bobscreen"
From Sega Retro
Line 47: | Line 47: | ||
| 312 × 192 = (234/192) <!-- Amiga --> | | 312 × 192 = (234/192) <!-- Amiga --> | ||
| 400 × 254 = (240/203) <!-- Midway arcade --> | | 400 × 254 = (240/203) <!-- Midway arcade --> | ||
− | | {{#ifeq:{{{forcewidescreen}}}|yes|0.8 | + | | #default = 1 |
− | }}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} | + | }}}}}}{{#ifeq:{{{forcewidescreen|}}}|yes|{{#vardefine:vscale|{{#expr:{{#var:vscale}}*0.8}}}}|}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} |
| 512 × 192 = yes <!--Master System--> | | 512 × 192 = yes <!--Master System--> | ||
| 496 × 192 = yes <!--Master System (cropped)--> | | 496 × 192 = yes <!--Master System (cropped)--> | ||
Line 252: | Line 252: | ||
| [[File:BurningRival title.png]] | | [[File:BurningRival title.png]] | ||
| {{bobscreen|BurningRival title.png}} | | {{bobscreen|BurningRival title.png}} | ||
+ | |- | ||
+ | | <nowiki>{{bobscreen|VirtuaRacing Model1 US WDUD Widescreen.png|forcewidescreen=yes|height=240}}</nowiki> | ||
+ | | [[File:VirtuaRacing Model1 US WDUD Widescreen.png]] | ||
+ | | {{bobscreen|VirtuaRacing Model1 US WDUD Widescreen.png|forcewidescreen=yes|height=240}} | ||
|} | |} | ||
[[Category:Breakout box templates]] | [[Category:Breakout box templates]] | ||
</noinclude> | </noinclude> |
Revision as of 07:55, 8 February 2020
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.