Difference between revisions of "Bobscreen"
From Sega Retro
(copied from bobscreenTest) |
|||
Line 20: | Line 20: | ||
| 224 × 288 = 1 <!--Pengo, square pixels.--> | | 224 × 288 = 1 <!--Pengo, square pixels.--> | ||
| 496 × 384 = (372/384) <!--Model 1/2 (e.g. Virtua Fighter)--> | | 496 × 384 = (372/384) <!--Model 1/2 (e.g. Virtua Fighter)--> | ||
+ | | 320 × 200 = (240/200) <!--IBM PC--> | ||
+ | | 640 × 300 = (320/200) <!--IBM PC--> | ||
| {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}} | | {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}} | ||
}}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} | ||
Line 125: | Line 127: | ||
| [[File:Outrun2spsdxscreen.png|320px]] | | [[File:Outrun2spsdxscreen.png|320px]] | ||
| {{bobscreen|Outrun2spsdxscreen.png|width=320}} | | {{bobscreen|Outrun2spsdxscreen.png|width=320}} | ||
+ | |- | ||
+ | | <nowiki>{{bobscreen|OutRun IBMPC CGA Title.png|width=320}}</nowiki> | ||
+ | | [[File:OutRun IBMPC CGA Title.png|320px]] | ||
+ | | {{bobscreen|OutRun IBMPC CGA Title.png|width=320}} | ||
+ | |- | ||
+ | | <nowiki>{{bobscreen|OutRun IBMPC Hercules Title.png|width=320}}</nowiki> | ||
+ | | [[File:OutRun IBMPC Hercules Title.png|320px]] | ||
+ | | {{bobscreen|OutRun IBMPC Hercules Title.png|width=320}} | ||
|} | |} | ||
[[Category:Breakout box templates]] | [[Category:Breakout box templates]] | ||
</noinclude> | </noinclude> |
Revision as of 06:01, 5 August 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.