<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=Sprite.scale</id>
	<title>Sprite.scale - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=Sprite.scale"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.scale&amp;action=history"/>
	<updated>2026-05-24T06:23:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.scale&amp;diff=430&amp;oldid=prev</id>
		<title>JoeStrout at 23:12, 12 April 2020</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.scale&amp;diff=430&amp;oldid=prev"/>
		<updated>2020-04-12T23:12:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:12, 12 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;c&amp;gt;Sprite.scale&amp;lt;/c&amp;gt; is the scale factor of the sprite.  A scale of 1 means that one pixel in&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;c&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;Sprite&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;.scale&amp;lt;/c&amp;gt; is the scale factor of the sprite.  A scale of 1 means that one pixel in&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the [[Sprite.image|image]] appears as one pixel on screen.  Setting&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the [[Sprite.image|image]] appears as one pixel on screen.  Setting&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;scale=2 makes the sprite appear twice as big; scale=0.5 makes it appear&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;scale=2 makes the sprite appear twice as big; scale=0.5 makes it appear&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JoeStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.scale&amp;diff=406&amp;oldid=prev</id>
		<title>ZachStrout: Created page with &quot;&lt;c&gt;Sprite.scale&lt;/c&gt; is the scale factor of the sprite.  A scale of 1 means that one pixel in the image appears as one pixel on screen.  Setting scale=2 makes...&quot;</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.scale&amp;diff=406&amp;oldid=prev"/>
		<updated>2020-04-12T21:49:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.scale&amp;lt;/c&amp;gt; is the scale factor of the sprite.  A scale of 1 means that one pixel in the &lt;a href=&quot;/wiki/Sprite.image&quot; title=&quot;Sprite.image&quot;&gt;image&lt;/a&gt; appears as one pixel on screen.  Setting scale=2 makes...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;c&amp;gt;Sprite.scale&amp;lt;/c&amp;gt; is the scale factor of the sprite.  A scale of 1 means that one pixel in&lt;br /&gt;
the [[Sprite.image|image]] appears as one pixel on screen.  Setting&lt;br /&gt;
scale=2 makes the sprite appear twice as big; scale=0.5 makes it appear&lt;br /&gt;
half its standard size.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
You may also scale a sprite differently in&lt;br /&gt;
x and y by assigning a list of two numbers; the first is the x scale,&lt;br /&gt;
and the second is the y scale, as in the example below.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
sp.scale = [2,1]	// double the width, but leave height alone&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
</feed>