<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>bitmap transparency</title>
		<link>http://www.allegro.cc/forums/view/614797</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 15 Nov 2014 15:33:31 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I know its possible to make a color completely invisible. I use this already in my game. But I was wondering is there a way to draw a bitmap that is still visible but see through?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Antone333)</author>
		<pubDate>Fri, 14 Nov 2014 23:35:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes. Use 32 bit color and alpha channels on your images.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 14 Nov 2014 23:57:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you want to draw translucent bitmaps onto others, you can use draw_trans. This will exactly do what you want. Other ways may fail :-))
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (#00JMP00)</author>
		<pubDate>Sat, 15 Nov 2014 02:28:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, what Edgar said. You can create an image in your &#39;graphics software&#39; with an alpha channel; then, if you save it as something like .png you can load it in A5 and it will use the alpha channel, 32 bits (24 for the colours RGB and 8 bits for the alpha transparency....probably).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dizzy Egg)</author>
		<pubDate>Sat, 15 Nov 2014 06:43:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>could you point me to draw trans in the manual? i can&#39;t find it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Antone333)</author>
		<pubDate>Sat, 15 Nov 2014 07:28:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Allegro 4 or 5?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Sat, 15 Nov 2014 08:24:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Allegro 5
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Antone333)</author>
		<pubDate>Sat, 15 Nov 2014 13:19:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you want to draw a bitmap half-transparent only sometimes, instead of editing it to include alpha channel, you could draw it tinted like that: 
</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/al_draw_tinted_bitmap"><span class="a">al_draw_tinted_bitmap</span></a><span class="k2">(</span>yourBitmap,<a href="http://www.allegro.cc/manual/al_map_rgba_f"><span class="a">al_map_rgba_f</span></a><span class="k2">(</span><span class="n">0</span>.<span class="n">5</span>,<span class="n">0</span>.<span class="n">5</span>,<span class="n">0</span>.<span class="n">5</span>,<span class="n">0</span>.<span class="n">5</span><span class="k2">)</span>,x,y,<span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Aikei_c)</author>
		<pubDate>Sat, 15 Nov 2014 15:33:31 +0000</pubDate>
	</item>
</rss>
