Difference between revisions of "Sprite"

From Sega Retro

Line 13: Line 13:
 
<tt><nowiki>{{</nowiki>sprite|'''{{green|image name.png}}'''|'''{{red|f}}'''}}</tt>
 
<tt><nowiki>{{</nowiki>sprite|'''{{green|image name.png}}'''|'''{{red|f}}'''}}</tt>
  
* <tt>{{red|f}}</tt> = scaling factor (i.e. 2 is double size).
+
* <tt>{{red|'''f'''}}</tt> = scaling factor (i.e. 2 is double size).
  
 
[[Category:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Revision as of 13:59, 16 July 2015

Display a sprite with optional scaling.

Usage

{{sprite|image name.png|f}}

  • f = scaling factor (i.e. 2 is double size).