Difference between revisions of "Sprite"

From Sega Retro

(test)
 
Line 5: Line 5:
 
{{#vardefine:newSpriteWidth|{{#expr: {{#var:nativeSpriteWidth}} * {{{2}}} }}
 
{{#vardefine:newSpriteWidth|{{#expr: {{#var:nativeSpriteWidth}} * {{{2}}} }}
 
{{#vardefine:newSpriteHeight|{{#expr: {{#var:nativeSpriteHeight}} * {{{2}}} }}</div>
 
{{#vardefine:newSpriteHeight|{{#expr: {{#var:nativeSpriteHeight}} * {{{2}}} }}</div>
<span style="image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor;">[[File:{{{1}}}|{{#var:newSpriteWidth}}x{{#var:newSpriteHeight}}]]</span>
+
<span style="image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor;">[[File:{{{1}}}|{{#var:newSpriteWidth}}x{{#var:newSpriteHeight}}px]]</span>

Revision as of 09:16, 15 June 2015

My gift to Hivebrain


{{#vardefine:newSpriteWidth|Expression error: Unexpected < operator.

{{#vardefine:newSpriteHeight|Expression error: Unexpected < operator.

[[File:{{{1}}}|xpx]]