<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Let&#39;s have a (virtual) fireworks competition!</title>
		<link>http://www.allegro.cc/forums/view/602640</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 05 Jan 2010 01:07:46 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Who can make the nicest looking fireworks? Deadline is 31st december, 23:59 GMT.</p><p>Any language, any library. Should be able to compile and run with minimal fuss, posting of pre-built binaries is encouraged. It should run for at about a minute, and be judged for that time.</p><p>After everyone has posted, we vote for which one we liked best (other than our own). Simple!</p><p>Anyone in? Suggestions for improvements?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Sat, 26 Dec 2009 22:03:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Compile and run on Windows? Linux? OS X?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 26 Dec 2009 23:21:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m not going to tell people what to use, but obviously it&#39;s more fun if as many people as possible can compile it. If you make it harder to compile, less people will view it. Then it might be good to post several screenshots or a video of the fireworks in action <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Sat, 26 Dec 2009 23:33:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Damn, if I only had time to compete I would.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Steve Terry)</author>
		<pubDate>Sun, 27 Dec 2009 00:19:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m working on an allegro 4.4 opengl game framework type thing. </p><p>This would help / encourage me to work on the particle system aspect of it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (KnightWhoSaysNi)</author>
		<pubDate>Sun, 27 Dec 2009 01:09:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Can we pre-compile a binary and just include the source?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Sun, 27 Dec 2009 01:17:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844590#target">KnightWhoSaysNi</a> said:</div><div class="quote"><p>
I&#39;m working on an allegro 4.4 opengl game framework type thing.</p><p>This would help / encourage me to work on the particle system aspect of it.
</p></div></div><p>
Great!</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844592#target">blargmob</a> said:</div><div class="quote"><p>
Can we pre-compile a binary and just include the source?
</p></div></div><p>
Sure, I can&#39;t see why not.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844588#target">Steve Terry</a> said:</div><div class="quote"><p>
Damn, if I only had time to compete I would.
</p></div></div><p>
A shame. But if you get the time, it should probably not take too long to whip something up <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Sun, 27 Dec 2009 01:19:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll hack something with XNA <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Sun, 27 Dec 2009 03:21:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844599#target">ixilom</a> said:</div><div class="quote"><p>XNA</p></div></div><p>
<img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" /> <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Sun, 27 Dec 2009 03:40:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nice idea, I&#39;ll maybe code up something.. <br />However, topic starter.. Would be nice if you encourage us by giving up an example <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Sun, 27 Dec 2009 04:21:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Check out what I made! <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /><br /><span class="remote-thumbnail"><span class="json">{"name":"dogs+and+fireworks.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/7\/d798566490103d72812529acaa259f1e.png","w":490,"h":490,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/7\/d798566490103d72812529acaa259f1e"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/d/7/d798566490103d72812529acaa259f1e-240.jpg" alt="dogs+and+fireworks.jpg" width="240" height="240" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Sun, 27 Dec 2009 04:32:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m working on mine <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> I&#39;ve still to decide what library to use. I don&#39;t really feel like installing allegro 4.9, what with all the libraries needed... And I might need decent blending. Any suggestions?</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844608#target">Dustin Dettmer</a> said:</div><div class="quote"><p>
Check out what I made! 
</p></div></div><p>
Purdy! Keep it up <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Sun, 27 Dec 2009 04:42:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844609#target">Jonatan Hedborg</a> said:</div><div class="quote"><p>
And I might need decent blending. Any suggestions?
</p></div></div><p>

No.. But my general direction of thoughts is recursion(fractals).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Sun, 27 Dec 2009 04:54:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;d be interested.<br />What is the current way to get additive blending with Allegro nowadays?</p><p>I used to use Fblend but i&#39;m having a few problems making it work with 4.4.<br />Is allegroGl the only other way?</p><p>[edit]Same question as Jonatan, didn&#39;t see his last post.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (FMC)</author>
		<pubDate>Sun, 27 Dec 2009 04:57:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m already doing something horribly wrong with my particles in XNA, it chokes my pretty decent PC with ~200 particles <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Sun, 27 Dec 2009 05:08:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>How are you storing and creating them?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Sun, 27 Dec 2009 05:33:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just a generic List&lt;T&gt;, no fancy pools or anything, but I might need to look into that anyway <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Sun, 27 Dec 2009 05:39:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Dustin: please attach at least an executable to join the competition...</p><p>and here comes my entry... <span class="remote-thumbnail"><span class="json">{"name":"600091","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/6\/36db28c50ea34922142402993d3d35d7.png","w":647,"h":513,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/6\/36db28c50ea34922142402993d3d35d7"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/3/6/36db28c50ea34922142402993d3d35d7-240.jpg" alt="600091" width="240" height="190" /></span><br />as long as noone else posts an executable the winner seems to be .... me <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><p>[EDIT]<br />now the source is available (don&#39;t steel from it!!!)<br />in this improved version the rockets are fired automatically so you don&#39;t have to hit the space-key all the time...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Frank Drebin)</author>
		<pubDate>Sun, 27 Dec 2009 06:49:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nice, that&#39;s generally what I planned to do, putpixel() is it.<br />However, there are many things can be improved.. E.g. perhaps colors shouldn&#39;t just go black, but lose color(move to grayscale), at the time with losing brightness overall. In addition to gravity, there could be wind and air-drag force.<br />This one without fractals though, probably <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>Append: Frank, source please?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Sun, 27 Dec 2009 09:42:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I am in. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> It will give me something to do tonight when I am bored.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Timorg)</author>
		<pubDate>Sun, 27 Dec 2009 12:56:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Could someone help me out with something?</p><p>I&#39;m having problems getting a velocity vector for my particles in an explosion that results in a &quot;ring&quot; in the sky.<br />Doing something like below is fine and dandy for your avarage explosion:
</p><div class="source-code snippet"><div class="inner"><pre>foreach<span class="k2">(</span>Particle p in m_particles<span class="k2">)</span>
<span class="k2">{</span>
p.Velocity <span class="k3">=</span> <span class="k1">new</span> Vector2<span class="k2">(</span><span class="k3">-</span><span class="k2">(</span>rand.NextDouble<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span>,rand.NextDouble<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
The problem is how to create those velocities whilst not accepting a minimum range.<br />Like 0.1f for X and 0.1f Y not being acceptable, however it should be possible to have 0.1f X but Y being 0.9f ... Does that make any sense?</p><p>I&#39;ve been scratching my head for some time now and soon I&#39;ll probably start ripping hair <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Sun, 27 Dec 2009 18:32:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844661#target">ixilom</a> said:</div><div class="quote"><p>
Like 0.1f for X and 0.1f Y not being acceptable
</p></div></div><p>
That would be perfectly acceptable if the sprite/spark thingee was almost directly approaching/receding to your line of sight (in 3d viewpoint).  It&#39;s pretty neat to see a meteor do that (seems almost motionless).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sun, 27 Dec 2009 18:35:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You could do something like...</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#include &lt;cmath&gt;</span>

VECTOR::VECTOR<span class="k2">(</span><span class="k1">const</span> POLAR <span class="k3">&amp;</span>v<span class="k2">)</span>
<span class="k2">{</span>
    _x <span class="k3">=</span> v.r <span class="k3">*</span> std::cos<span class="k2">(</span>v.t<span class="k2">)</span><span class="k2">;</span>
    _y <span class="k3">=</span> v.r <span class="k3">*</span> std::sin<span class="k2">(</span>v.t<span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>

Where <span class="source-code">v.r</span> is the velocity (radial length) and <span class="source-code">v.t</span> is the angle (theta).</p><p>That way they all have the same outwards speed, but each can have a different angles.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Timorg)</author>
		<pubDate>Sun, 27 Dec 2009 18:36:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Timorg, thanks!</p><p>I&#39;ve been too focused on vectors that I totally neglected sin/cos ... d&#39;oh <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Sun, 27 Dec 2009 18:41:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If they all had the same outward speeds, you&#39;d wind up with a ring again.  Unless you&#39;re actually using a Z component of course.</p><p>Look closely:</p><p><span class="remote-thumbnail"><span class="json">{"name":"China_Kyling_Fireworks_Display_Shell.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/7\/c77bbc14d1cbe12137ac4c31de4dad04.gif","w":400,"h":400,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/7\/c77bbc14d1cbe12137ac4c31de4dad04"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/c/7/c77bbc14d1cbe12137ac4c31de4dad04-240.jpg" alt="China_Kyling_Fireworks_Display_Shell.jpg" width="240" height="240" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sun, 27 Dec 2009 18:41:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844666#target">Arthur Kalliokoski</a> said:</div><div class="quote"><p>If they all had the same outward speeds, you&#39;d wind up with a ring again.</p></div></div><p>
It is the ring effect I&#39;m trying to make <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Sun, 27 Dec 2009 18:44:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So use do_circle() and only draw every N&#39;th pixel.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sun, 27 Dec 2009 18:46:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Not using Allegro <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /> I&#39;m doing this with XNA framework <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Sun, 27 Dec 2009 18:55:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So use Timorgs idea, but I&#39;d think it&#39;d look pretty lame...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sun, 27 Dec 2009 18:58:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is what mine looks like.<br /><span class="remote-thumbnail"><span class="json">{"name":"600098","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/3\/23cccd0089db987103d62c6fd5565b54.png","w":650,"h":509,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/3\/23cccd0089db987103d62c6fd5565b54"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/2/3/23cccd0089db987103d62c6fd5565b54-240.jpg" alt="600098" width="240" height="187" /></span><br />This is about as much as I can do without it stopping being exciting.<br />But it has all those configurable parameters!<br />Source attached, includes a crappy makefile.<br />The code is terribly ugly.<br />If anyone is bored feel free to suggest a better general approach/design I should have taken in the first place to avoid having such an ugly POS.</p><p>(Allegro 4.9.16)</p><p>EDIT: uploaded improved Line.cpp (increased line thickness to make it stand out more)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Slartibartfast)</author>
		<pubDate>Sun, 27 Dec 2009 23:47:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here&#39;s my piece of <span class="cuss"><span><span class="cuss"><span>shit</span></span></span></span> entry. The code is horribly ugly and there is a massive memory leak which I am far too lazy to fix. Hit the spacebar to launch a firework.</p><p><span class="remote-thumbnail"><span class="json">{"name":"600102","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/3\/23b295132dbb118c793379186ab5627a.png","w":816,"h":636,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/3\/23b295132dbb118c793379186ab5627a"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/2/3/23b295132dbb118c793379186ab5627a-240.jpg" alt="600102" width="240" height="187" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Mon, 28 Dec 2009 01:55:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>blargmob: You are evil. Very. Crashed on launch.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Mon, 28 Dec 2009 03:10:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You know what...I think I&#39;ll try this.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Felix-The-Ghost)</author>
		<pubDate>Mon, 28 Dec 2009 04:20:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844712#target">type568</a> said:</div><div class="quote"><p>blargmob: You are evil. Very. Crashed on launch.
</p></div></div><p>

What exactly happened? Did it say anything? You&#39;ll need XNA GS 3.1 and .NET 3.5 in order to build it. And I think you just need .NET 3.5 to run it...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Mon, 28 Dec 2009 05:12:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here&#39;s mine:</p><p><span class="remote-thumbnail"><span class="json">{"name":"600105","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/c\/7c57afb05efd3f893e907a004c1e28cf.png","w":758,"h":626,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/c\/7c57afb05efd3f893e907a004c1e28cf"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/7/c/7c57afb05efd3f893e907a004c1e28cf-240.jpg" alt="600105" width="240" height="198" /></span></p><p>edit: Oops, forgot the <a href="http://www.allegro.cc/files/attachment/600106">source</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 28 Dec 2009 05:25:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>^^ lulz
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Mon, 28 Dec 2009 05:30:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844732#target">LennyLen</a> said:</div><div class="quote"><p>
Here&#39;s mine:
</p></div></div><p>
Weak <img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Mon, 28 Dec 2009 05:32:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here is my current version...</p><p><span class="remote-thumbnail"><span class="json">{"name":"600107","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/2\/529e230857efa31da0d1c5649e24f22c.png","w":825,"h":643,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/2\/529e230857efa31da0d1c5649e24f22c"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/5/2/529e230857efa31da0d1c5649e24f22c-240.jpg" alt="600107" width="240" height="187" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Mon, 28 Dec 2009 05:33:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow, lots more participants than I expected! Keep it up everyone! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>Except LennyLen. You killed my soul <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Mon, 28 Dec 2009 05:35:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844738#target">Jonatan Hedborg</a> said:</div><div class="quote"><p>Except LennyLen. You killed my soul <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p></div></div><p>

Perhaps you should look at the source before it is too late to resuscitate said soul.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Timorg)</author>
		<pubDate>Mon, 28 Dec 2009 05:42:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I did.</p><p>That&#39;s what killed it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Mon, 28 Dec 2009 05:45:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh I thought you meant that your soul died, as there was no way you could compete with the entry.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Timorg)</author>
		<pubDate>Mon, 28 Dec 2009 05:55:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If I can get all the C# programming tasks I assigned myself for the day finished before I have to leave for work this evening, I&#39;ll have a go at a real entry.</p><p>But hey, at least it was nice<span class="ref"><sup>[<a href="#">1</a>]</sup></span>, tidy, code for two minutes worth of coding. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p><div class="ref-block"><h2>References</h2><ol><li>except for checking whether the image loaded successfully</li></ol></div></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 28 Dec 2009 05:59:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="remote-thumbnail"><span class="json">{"name":"600108","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/6\/5\/65d1dbee6fb4379c961fabc16732ac4a.jpg","w":793,"h":612,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/6\/5\/65d1dbee6fb4379c961fabc16732ac4a"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/6/5/65d1dbee6fb4379c961fabc16732ac4a-240.jpg" alt="600108" width="240" height="185" /></span></p><p>You could&#39;ve photoshopped it a bit, apart from resizing <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Mon, 28 Dec 2009 06:00:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844746#target">dario ff</a> said:</div><div class="quote"><p>You could&#39;ve photoshopped it a bit, apart from resizing</p></div></div><p>

Just figuring out how to re-tint the image in PhotoShop would have taken me longer than it took to code the entire thing. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 28 Dec 2009 06:03:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>CTRL+U - Hue, Colorize<br />CTRL+T - Transform</p><p>Now you don&#39;t have to figure it out <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Mon, 28 Dec 2009 06:24:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Perhaps I should also have mentioned that I don&#39;t have PhotoShop. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 28 Dec 2009 06:46:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>LennyLen: I give you points...that made me laugh. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Don Freeman)</author>
		<pubDate>Mon, 28 Dec 2009 07:12:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey look someone already posted my image on google image search!<br /><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/6/f/6ff96828f8a3fa15ba1587c19010264e.jpg" alt="65d1dbee6fb4379c961fabc16732ac4a-240.jpg" width="240" height="185" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Mon, 28 Dec 2009 07:48:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here&#39;s my entry</p><p><span class="remote-thumbnail"><span class="json">{"name":"600113","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/4\/24c62b7bbcfa2df048e4c45db4fa069a.jpg","w":806,"h":625,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/4\/24c62b7bbcfa2df048e4c45db4fa069a"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/2/4/24c62b7bbcfa2df048e4c45db4fa069a-240.jpg" alt="600113" width="240" height="186" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Mon, 28 Dec 2009 09:17:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Can someone check some maths for me?</p><p>Consider the following diagram:</p><p><span class="remote-thumbnail"><span class="json">{"name":"600114","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/8\/b8e1af488d6542be9c84565ec0c63194.png","w":800,"h":600,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/8\/b8e1af488d6542be9c84565ec0c63194"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/b/8/b8e1af488d6542be9c84565ec0c63194-240.jpg" alt="600114" width="240" height="180" /></span></p><p>If V and A are known, and you want to calculate X and Y, they can be calculated as follows, yes?</p><p><tt>X = V * cos(A)</tt><br /><tt>Y = V * sin(A)</tt></p><p>And if the angle is in degrees, then to pass it to the math.h functions, which are in radians (iirc), you should then do:</p><p><tt>X = V * cos(A * PI / 180)</tt><br /><tt>Y = V * sin(A * PI / 180)</tt></p><p>So, have I got all that right?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 28 Dec 2009 09:51:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If &quot;A&quot; is your theta, you are correct that
</p><div class="source-code snippet"><div class="inner"><pre>X <span class="k3">=</span> V <span class="k3">*</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_113.html" target="_blank">cos</a><span class="k2">(</span>A<span class="k2">)</span><span class="k2">;</span>
Y <span class="k3">=</span> V <span class="k3">*</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_728.html" target="_blank">sin</a><span class="k2">(</span>A<span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>

For the next part, you may find it easier to precalculate your values for either <span class="source-code">PI <span class="k3">/</span> <span class="n">180</span></span> or <span class="source-code"><span class="n">180</span> <span class="k3">/</span> PI</span>:</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">static</span> <span class="k1">const</span> <span class="k1">double</span> RAD2DEG <span class="k3">=</span> <span class="n">180</span>.<span class="n">0</span> <span class="k3">/</span> M_PI<span class="k2">;</span>
<span class="k1">static</span> <span class="k1">const</span> <span class="k1">double</span> DEG2RAD <span class="k3">=</span> M_PI <span class="k3">/</span> <span class="n">180</span>.<span class="n">0</span><span class="k2">;</span>
</pre></div></div><p>

</p><div class="source-code snippet"><div class="inner"><pre>X <span class="k3">=</span> V <span class="k3">*</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_113.html" target="_blank">cos</a><span class="k2">(</span>A <span class="k3">*</span> DEG2RAD<span class="k2">)</span><span class="k2">;</span>
Y <span class="k3">=</span> V <span class="k3">*</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_728.html" target="_blank">sin</a><span class="k2">(</span>A <span class="k3">*</span> DEG2RAD<span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>

Looks like you have it correct.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (OnlineCop)</author>
		<pubDate>Mon, 28 Dec 2009 09:57:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844731#target">blargmob</a> said:</div><div class="quote"><p>
What exactly happened? Did it say anything? You&#39;ll need XNA GS 3.1 and .NET 3.5 in order to build it. And I think you just need .NET 3.5 to run it.
</p></div></div><p>

Can&#39;t, just crashed. What I have out of these platforms- no clue. Just Win7 x64..</p><p>P.S.<br />Come on people.. Make it move. Static images are boring <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>Append:<br />All those that move, are nice though <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /><img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Mon, 28 Dec 2009 13:21:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Still got a few days to go <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Progress has been slow though, a friend is visiting = no coding <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Mon, 28 Dec 2009 15:39:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844755#target">Dustin Dettmer</a> said:</div><div class="quote"><p>Hey look someone already posted my image on google image search!</p></div></div><p>Ahahaha!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Mon, 28 Dec 2009 15:43:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just a preview <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /><br /><div class="media-player youtube"><div style="margin: 1em 2em; background: url(/images/movie.png); width: 180px; height: 100px; text-align: center;"><a href="http://www.allegro.cc//www.youtube.com/watch?v=DCUG3zyZFj8" target="_blank"><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/object/6/3/631518305a1e5b5c0aa4bd0f3688038a.jpg" border="0" alt="video" title="Click to play video" /></a></div></div>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Tue, 29 Dec 2009 01:43:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here&#39;s what I threw together:</p><p><div class="media-player youtube"><div style="margin: 1em 2em; background: url(/images/movie.png); width: 180px; height: 100px; text-align: center;"><a href="http://www.allegro.cc//www.youtube.com/watch?v=sFijKAQLOg4" target="_blank"><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/object/5/1/51a5e85abb0e1f24eee2708d6bbc6cf1.jpg" border="0" alt="video" title="Click to play video" /></a></div></div><br />(<s>It may still be waiting for processing on YouTube</s>It only took 42 minutes, but it&#39;s up now)</p><p>The source code is attached.  I didn&#39;t really attempt to regulate speed or optimize the code, so it may not run so well on slower computers.</p><p>EDIT:  I forgot to mention, The reason I asked about the maths earlier was that there were certain areas that were never being drawn to, and I thought I had my equations wrong.  It turned out is was just due to the crappiness of <span class="source-code"><a href="http://www.delorie.com/djgpp/doc/libc/libc_637.html" target="_blank">rand</a><span class="k2">(</span><span class="k2">)</span></span>. When I switched to using a Mersenne Twister algorithm instead, the particle distribution became even.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Tue, 29 Dec 2009 03:42:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>ixilom: Wow. Really awesome.</p><p>Here is my first version, I might update it a bit if I feel like it <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>I did some experimentation with function pointers, void*&#39;s etc... There are plenty of hacks in the source, so don&#39;t go there unless you really want to.</p><p>It kinda started out with just plain C, but moved slightly over to C++ because I started to use OpenLayer and figured &quot;meh, what the hell&quot;... Fun exercise though!</p><p><span class="remote-thumbnail"><span class="json">{"name":"600129","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/7\/d77c039cd81df6ea716f4c7009b7a804.jpg","w":800,"h":603,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/7\/d77c039cd81df6ea716f4c7009b7a804"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/d/7/d77c039cd81df6ea716f4c7009b7a804-240.jpg" alt="600129" width="240" height="180" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Tue, 29 Dec 2009 05:12:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I updated my original entry (and the link to the app in my post). Here it is again: <a href="http://www.allegro.cc/files/attachment/600128">link</a>.</p><p>Edit: Oops, seems I messed it up. Wasn&#39;t working right on my faster computer. Updated again.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Tue, 29 Dec 2009 05:15:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Anyone know if it&#39;s possible/easy to add some motion blur in openlayer? I would guess through direct OpenGL access, which is fine.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Tue, 29 Dec 2009 05:47:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Doubt it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Tue, 29 Dec 2009 05:57:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, the easiest way to do motion blur is when you have a solid colored background. Fireworks are on black so it&#39;s easy. Render your frames to a buffer, never erase the buffer and after drawing a frame draw a translucent black rectangle over the whole scene. It&#39;ll gradually fade everything out like a motion blur.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Tue, 29 Dec 2009 06:14:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hm.  You could also just draw the particle 10 times with varying alpha tint.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Tue, 29 Dec 2009 07:06:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Then you have to draw the particle 10 times, and keep track of 9 previous positions.</p><p>Here&#39;s a video</p><p><div class="media-player youtube"><div style="margin: 1em 2em; background: url(/images/movie.png); width: 180px; height: 100px; text-align: center;"><a href="http://www.allegro.cc//www.youtube.com/watch?v=H0lgc8lg200" target="_blank"><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/object/2/3/23cfd5fa38b447a74bd0d9e7c9bfdd38.jpg" border="0" alt="video" title="Click to play video" /></a></div></div>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Tue, 29 Dec 2009 08:27:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Neat effect.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Tue, 29 Dec 2009 09:25:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844884#target">Jonatan Hedborg</a> said:</div><div class="quote"><p>
Here is my first version, I might update it a bit if I feel like it 
</p></div></div><p>

It was nice before it crashed, with no info on the crash(
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Tue, 29 Dec 2009 11:31:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844918#target">type568</a> said:</div><div class="quote"><p>
It was nice before it crashed
</p></div></div><p>
Hmm. Strange. At what point did it crash? (ie, what happened on the screen)<br />See if this version works better (attached).</p><p><b>Also with motion blur!</b></p><p>EDIT:
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844889#target">Trent Gamblin</a> said:</div><div class="quote"><p>Yes, the easiest way to do motion blur is when you have a solid colored background. Fireworks are on black so it&#39;s easy. Render your frames to a buffer, never erase the buffer and after drawing a frame draw a translucent black rectangle over the whole scene. It&#39;ll gradually fade everything out like a motion blur.</p></div></div><p>

Oh yeah, of course! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />  It was super easy to implement and looks really good! Thanks
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Tue, 29 Dec 2009 13:50:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>nm
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (FMC)</author>
		<pubDate>Tue, 29 Dec 2009 15:02:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/844927#target">Jonatan Hedborg</a> said:</div><div class="quote"><p>
See if this version works better (attached).
</p></div></div><p>

Awesome, works fine.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Tue, 29 Dec 2009 19:17:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In Allegro 5, which is faster, having a ALLEGRO_BITMAP represent the particle, or just drawing pixels? I am getting some slowdowns with over 1000 particles in the scene, so I&#39;m just wondering.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Tue, 29 Dec 2009 19:28:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If they&#39;re single pixels use an array of ALLEGRO_VERTEX (primitives addon) and al_draw_prim with the ALLEGRO_PRIM_POINT type.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Tue, 29 Dec 2009 19:33:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This will be faster than using ALLEGRO_BITMAP&#39;s? Well, I&#39;m going to try it, thanks for the tip.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Tue, 29 Dec 2009 19:39:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, it should be the fastest way to draw single pixels.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Tue, 29 Dec 2009 19:41:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, while I brought this up, I noticed that the ALLEGRO_OPENGL driver is significantly slower at drawing many textures (1000) than the DIRECT3D driver... I updated my drivers to make sure they aren&#39;t to blame and the problem persists. Is this just how OpenGL works?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Tue, 29 Dec 2009 19:44:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s also a matter of which OS you&#39;re using along OpenGL.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Tue, 29 Dec 2009 19:46:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OpenGL and Direct3D are typically about the same... but in some cases D3D can be slower (rarely) and so can OpenGL (more often) on Windows depending on the system.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Tue, 29 Dec 2009 19:52:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I just noticed OpenGL is a bit faster at rendering using the primitivesa addon. Looks like OpenGL doesn&#39;t like a lot of textures but loves vertices, just a hunch. Anyway, works a lot better now even with 5000 particles, thank Trent.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Tue, 29 Dec 2009 19:58:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Latest version uploaded! Should not crash, regardless of particle count... Added some statistics (fps and active particles), and of course the motion blur <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>I&#39;m pretty pleased at how I ended up solving the particle handling... It should be very fast and still pretty flexible.</p><p>Do you guys get any slowdowns?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Wed, 30 Dec 2009 00:26:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Jonatan, that was beautiful!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Wed, 30 Dec 2009 00:53:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here is my current version. The colors/speed/size are all customizable, currently it uses a white explosion. If something doesn&#39;t work (dll missing) please tell.</p><p>Also, how does it work with a lot of particles? (click very fast to produce them)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Wed, 30 Dec 2009 01:33:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>liballegro_image-4.9.15.dll is missing (at least).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Wed, 30 Dec 2009 01:50:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Jonatan, that is pretty slick <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>I think I&#39;ll have to re-code my &quot;blur&quot; effect, I&#39;m pumping out too much particles just to create that effect. Although I am doing 14160 of them without any noticeable slowdown ... hmm.</p><p>I even built a small editor for the launch sequence with all the needed parameters <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /><br /><span class="remote-thumbnail"><span class="json">{"name":"600139","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/6\/86f80cebcb48c490e74f81d60d257062.png","w":968,"h":413,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/6\/86f80cebcb48c490e74f81d60d257062"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/8/6/86f80cebcb48c490e74f81d60d257062-240.jpg" alt="600139" width="240" height="102" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Wed, 30 Dec 2009 02:06:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t even link with allegro_image, so don&#39;t know why it complains about that. How about now?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Wed, 30 Dec 2009 07:23:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Works fine here Vanetto <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /><br />I don&#39;t have anything Allegro related installed, so it is safe to assume all the needed DLL files are now included <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Runs smoothly until I frantically press the mousebuttons to get 25K particles, it then drops down to ~30 FPS <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> (~60 FPS with 14K)</p><p>I have for now &quot;composed&quot; about 30 seconds fireworks-frenzy-show with my editor (and cheating with notepad), another 30 to go <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Wed, 30 Dec 2009 07:59:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Could you upload some screenshots for each of your updates for those that don&#39;t want to download every release or if they don&#39;t have OpenLayer?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Archon)</author>
		<pubDate>Wed, 30 Dec 2009 08:55:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Some screenshots!</p><p><span class="remote-thumbnail"><span class="json">{"name":"600144","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/3\/f333ff3f5761cf8c14a318526d37a08a.jpg","w":795,"h":595,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/3\/f333ff3f5761cf8c14a318526d37a08a"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/f/3/f333ff3f5761cf8c14a318526d37a08a-240.jpg" alt="600144" width="240" height="179" /></span><br /><span class="remote-thumbnail"><span class="json">{"name":"600145","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/9\/39f5b2cef77f9449ba79c7cdc5c22aa6.jpg","w":792,"h":595,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/9\/39f5b2cef77f9449ba79c7cdc5c22aa6"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/3/9/39f5b2cef77f9449ba79c7cdc5c22aa6-240.jpg" alt="600145" width="240" height="180" /></span><br /><span class="remote-thumbnail"><span class="json">{"name":"600146","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/c\/bcd513012e90348d5bad15be5dda152a.jpg","w":798,"h":597,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/c\/bcd513012e90348d5bad15be5dda152a"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/b/c/bcd513012e90348d5bad15be5dda152a-240.jpg" alt="600146" width="240" height="179" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Wed, 30 Dec 2009 14:04:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I improved mine a little bit.  It has regulated timing now, and continues on indefinitely until you press ESC. I&#39;m quite happy with how it fast it runs, since it&#39;s my first attempt at particles, and it&#39;s not using any hardware acceleration.</p><p>The source and a Windows binary are attached.  I&#39;ve also made another video, though it&#39;s at a very low framerate, so doesn&#39;t look that great.</p><p><div class="media-player youtube"><div style="margin: 1em 2em; background: url(/images/movie.png); width: 180px; height: 100px; text-align: center;"><a href="http://www.allegro.cc//www.youtube.com/watch?v=2BJU1_TGUWE" target="_blank"><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/object/d/2/d204733df79576cece53b8e57ee2f823.jpg" border="0" alt="video" title="Click to play video" /></a></div></div>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Wed, 30 Dec 2009 22:41:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Lenny, i think it would look nicer if you slowed it down a bit, it&#39;s too fast right now (for my eyes at least!). <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>(i&#39;ll soon upload my entry)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (FMC)</author>
		<pubDate>Wed, 30 Dec 2009 23:34:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Its also far too uniform and ring shaped.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 30 Dec 2009 23:41:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>[Edit]<br />Eh, wasn&#39;t funny... I quoted wrong person thinking it was someone else.</p><p><img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Wed, 30 Dec 2009 23:54:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It is done!</p><p>Here it is: <a href="http://www.allegro.cc/files/attachment/600153">http://www.allegro.cc/files/attachment/600153</a> (source + binary + dll + data)</p><p>It&#39;s scripted and you WILL KNOW when it ends, please don&#39;t loose the GRAN FINALE <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /><br />There are a few pauses during the act, but they are just that, pauses.</p><p>A few things:<br />-Nine different (more or less) fireworks in display for a minute or so with much randomness and scripted launching sequence.<br />-The source is a huge hack, avoid it if possible!<br />-The program will use your desktop resolution, scaling itself, but best results will appear at 1680x1050. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>-If the program isn&#39;t smooth i reccomend lowering these two:
</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#define MINE_PARTS 350</span>
<span class="p">#define ROCKET_PARTS 400</span>
</pre></div></div><p> </p><p>-Screenshot of near-Finale:
</p><div class="spoiler"><p><span class="remote-thumbnail"><span class="json">{"name":"600154","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/f\/cff179deb16a8270bb941fd05ea246da.jpg","w":840,"h":525,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/f\/cff179deb16a8270bb941fd05ea246da"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/c/f/cff179deb16a8270bb941fd05ea246da-240.jpg" alt="600154" width="240" height="150" /></span></p></div><p>

Please let me know if it runs! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (FMC)</author>
		<pubDate>Thu, 31 Dec 2009 00:24:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/845142#target">FMC</a> said:</div><div class="quote"><p>Please let me know if it runs! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p></div></div><p>
Runs fine on 1440x900 ... and looking good <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Thu, 31 Dec 2009 01:06:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/845136#target">FMC</a> said:</div><div class="quote"><p>Lenny, i think it would look nicer if you slowed it down a bit, it&#39;s too fast right now (for my eyes at least!).</p></div></div><p>

I just checked the YouTube video, and it seems to be running slightly fast. It also seems to have dropped a few more frames than the version I uploaded.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/845138#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>Its also far too uniform and ring shaped.</p></div></div><p>

I&#39;ve attached a version with more randomness in the particle&#39;s velocities, so it makes it less evenly distributed.</p><p>edit:</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/845142#target">FMC</a> said:</div><div class="quote"><p>Please let me know if it runs!</p></div></div><p>

It ran very nicely here at 1680x1050.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Thu, 31 Dec 2009 03:56:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/845146#target">ixilom</a> said:</div><div class="quote"><p>Runs fine on 1440x900 ... and looking good</p></div></div><p>
Great news... waiting for your entry, video looked nice.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/845175#target">LennyLen</a> said:</div><div class="quote"><p>It ran very nicely here at 1680x1050.</p></div></div><p>
Good! <br />Your entry is still a little too fast for me, but maybe it&#39;s just me. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Cookies to Jonatan who came up with an idea that gave me an excuse to code something (it had been ages!) <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>blargmob: your program crashes on start for me <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (FMC)</author>
		<pubDate>Thu, 31 Dec 2009 04:08:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><h1>Finito</h1><p>
I&#39;m finally done. YAY!
</p><h1>Jibberish</h1><p>
It was fun to make, even if I over engineered it (like I always do <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />)<br />Seems everyone else has been able to cram everything in a neat and tight package (like main.c), whilst I went ape<span class="cuss"><span>shit</span></span> and made a <span class="cuss"><span><span class="cuss"><span>shit</span></span></span></span>load of files <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p><h1>The files</h1><p>
<a href="http://www.allegro.cc/files/attachment/600159">Source</a><br /><a href="http://www.allegro.cc/files/attachment/600158">Binary</a>
</p><h2>Getting it to work</h2><p>
The source was built with Visual Studio, .NET 3.5 and XNA 3.1, so you gonna need those.<br />The binary most likely needs some parts of XNA 3.1.
</p><h1>Youtube</h1><p>
If no one for some reason is able to run/build my contribution, there is always youtube <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /><br /><div class="media-player youtube"><div style="margin: 1em 2em; background: url(/images/movie.png); width: 180px; height: 100px; text-align: center;"><a href="http://www.allegro.cc//www.youtube.com/watch?v=0DbFk7wcJho" target="_blank"><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/object/0/7/0719518203c917650fb44de350af0040.jpg" border="0" alt="video" title="Click to play video" /></a></div></div>
</p><h1>Thanks</h1><p>
Thank you Allegro.cc and members, not just for this thread, but all the help and stupid flamewars we had this year. Lets not stop next year <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p><h1>Final words</h1><p>
I&#39;m of to bed, wont be online later today (it is 3am now) as I&#39;m going over to my sisters place to &quot;celebrate&quot; the new year when I wake up.</p><p>I wish you all a happy 2010!
</p><div class="spoiler"><p>Vote for me, or else! <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Thu, 31 Dec 2009 07:59:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m a little drunk. Anyway, I&#39;ve been too exhausted to attempt to build any entries, and I generally avoid binaries. From the YouTube submissions I&#39;ve seen, ixilom&#39;s entry seems very well assembled. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> I am drunk so I don&#39;t really remember previous posts as well as I&#39;d like to, but it does strike me as the most detailed<span class="ref"><sup>[<a href="#">1</a>]</sup></span>. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p><div class="ref-block"><h2>References</h2><ol><li>Though honorable mentions go to LennyLen for his brilliant fake, which I thought was sooooo awesome until I realized it was a fake. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></li></ol></div></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Thu, 31 Dec 2009 11:04:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I vote for mine.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Thu, 31 Dec 2009 15:54:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is probably the final version, no more time to work on it. Overall, I&#39;m pretty pleased with it! Could use a bit more fireworks (about 38 seconds now), and a few more different types... And better polish obviously.</p><p>Great work everyone, I&#39;m glad this idea took off <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p><span class="remote-thumbnail"><span class="json">{"name":"600163","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/4\/c478ec4453ba6c3b48bc4b8752e98a62.jpg","w":794,"h":592,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/4\/c478ec4453ba6c3b48bc4b8752e98a62"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/c/4/c478ec4453ba6c3b48bc4b8752e98a62-240.jpg" alt="600163" width="240" height="178" /></span></p><p><span class="remote-thumbnail"><span class="json">{"name":"600165","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/c\/ec5088d2eedcac009df82c1f07c8e315.jpg","w":797,"h":601,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/c\/ec5088d2eedcac009df82c1f07c8e315"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/e/c/ec5088d2eedcac009df82c1f07c8e315-240.jpg" alt="600165" width="240" height="180" /></span></p><p>EDIT: I do have a strange problem; I&#39;m using an STL vector for my storage, but the program crashes whenever it grows in size (so I have to reserve(some larger number) in order for it to run)... I cant figure out why. The relevant code should be in ParticleHandler.cpp if anyone wants to have a look at it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Thu, 31 Dec 2009 17:40:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="source-code snippet"><div class="inner"><pre><span class="k1">void</span> ParticleHandler::removeParticle<span class="k2">(</span><span class="k1">int</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a><span class="k2">)</span> <span class="k2">{</span>

    particleArray<span class="k2">[</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a><span class="k2">]</span> <span class="k3">=</span> particleArray<span class="k2">[</span>particleArray.size<span class="k2">(</span><span class="k2">)</span><span class="k3">-</span><span class="n">1</span><span class="k2">]</span><span class="k2">;</span>

    particleArray.pop_back<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>

<span class="k2">}</span>
</pre></div></div><p>
Should be
</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">void</span> ParticleHandler::removeParticle<span class="k2">(</span><span class="k1">int</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a><span class="k2">)</span> <span class="k2">{</span>

    <span class="k1">if</span><span class="k2">(</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a> <span class="k3">!</span><span class="k3">=</span> particleArray.size<span class="k2">(</span><span class="k2">)</span> <span class="k3">-</span> <span class="n">1</span><span class="k2">)</span>
        particleArray<span class="k2">[</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a><span class="k2">]</span> <span class="k3">=</span> particleArray<span class="k2">[</span>particleArray.size<span class="k2">(</span><span class="k2">)</span><span class="k3">-</span><span class="n">1</span><span class="k2">]</span><span class="k2">;</span>

    particleArray.pop_back<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>

<span class="k2">}</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Thu, 31 Dec 2009 22:24:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm. While that&#39;s correct (thanks for catching it!), it didn&#39;t actually solve the problem :/</p><p>I&#39;ve been experimenting with adding a bit of bloom to it btw... Just drawing the particle buffer to 5 different bloom buffers (that are 1/4 of screen size), each with a 0.5 pixel offset (and one at 0,0) and then drawing those to the screen at full size.</p><p>It looks pretty good, but I think i might need to tweek a few color values around (things get a bit too white otherwise).</p><p>EDIT; also, 27k particles doesent even touch the FPS on my computer <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> Pretty sweet if I may say so myself.</p><p>Happy new years everyone!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Thu, 31 Dec 2009 22:40:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The problem is likely a memory error elsewhere in your code.  A few tips... You should use a deque as it is more optimized for removing and inserting on the ends.</p><p>Use .at() instead of [] notation.  This will throw exceptions which are good for debugging.  In release mode you can use [] again resulting in a small optimization.</p><p>Here is a way to write two of your functions a bit more clearly / cleanly.
</p><div class="source-code snippet"><div class="inner"><pre>Particle <span class="k3">*</span>ParticleHandler::getNewParticle<span class="k2">(</span><span class="k2">)</span> <span class="k2">{</span>

    particleArray.push_back<span class="k2">(</span>Particle<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>

    <span class="k1">return</span> <span class="k3">&amp;</span>particleArray.back<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>

<span class="k1">void</span> ParticleHandler::removeParticle<span class="k2">(</span><span class="k1">int</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a><span class="k2">)</span> <span class="k2">{</span>

    <span class="k1">if</span><span class="k2">(</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a> <span class="k3">&lt;</span> particleArray.size<span class="k2">(</span><span class="k2">)</span> <span class="k3">-</span> <span class="n">1</span><span class="k2">)</span>
        particleArray.at<span class="k2">(</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a><span class="k2">)</span> <span class="k3">=</span> particleArray.back<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>

    particleArray.pop_back<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Thu, 31 Dec 2009 22:54:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602640/845200#target">bamccaig</a> said:</div><div class="quote"><p>
I generally avoid binaries. 
</p></div></div><p>

Sounds like you&#39;ve got a case of chronic gentooitis.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Fri, 01 Jan 2010 05:23:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My vote goes for ixilom! Very pretty and ambitious.</p><p>I managed to track down that nasty little memory bug I had. I was holding on to a pointer to an object in a vector while I was adding stuff to the vector, so that when it got resized, the pointer was left dangling... silly.</p><p>Here is the latest (and last, this is getting silly now <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />) version if anyone is interested <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> It now has a fairly pretty &quot;glow&quot;-effect, motion blur, cheap reflective water (just a mirrored/stretched background) and a cheesy backdrop <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>Plenty of screenshots attached.</p><p>EDIT: I wonder if it&#39;s more effecient to store the particles as pointers in the vector, and take the cache hits or just do as I do now and take the heavier moving of memory instead.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Sat, 02 Jan 2010 04:24:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I couldn&#39;t get any pretty firework particle explosions but I was able to make other neat particle effects at least.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (KnightWhoSaysNi)</author>
		<pubDate>Sat, 02 Jan 2010 14:47:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I put my vote on Jonatan <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Sun, 03 Jan 2010 18:33:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I added rockets, it was quick and dirty actually. I&#39;m not proud of the code, just the results, I think it looks quite pretty. I&#39;m looking into optimizing it and making it even more optically pleasing.</p><p>Any suggestions on what do add?</p><p>I attached the source too, if anyone will look at it, ignore <tt>programme.cpp/.hpp</tt>. Is there any way to optimize the loops in <tt>explosion.cpp</tt> and <tt>main.cpp</tt>?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Mon, 04 Jan 2010 04:33:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Resolution fail. Cant even see the top of the window (and I&#39;m at 1280*1024, which afaik, is not considered tiny).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Mon, 04 Jan 2010 04:37:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Votes <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ixilom)</author>
		<pubDate>Mon, 04 Jan 2010 22:52:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>1 for Ixilom
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Mon, 04 Jan 2010 23:21:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OK fixed the resolution to 1024x768.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vanneto)</author>
		<pubDate>Tue, 05 Jan 2010 01:07:46 +0000</pubDate>
	</item>
</rss>
