<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>suggestions for animation with alpha value?</title>
		<link>http://www.allegro.cc/forums/view/556586</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 01 Jan 2006 06:42:08 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi,<br />I&#39;m a bit confused with how to go about blitting a section of a tga file which has alpha values, because the way to blit a transparent image only allows you to draw the whole thing..<br />Am I overlooking something?<br />How would I go about blitting a section of a translucent image, and not the whole thing?</p><p>Thanks.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Alex Hanson-White)</author>
		<pubDate>Sat, 31 Dec 2005 06:04:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>if it&#39;s not possible to blit only a part of the image you could save the animation in different files.</p><p>anim_01<br />anim_02<br />anim_03</p><p>and so on.</p><p>Then just blitt the diffrent images.<br />I do it this way.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Sat, 31 Dec 2005 06:06:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>yeah, i figured that would be possible, but I&#39;m wondering if there is an alternative where you can keep the frames all in 1 file.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Alex Hanson-White)</author>
		<pubDate>Sat, 31 Dec 2005 06:09:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can load one tga file and create individual memory bitmaps using it. Mapping the right alpha values is an easy task.<br />(edited for clarification)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Murat AYIK)</author>
		<pubDate>Sat, 31 Dec 2005 06:11:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Use lib gif<br /><a href="http://www.allegro.cc/depot/AllegroGIFAnimationLibrary">http://www.allegro.cc/depot/AllegroGIFAnimationLibrary</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Sat, 31 Dec 2005 08:11:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>gifs can&#39;t be translucent like I described, they can only be transparent.<br />I&#39;m useing the tga format.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Alex Hanson-White)</author>
		<pubDate>Sat, 31 Dec 2005 09:08:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Create sub-bitmaps of the main bitmap:<br /><span class="source-code"><a href="http://www.allegro.cc/manual/create_sub_bitmap" target="_blank"><span class="a">create_sub_bitmap</span></a></span><br />Don&#39;t forget to destroy the sub-bitmaps before the main one.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Sat, 31 Dec 2005 09:17:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>cool, that works great, cat!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Alex Hanson-White)</author>
		<pubDate>Sat, 31 Dec 2005 13:25:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If I rotate the bitmap, will there be a problem about translucency?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tapir)</author>
		<pubDate>Sat, 31 Dec 2005 16:25:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I wanted to do just that, so I went and tried it, tapir.<br />rotate_sprite works, it keeps the alphas and evrything.<br />What you gotta make sure to do is draw/rotate it onto a new bitmap, and then draw the new bitmap instead of the sub_bitmap.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Alex Hanson-White)</author>
		<pubDate>Sun, 01 Jan 2006 01:44:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What about</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/masked_blit" target="_blank"><span class="a">masked_blit</span></a>
</pre></div></div><p>

? That allows you to draw transparent stuff...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sun, 01 Jan 2006 06:15:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>maksed_blit skips the keycolor, he wants translucency = alpha
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tapir)</author>
		<pubDate>Sun, 01 Jan 2006 06:42:08 +0000</pubDate>
	</item>
</rss>
