<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.oxeyegames.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=UpdateSpriteState</id>
		<title>UpdateSpriteState - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=UpdateSpriteState"/>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=UpdateSpriteState&amp;action=history"/>
		<updated>2026-05-03T09:58:49Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://www.oxeyegames.com/wiki/index.php?title=UpdateSpriteState&amp;diff=31&amp;oldid=prev</id>
		<title>Jeb at 13:59, 5 March 2009</title>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=UpdateSpriteState&amp;diff=31&amp;oldid=prev"/>
				<updated>2009-03-05T13:59:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:59, 5 March 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{MethodParam|timeStep|A number|The time step measured in seconds. For example, if the time step is 60 milliseconds, the value passed should be 0.060.}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{MethodParam|timeStep|A number|The time step measured in seconds. For example, if the time step is 60 milliseconds, the value passed should be 0.060.}}&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Returns &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;nothing&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Returns &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the loop status of the animation. When this update caused the animation to loop, the method will return true, otherwise it will return false. If the sprite ID doesn't exist the method will return nil.&lt;/ins&gt;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jeb</name></author>	</entry>

	<entry>
		<id>http://www.oxeyegames.com/wiki/index.php?title=UpdateSpriteState&amp;diff=29&amp;oldid=prev</id>
		<title>Jeb: Created page with '{{VideoMethod | video.updateSpriteState(spriteId, timeStep) | This method updates a sprite state's animation. | {{MethodParam|spriteId|An integer|The ID value of the sprite that ...'</title>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=UpdateSpriteState&amp;diff=29&amp;oldid=prev"/>
				<updated>2009-03-05T12:38:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{VideoMethod | video.updateSpriteState(spriteId, timeStep) | This method updates a sprite state&amp;#39;s animation. | {{MethodParam|spriteId|An integer|The ID value of the sprite that ...&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{VideoMethod&lt;br /&gt;
|&lt;br /&gt;
video.updateSpriteState(spriteId, timeStep)&lt;br /&gt;
|&lt;br /&gt;
This method updates a sprite state's animation.&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|spriteId|An integer|The ID value of the sprite that is being updated. This ID is retrieved when the sprite is created. See [[createSpriteState]].}}&lt;br /&gt;
{{MethodParam|timeStep|A number|The time step measured in seconds. For example, if the time step is 60 milliseconds, the value passed should be 0.060.}}&lt;br /&gt;
|&lt;br /&gt;
Returns nothing&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local function frameUpdate(timeStep)&lt;br /&gt;
&lt;br /&gt;
   for i=1,#sprites do&lt;br /&gt;
      video.updateSpriteState(sprites[i], timeStep)&lt;br /&gt;
   end&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeb</name></author>	</entry>

	</feed>