<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.factorio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shirtandtieler</id>
	<title>Official Factorio Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.factorio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shirtandtieler"/>
	<link rel="alternate" type="text/html" href="https://wiki.factorio.com/Special:Contributions/Shirtandtieler"/>
	<updated>2026-04-24T12:22:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Types/Sprite&amp;diff=151279</id>
		<title>Types/Sprite</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Types/Sprite&amp;diff=151279"/>
		<updated>2017-10-18T20:03:22Z</updated>

		<summary type="html">&lt;p&gt;Shirtandtieler: /* shift - additional details */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages}}&lt;br /&gt;
== Basics ==&lt;br /&gt;
Specifies one picture that can be used in the game.&lt;br /&gt;
&lt;br /&gt;
When there is more than one sprite or [[Types/Animation|animation]] frame with the same source file and dimensions/position in the game, they all share the same memory.&lt;br /&gt;
== Properties ==&lt;br /&gt;
=== filename ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;:[[Types/FileName]]&lt;br /&gt;
=== priority ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;:[[Types/string]]&lt;br /&gt;
&lt;br /&gt;
Possible values:&lt;br /&gt;
* extra-high&lt;br /&gt;
* high&lt;br /&gt;
* medium&lt;br /&gt;
* low&lt;br /&gt;
* very-low&lt;br /&gt;
&lt;br /&gt;
=== width ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/unsigned]]&lt;br /&gt;
&lt;br /&gt;
Width of the picture in pixels.&lt;br /&gt;
=== height ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/unsigned]]&lt;br /&gt;
&lt;br /&gt;
Height of the picture in pixels&lt;br /&gt;
=== x ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/unsigned]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: 0&lt;br /&gt;
&lt;br /&gt;
Horizontal position of the picture in the source file in pixels.&lt;br /&gt;
&lt;br /&gt;
=== y ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/unsigned]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: 0&lt;br /&gt;
&lt;br /&gt;
Vertical position of the picture in the source file in pixels.&lt;br /&gt;
&lt;br /&gt;
=== shift ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/vector]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: {0, 0}&lt;br /&gt;
&lt;br /&gt;
Used to offset the sprite in-game from its bounding box. &lt;br /&gt;
&lt;br /&gt;
Note: positive numbers move the sprite east or south (for the x or y numbers, respectively).&lt;br /&gt;
&lt;br /&gt;
=== scale ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/double]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: 1&lt;br /&gt;
&lt;br /&gt;
Values different than 1 specify the scale of the picture on default zoom.&lt;br /&gt;
Scale 2 means that the picture will be 2 times bigger on screen (and more pixelated).&lt;br /&gt;
== Example ==&lt;br /&gt;
    picture =&lt;br /&gt;
    {&lt;br /&gt;
      filename = &amp;quot;__base__/graphics/entity/basic-accumulator/basic-accumulator.png&amp;quot;,&lt;br /&gt;
      priority = &amp;quot;extra-high&amp;quot;,&lt;br /&gt;
      width = 124,&lt;br /&gt;
      height = 103,&lt;br /&gt;
      shift = {0.7, -0.2}&lt;br /&gt;
    }&lt;/div&gt;</summary>
		<author><name>Shirtandtieler</name></author>
	</entry>
</feed>