<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=DSlower</id>
	<title>MiniScript Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=DSlower"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/wiki/Special:Contributions/DSlower"/>
	<updated>2026-04-26T12:02:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.setCorners&amp;diff=1429</id>
		<title>Sprite.setCorners</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.setCorners&amp;diff=1429"/>
		<updated>2025-08-06T00:07:55Z</updated>

		<summary type="html">&lt;p&gt;DSlower: Adding page with basic info and example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Function to change the value of [[Sprite.corners]]. Takes a list with 4 elements as a parameter, each element should be a list [x, y].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will stretch the top of the sprite&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;
sp.x = 480&lt;br /&gt;
sp.y = 320&lt;br /&gt;
&lt;br /&gt;
c = sp.corners&lt;br /&gt;
//Moving the top right corner 100 pixels to the right&lt;br /&gt;
c[2][0] += 100&lt;br /&gt;
&lt;br /&gt;
//Moving the top left corner 100 pixels to the left&lt;br /&gt;
c[3][0] -= 100&lt;br /&gt;
&lt;br /&gt;
sp.setCorners c&lt;br /&gt;
&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
&amp;lt;/ms&amp;gt;&lt;/div&gt;</summary>
		<author><name>DSlower</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.corners&amp;diff=1428</id>
		<title>Sprite.corners</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.corners&amp;diff=1428"/>
		<updated>2025-08-05T23:35:23Z</updated>

		<summary type="html">&lt;p&gt;DSlower: Creating the page with a basic explanation of this property&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contains a list with the 4 corners of the bounding box of the [[Sprite]]. It is sorted counter clockwise and starts with the bottom left corner. Index 0 is the bottom left corner, index 3 is top left corner. The [[Sprite.setCorners]] function can be used to change its value.&lt;br /&gt;
&lt;br /&gt;
== Example ==&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;
for c in sp.corners&lt;br /&gt;
   print &amp;quot;X: &amp;quot; + c[0]&lt;br /&gt;
   print &amp;quot;Y: &amp;quot; + c[1]&lt;br /&gt;
end for&amp;lt;/ms&amp;gt;&lt;/div&gt;</summary>
		<author><name>DSlower</name></author>
		
	</entry>
</feed>