<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>[A5] Dune Smasher - Framework Test</title>
		<link>http://www.allegro.cc/forums/view/602838</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 16 Jan 2010 22:57:38 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><h2> Dune Smasher! </h2><p>

</p><h2>EDIT: Updated 1/15</h2><p>

New version! There´s a bunch of new features in this update!<br />Changes:
</p><ul><li><p>Hopefully most bugs were fixed.
</p></li><li><p>5 New secondary weapons, homing missile, flamethrower, zap gun, laser gun, and finally, the nuclear attack(you´re lucky if you get it).
</p></li><li><p>Added crates that fall to the stage in random positions periodically. The content of these crates is hidden until you grab them, so you should better check them out. There might be a health pack.
</p></li><li><p>Randomized enemies, with different coloring, size, and health.
</p></li><li><p>Difficulty increases the more time you play.
</p></li><li><p>Widescreen support. It increases the play size, which IMO, is better.</p></li></ul><p><i>Use your high-tech heavy armored tank to blast the enemy jeeps! Shoot &#39;em, blast &#39;em, crash &#39;em, zap&#39;em, burn&#39;em, pierce&#39;em, pursuit&#39;em, and finally... nuke&#39;em! 
Nothing is enough for this great tank.</i></p><p>I&#39;ve decided to start fresh this year with a new framework(mostly inspired by Mark&#39;s one <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />) that would solve all my problems of laziness and C/C++ mixture of my old one. So I coded today this little game to test my actual framework&#39;s capabilities with most computers. Obviously it isn&#39;t finished yet, but its base might be enough to show what I&#39;m aiming towards with this new framework. I&#39;m trying to bring back most of the features that OpenLayer had(Garbage Collection is a must <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />), but using A5, as well as adding new features I like. The source code is available, waiting for one of the pros to come and tear it to shreds, and tell me how should I code <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><h3> Screenshot </h3><p>

<span class="remote-thumbnail"><span class="json">{"name":"600293","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/f\/7f6bdbeb3e61877b0d9c61289ee2a066.jpg","w":1024,"h":768,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/f\/7f6bdbeb3e61877b0d9c61289ee2a066"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/7/f/7f6bdbeb3e61877b0d9c61289ee2a066-240.jpg" alt="600293" width="240" height="180" /></span></p><h3> Download </h3><p>

<a href="http://www.allegro.cc/files/attachment/600292">Source code and Windows binaries</a>  Updated Version</p><p>Watch out, this new version is defaulted to 1280 x 768, so if you don´t have that resolution, edit the settings.ini file.</p><p><s>(If you know A5 games don&#39;t run well on your system, don&#39;t download it :P This one won&#39;t be the exception surely.)</s> Wait, this is A4.9.16, which has some bugs corrected regarding font drawing. Maybe you should give it a try.</p><h3> Questions </h3><p>

1) Does it even run? Smooth? No stutters?<br />2) Average FPS and your specs?<br />3) Did you find the game too hard or too easy? Post your score! (F12 to save the Score in a screen)<br />4) Is this game worth of any additions like powerups or new enemies?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Fri, 15 Jan 2010 05:54:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>1) Smooth, however I think it crashed when I hit Escape in the middle of the game...</p><p>2) 60 FPS on AMD Athlon 64 Dual Core 4400+ at 2.44 GHz with an NVidia GeForce 9600 GT</p><p>3) Just right, score: 998573856</p><p>4) More variety would be nice</p><p>Cool game <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Fri, 15 Jan 2010 06:19:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>1. It runs without a hitch.<br />2. 60 FPS on Intel Core 2 Duo T6500 @ 2.1 GHz with ATI Mobility Radeon HD 4500 series<br />3. I find it a bit hard, and I only got 13550. But maybe it&#39;s because I&#39;m not much of a gamer.<br />4. Powerups will be a nice addition. And health packs.</p><p>Oh, and I like the creepy background music. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fishcake)</author>
		<pubDate>Fri, 15 Jan 2010 07:04:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>1) Runs smooth<br />2) 59 FPS, Althon XP 2000+ NVidia GeForce 6600GT<br />3) Alright, but a bit confusing: 22963<br />4) More missiles! And health packs, at least.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (MiquelFire)</author>
		<pubDate>Fri, 15 Jan 2010 07:16:12 +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/602838/847277#target">dario ff</a> said:</div><div class="quote"><p>mostly inspired by Mark&#39;s one <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p></div></div><p>Yea, baby. <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" /></p><p>What does K in KGF stand for?  I&#39;m assuming is GF &quot;Game Framework&quot;.</p><p>You should add a check for the window&#39;s close button.</p><p>Other than that everything works for me.  I was playing and ran into an enemy and was like &quot;enemies blow up? hell yea!&quot;  To which I proceeded to plow through all my enemies. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>Also, you should turn on the anisotropic or linear filter to smooth out the jaggies.  It&#39;s available in the allegro.cfg somewhere.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 15 Jan 2010 07:48:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m pretty sure anisotropic filtering does not work in A5, but linear does.</p><p>I&#39;ll try this game later, probably.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Fri, 15 Jan 2010 07:58:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="remote-thumbnail"><span class="json">{"name":"600288","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/a\/4aae6dbc37980b173f10bfc71583b8ed.png","w":600,"h":300,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/a\/4aae6dbc37980b173f10bfc71583b8ed"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/4/a/4aae6dbc37980b173f10bfc71583b8ed-240.jpg" alt="600288" width="240" height="120" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Shravan)</author>
		<pubDate>Fri, 15 Jan 2010 10:12:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Windows 7 x64, Geforce 8600M GT. Run smooth at my lcd&#39;s refresh rate: 60 hz.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Fri, 15 Jan 2010 13:59:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s okay but why doesn&#39;t it support my 3D monitor?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Fri, 15 Jan 2010 14:12:11 +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/602838/847283#target">blargmob</a> said:</div><div class="quote"><p>I think it crashed when I hit Escape in the middle of the game...</p></div></div><p>
I hate those post-closing crashes. Something is not deleting well as it should.</p><div class="quote_container"><div class="title">blargmob said:</div><div class="quote"><p>Just right, score: 998573856</p></div></div><p>
</p><div class="quote_container"><div class="title">I said:</div><div class="quote"><p>Post your score! (F12 to save the Score in a screen)</p></div></div><p>

Screenshot or it didn´t happen <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847299#target">Fishcake</a> said:</div><div class="quote"><p>Oh, and I like the creepy background music. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p></div></div><p>

That song is part of one the best games ever made. Let´s see who´s the first one who recognises it.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847308#target">Mark Oates</a> said:</div><div class="quote"><p>Yea, baby. <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" /></p></div></div><p>
You knew your lazy coding style would inspire people.</p><div class="quote_container"><div class="title">Mark Oates said:</div><div class="quote"><p>What does K in KGF stand for?</p></div></div><p>
It´s a secret!</p><div class="quote_container"><div class="title">Mark Oates said:</div><div class="quote"><p>Also, you should turn on the anisotropic or linear filter to smooth out the jaggies.  It&#39;s available in the allegro.cfg somewhere.
</p></div></div><p>

Thanks! I was wondering why rotation in A5 looked like software-accelerated <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>@Shravan: I´m happy to see you took the time to press F12 <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847328#target">Dustin Dettmer</a> said:</div><div class="quote"><p>It&#39;s okay but why doesn&#39;t it support my 3D monitor?
</p></div></div><p>
Maybe I can code an exclusive version for you with 3D jeeps and explosions <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /></p><p>So far, it seems no one ran into problems. Til Paul or Felix come in to crash the party. Maybe they should test it anyway, since I´m using A4.9.16 now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Fri, 15 Jan 2010 17:29:45 +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/602838/847308#target">Mark Oates</a> said:</div><div class="quote"><p>What does K in KGF stand for? I&#39;m assuming is GF &quot;Game Framework&quot;.
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847334#target">dario ff</a> said:</div><div class="quote"><p>It´s a secret!</p></div></div></div></div><p>
May be its a recursive acronym for KGF Game Framework.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Shravan)</author>
		<pubDate>Fri, 15 Jan 2010 19:53:10 +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/602838/847334#target">dario ff</a> said:</div><div class="quote"><p>That song is part of one the best games ever made. Let´s see who´s the first one who recognises it.</p></div></div><p>

It sounds very familiar but I can&#39;t quite place it...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Samuel Henderson)</author>
		<pubDate>Fri, 15 Jan 2010 20:59:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You should rename it to Poon Smasher.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Sat, 16 Jan 2010 00:31:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>New version Uploaded! Check the first post for details. There´s a lot of new gameplay elements now. Need testing!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Sat, 16 Jan 2010 01:15:24 +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/602838/847382#target">Mark Oates</a> said:</div><div class="quote"><p>
You should rename it to Poon Smasher.
</p></div></div><p>

Is that like a _cunt punt?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Sirocco)</author>
		<pubDate>Sat, 16 Jan 2010 01: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/602838/847277#target">dario ff</a> said:</div><div class="quote"><p>this is A4.9.16, which has some bugs corrected regarding font drawing</p></div></div><p>A side note abou this.  My framework caches rendered text to a bitmap which is subsequently used instead of direct font drawing.  As I recall, there were still problems with framerate playback despite this, so it may not be font drawing that&#39;s causing the speed issues that some people have noticed.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847388#target">Sirocco</a> said:</div><div class="quote"><p>Is that like a _cunt punt?</p></div></div><p>It&#39;s a little different, like, &quot;The other night I met this hot chick and we went back to her place and I smashed that poon!&quot;
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Sat, 16 Jan 2010 02:57:40 +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/602838/847395#target">Mark Oates</a> said:</div><div class="quote"><p>A side note abou this.  My framework caches rendered text to a bitmap which is subsequently used instead of direct font drawing.  As I recall, there were still problems with framerate playback despite this, so it may not be font drawing that&#39;s causing the speed issues that some people have noticed.</p></div></div><p>The fancy new deferred rendering stuff in the latest WIP has reduced the font rendering overhead significantly. Allegro 4.9 also did cached font rendering, and it was still slow, the slow part was sending all those drawing commands in spurts. Or so it seems. Batching them all up at once in a single go seems to have sped it up a lot.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 16 Jan 2010 05:25:00 +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/602838/847362#target">Samuel Henderson</a> said:</div><div class="quote"><p>It sounds very familiar but I can&#39;t quite place it...</p></div></div><p>

Here&#39;s an obvious clue:<br /><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/4/c/4c8b75a572cc5c99eb2dee244362e1cd.jpg" alt="600294" width="61" height="78" /></p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847395#target">Mark Oates</a> said:</div><div class="quote"><p>My framework caches rendered text to a bitmap which is subsequently used instead of direct font drawing.</p></div></div><p>
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847416#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>Allegro 4.9 also did cached font rendering</p></div></div><p>

So you cached a cache? <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /> This should be documented, so people can avoid this mistake in the future.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847382#target">Mark Oates</a> said:</div><div class="quote"><p>You should rename it to Poon Smasher.</p></div></div><p>

Give me 3 good reasons and I&#39;ll do it.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/602838/847355#target">Shravan</a> said:</div><div class="quote"><p><b>Maybe it&#39;s</b> a recursive acronym for KGF Game Framework.</p></div></div><p>
FTFY.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Sat, 16 Jan 2010 17:38:25 +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/602838/847449#target">dario ff</a> said:</div><div class="quote"><p>
So you cached a cache? <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /> This should be documented, so people can avoid this mistake in the future.
</p></div></div><p>
There are 3 different caches. The first is caching the glyph bitmaps loaded from the font file, this the only thing Allegro used to do (it still does it). The second is caching the drawing operations (instead of many al_draw_bitmaps using in effect one), this is the new feature in 4.9.16, courtesy of the deferred rendering. The third is caching the output of those draw bitmap calls, this is what Mark does, but Allegro does not.</p><p>Using the third cache (in addition to using the previous two) should be still a little faster than than using only the first two, although the difference should be much smaller now than before (when only the first cache was used). We could add a third cache of our own, caching the kerning values, but that will have to wait until someone starts complaining of the slowness of TTF font drawing again <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>Hopefully that made sense <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>EDIT: I suppose the second cache is more properly called a batch... w/e not rewriting my post <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sat, 16 Jan 2010 21:49:52 +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/602838/847465#target">SiegeLord</a> said:</div><div class="quote"><p>I suppose the second cache is more properly called a batch...</p></div></div><p>

Indeed. That&#39;s how every allegro dev named it. I don´t know, and ain´t interested either in the exact terminology, but I always assumed cache goes for storing something and avoid loading or processing the same data again, and batch goes stacking up piles of commands for a single call later. I also hope this made sense.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Sat, 16 Jan 2010 22:57:38 +0000</pubDate>
	</item>
</rss>
