<?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=RenderSpriteStateFixed</id>
		<title>RenderSpriteStateFixed - 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=RenderSpriteStateFixed"/>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=RenderSpriteStateFixed&amp;action=history"/>
		<updated>2026-05-10T16:55:28Z</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=RenderSpriteStateFixed&amp;diff=149&amp;oldid=prev</id>
		<title>Thewreck at 13:57, 23 March 2009</title>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=RenderSpriteStateFixed&amp;diff=149&amp;oldid=prev"/>
				<updated>2009-03-23T13:57:58Z</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:57, 23 March 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&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;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{VideoMethod&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;{{VideoMethod&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;video.renderSpriteStateFixed(spriteId, x, y[, a, r, g, b[, clipLeft, clipTop, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;clipRight&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;clipBottom&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;video.renderSpriteStateFixed(spriteId, x, y[, a, r, g, b[, clipLeft, clipTop, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;clipWidth&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;clipHeight&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;div&gt;This is a special rendering method that is able to clip the sprite according to a clipping rectangle. In addition, this method will use point sampling instead of bilinear sampling of the source image.&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;This is a special rendering method that is able to clip the sprite according to a clipping rectangle. In addition, this method will use point sampling instead of bilinear sampling of the source image.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&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|clipLeft|Optional integer|Sets the left clipping edge (inclusive).}}&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|clipLeft|Optional integer|Sets the left clipping edge (inclusive).}}&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;{{MethodParam|clipTop|Optional integer|Sets the upper clipping edge (inclusive).}}&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|clipTop|Optional integer|Sets the upper clipping edge (inclusive).}}&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;{{MethodParam|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;clipRight&lt;/del&gt;|Optional integer|Sets the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;right &lt;/del&gt;clipping &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;edge (exclusive)&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;{{MethodParam|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;clipWidth&lt;/ins&gt;|Optional integer|Sets the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;width of the &lt;/ins&gt;clipping.}}&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;{{MethodParam|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;clipBottom&lt;/del&gt;|Optional integer|Sets the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;lower &lt;/del&gt;clipping &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;edge (exclusive)&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;{{MethodParam|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;clipHeight&lt;/ins&gt;|Optional integer|Sets the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;height of the &lt;/ins&gt;clipping.}}&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;div&gt;Returns nothing.&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;Returns nothing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&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;&amp;nbsp;&amp;nbsp;  video.renderSpriteStateFixed(progressSprite, x, y,&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;&amp;nbsp;&amp;nbsp;  video.renderSpriteStateFixed(progressSprite, x, y,&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;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 255, 255, 255, 255,&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;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 255, 255, 255, 255,&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;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; x, y, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x + &lt;/del&gt;progressPixels, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;y + &lt;/del&gt;progressHeight)&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;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; x, y, progressPixels, progressHeight)&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;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;&amp;lt;/pre&amp;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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thewreck</name></author>	</entry>

	<entry>
		<id>http://www.oxeyegames.com/wiki/index.php?title=RenderSpriteStateFixed&amp;diff=125&amp;oldid=prev</id>
		<title>Jeb: Created page with '{{VideoMethod | video.renderSpriteStateFixed(spriteId, x, y[, a, r, g, b[, clipLeft, clipTop, clipRight, clipBottom]]) | This is a special rendering method that is able to clip t...'</title>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=RenderSpriteStateFixed&amp;diff=125&amp;oldid=prev"/>
				<updated>2009-03-09T09:07:12Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{VideoMethod | video.renderSpriteStateFixed(spriteId, x, y[, a, r, g, b[, clipLeft, clipTop, clipRight, clipBottom]]) | This is a special rendering method that is able to clip t...&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.renderSpriteStateFixed(spriteId, x, y[, a, r, g, b[, clipLeft, clipTop, clipRight, clipBottom]])&lt;br /&gt;
|&lt;br /&gt;
This is a special rendering method that is able to clip the sprite according to a clipping rectangle. In addition, this method will use point sampling instead of bilinear sampling of the source image.&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|spriteId|An integer|The sprite ID.}}&lt;br /&gt;
{{MethodParam|x|An integer|The x coordinate for the sprite's hotspot.}}&lt;br /&gt;
{{MethodParam|y|An integer|The y coordinate for the sprite's hotspot.}}&lt;br /&gt;
{{MethodParam|a|Optional integer|The alpha component of the diffuse color. Use this to blend the sprite with the background.}}&lt;br /&gt;
{{MethodParam|r|Optional integer|The red pigment of the diffuse color, defaults to 255.}}&lt;br /&gt;
{{MethodParam|g|Optional integer|The green pigment of the diffuse color, defaults to 255.}}&lt;br /&gt;
{{MethodParam|b|Optional integer|The blue pigment of the diffuse color, defaults to 255.}}&lt;br /&gt;
{{MethodParam|clipLeft|Optional integer|Sets the left clipping edge (inclusive).}}&lt;br /&gt;
{{MethodParam|clipTop|Optional integer|Sets the upper clipping edge (inclusive).}}&lt;br /&gt;
{{MethodParam|clipRight|Optional integer|Sets the right clipping edge (exclusive).}}&lt;br /&gt;
{{MethodParam|clipBottom|Optional integer|Sets the lower clipping edge (exclusive).}}&lt;br /&gt;
|&lt;br /&gt;
Returns nothing.&lt;br /&gt;
}}&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   -- render progress bar&lt;br /&gt;
   local progress = timeSoFar / maxTime&lt;br /&gt;
   local progressPixels = math.floor(progress * progressWidth)&lt;br /&gt;
&lt;br /&gt;
   video.renderSpriteStateFixed(progressSprite, x, y,&lt;br /&gt;
      255, 255, 255, 255,&lt;br /&gt;
      x, y, x + progressPixels, y + progressHeight)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeb</name></author>	</entry>

	</feed>