<?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=FernandoNoise</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=FernandoNoise"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/wiki/Special:Contributions/FernandoNoise"/>
	<updated>2026-05-03T20:25:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=SpriteDisplay.sprites&amp;diff=1413</id>
		<title>SpriteDisplay.sprites</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=SpriteDisplay.sprites&amp;diff=1413"/>
		<updated>2025-05-14T01:37:31Z</updated>

		<summary type="html">&lt;p&gt;FernandoNoise: Fixed method call syntax(sp) and centered the sprite for better visibility.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[SpriteDisplay]].sprites&amp;lt;/c&amp;gt; is the list that contains all sprites in the display.  Sprites are&lt;br /&gt;
layered according to their order in this list, with sprites[0] at the &lt;br /&gt;
back, and the last sprite in the list drawn on top.  To add a sprite to&lt;br /&gt;
the display, simply add it to this list; remove it from the list to remove&lt;br /&gt;
the sprite from the display.  You may reorder&lt;br /&gt;
sprites in this list at any time to change the layering.&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	// add a sprite to the display&lt;br /&gt;
&lt;br /&gt;
// Position the sprite in the center of the screen&lt;br /&gt;
sp.x = 480&lt;br /&gt;
sp.y = 320&lt;br /&gt;
&lt;br /&gt;
key.get  // wait for a keypress&lt;br /&gt;
display(4).sprites.remove display(4).sprites.indexOf(sp)  // remove it&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>FernandoNoise</name></author>
		
	</entry>
</feed>