<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Struggling Games Developer</title>
	<atom:link href="http://strugglegamedev.gamestopica.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://strugglegamedev.gamestopica.net</link>
	<description>Extrakun@GamesTopica.Net</description>
	<lastBuildDate>Wed, 07 Oct 2009 08:11:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Resizable Application Windows in QT 4.5</title>
		<link>http://strugglegamedev.gamestopica.net/2009/10/resizable-application-windows-in-qt-4-5/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/10/resizable-application-windows-in-qt-4-5/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 08:11:05 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[QT Programming]]></category>
		<category><![CDATA[How-Tos]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=34</guid>
		<description><![CDATA[One of the quirk with QT 4.5 is that in order to get your entire application to resize (all the elements within it), they have to be within a layout. However, the QT Designer won&#8217;t let you assign a layout to empty QWidgets, especially if they are inside the tab widget. So this is how [...]]]></description>
			<content:encoded><![CDATA[<p>One of the quirk with QT 4.5 is that in order to get your entire application to resize (all the elements within it), they have to be within a layout. However, the QT Designer won&#8217;t let you assign a layout to empty QWidgets, especially if they are inside the tab widget. So this is how I go about solving the problem.</p>
<ol>
<li>Add a vertical layout into each of the QWidget inside the tab. (You need this for the whole application to resize, anyway)</li>
<li>Click on the QWidget (not in the hierarchy!), right click and add a Layout. By this time, the &#8220;no entry&#8221; icon next to that widget would disappear</li>
<li>If you are dynamically adding widgets to the tab during run-time, you have to add to the vertical layout inside the QWidget of that tab.</li>
</ol>
<p>If I have more time, I would put up a step by step tutoiral.</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/10/resizable-application-windows-in-qt-4-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips for the Novice Freelancer #1 &#8211; Virtual PC and VMWare</title>
		<link>http://strugglegamedev.gamestopica.net/2009/09/tips-for-the-novice-freelancer-1-virtual-pc-and-vmware/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/09/tips-for-the-novice-freelancer-1-virtual-pc-and-vmware/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 08:39:26 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=31</guid>
		<description><![CDATA[Got Windows 7? If you are going to do applications development on it, makes sure you get the Professional one &#8211; this allows you to write an emulation of Windows XP. Don&#8217;t have Windows 7? You will have to go for VMWare server. Why these two programs. Testing for backward compatability. With the expactions of [...]]]></description>
			<content:encoded><![CDATA[<p>Got Windows 7? If you are going to do applications development on it, makes sure you get the Professional one &#8211; this allows you to write an emulation of Windows XP. Don&#8217;t have Windows 7? You will have to go for VMWare server. Why these two programs. Testing for backward compatability. With the expactions of web-applications to work on IE6 (this is a big debate, but the sad fact is that IE6 isn&#8217;t going anywhere any-soon), you need to test your web-apps and applications on different type of machine builds.</p>
<p>One problem is IE6 &#8211; You need to a fresh install of Windows XP and SP2 to get IE6. Well, that&#8217;s troublesome &#8211; however, with Virtual PC and VMWare, you can run multiple copies of OS with different builds on your PC. Just make sure for Virtual PC, your intel/amd chip supports virtualization and that it is turned on in BIOS. And you need  a freaking amount of hard-disk space.</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/09/tips-for-the-novice-freelancer-1-virtual-pc-and-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing QWT and getting it to work with QT 4.5 Windows</title>
		<link>http://strugglegamedev.gamestopica.net/2009/09/installing-qwt-and-getting-it-to-work-with-qt-4-5-windows/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/09/installing-qwt-and-getting-it-to-work-with-qt-4-5-windows/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 05:25:03 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[QT Programming]]></category>
		<category><![CDATA[How-Tos]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=29</guid>
		<description><![CDATA[After much trial and error, here is how I have managed to get QWT working with QT 4.5 Locate the QWT web-page at SourceForge Make sure that you download the QWT 5.1.2 version. For some reasons, SourceForge lists the older version 4 first Read the INSTALL file &#8211; that pretty much covers what you need [...]]]></description>
			<content:encoded><![CDATA[<p>After much trial and error, here is how I have managed to get QWT working with QT 4.5</p>
<ol>
<li>Locate the QWT web-page at <a href="http://sourceforge.net/projects/qwt" target="_blank">SourceForge</a></li>
<li>Make sure that you download the QWT <strong>5.1.2</strong> version. For some reasons, SourceForge lists the older version 4 first</li>
<li>Read the INSTALL file &#8211; that pretty much covers what you need to do, but for more control, generate the Visual Studio project files (qmake-msvc vc)</li>
<li>Go find the project file in the \src\ folder</li>
<li>Complie a release build from it</li>
</ol>
<p>If all you need is a release build, then this is all fine and good. However, if you want a debug build&#8230;</p>
<ol>
<li>Go to project properties, select Debug</li>
<li>Go to Linker, General, and add a &#8220;_d&#8221; to the end of the generated file</li>
<li>Complie</li>
</ol>
<p>Of course, you have to remember set up the input files to the examples (qwt5.lib_d instead of qwt5.lib) for them to work. Now for the goody &#8211; you can now complie the plugin (found in the \designer folder) using either release or debug, and even both, since you can have both verisons of QWT existing.</p>
<p>The fnal step is to place the two new dlls (the release one, and your own debug one) into the qt\bin folder. Place the plugin dlls into the \plugins\designer folder. Then this whole thing should work.</p>
<p>Hopefully.</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/09/installing-qwt-and-getting-it-to-work-with-qt-4-5-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opensource Turn-based Strategy Games</title>
		<link>http://strugglegamedev.gamestopica.net/2009/09/opensource-turn-based-strategy-games/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/09/opensource-turn-based-strategy-games/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 09:51:12 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[Open Source Games]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=26</guid>
		<description><![CDATA[Writing a Turn-based strategy games can be quite a daunting process; there&#8217;s the map, the AI and the all-important GUI elements. Over at the Freeware Genius you can find 19 such games. Of particular interest to me is 8 Kingdoms, which reminds me of the Total War series, and PHP Diplomacy. I would be looking [...]]]></description>
			<content:encoded><![CDATA[<p>Writing a Turn-based strategy games can be quite a daunting process; there&#8217;s the map, the AI and the all-important GUI elements. Over at the <a href="http://www.freewaregenius.com/2008/05/15/an-overview-of-free-turn-based-strategy-and-war-games/" target="_blank">Freeware Genius</a> you can find 19 such games. Of particular interest to me is 8 Kingdoms, which reminds me of the Total War series, and PHP Diplomacy. I would be looking over them to see which one I could base my own game on. Hopefully I have luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/09/opensource-turn-based-strategy-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2D Platformers are not dead! Take Trine, for example</title>
		<link>http://strugglegamedev.gamestopica.net/2009/08/2d-platformers-are-not-dead-take-trine-for-example/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/08/2d-platformers-are-not-dead-take-trine-for-example/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 14:37:38 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[Thought Records]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=23</guid>
		<description><![CDATA[Sometimes we think that old game genres like SHUMP, 2D platformers, beat&#8217;em up and such are gone, dead, replaced by fanciful 3D RPG, RTS and turb-baed games. Well, Trine isn&#8217;t one of them. It is an excellent 2D platformer, but uses 3d graphics for characters, backgrounds and the environment, and blend all those elements into [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes we think that old game genres like SHUMP, 2D platformers, beat&#8217;em up and such are gone, dead, replaced by fanciful 3D RPG, RTS and turb-baed games. Well, Trine isn&#8217;t one of them. It is an excellent 2D platformer, but uses 3d graphics for characters, backgrounds and the environment, and blend all those elements into a glorious looking game which is immersive and haunting. Here&#8217;s a link to a <a href="http://www.youtube.com/watch?v=TXILzS03HCo" target="_blank">gameplay video</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/08/2d-platformers-are-not-dead-take-trine-for-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching between languages</title>
		<link>http://strugglegamedev.gamestopica.net/2009/07/switching-between-languages/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/07/switching-between-languages/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 14:37:18 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[Thought Records]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=18</guid>
		<description><![CDATA[In daytime, I work with C++. When it comes to night, I have to struggle with PHP; meanwhile I am learning Actionscript 3 and Javascript scripting for Unity3D. It&#8217;s no wonder that I begin to write code like this: &#160; #include_once(&#34;config.php&#34;); public class MyClass : public MyInterface &#123; public function __construct&#40;$initialData : array&#41; &#123; $this-&#62;initialData [...]]]></description>
			<content:encoded><![CDATA[<p>In daytime, I work with C++. When it comes to night, I have to struggle with PHP; meanwhile I am learning Actionscript 3 and Javascript scripting for Unity3D. It&#8217;s no wonder that I begin to write code like this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #666666; font-style: italic;">#include_once(&quot;config.php&quot;);
</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> MyClass <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">public</span> MyInterface
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #000088;">$initialData</span> <span style="color: #339933;">:</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
     <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">initialData</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$initialData</span><span style="color: #339933;">;</span>
     <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span>int i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$initialData</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
     <span style="color: #009900;">&#123;</span>
             <span style="color: #339933;">....</span>
     <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Someone help me, please!</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/07/switching-between-languages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why you should consider learning XNA</title>
		<link>http://strugglegamedev.gamestopica.net/2009/07/why-you-should-consider-learning-xna/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/07/why-you-should-consider-learning-xna/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 07:20:12 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=16</guid>
		<description><![CDATA[If you are new to games development in general, and especially 3D, XNA is one good way to start out. Why so? For one, there is a large number of materials published on it and they cover quite large ground &#8211; terrain, shaders, cameras, 3d movement and the such. Second, it is using the right-handed [...]]]></description>
			<content:encoded><![CDATA[<p>If you are new to games development in general, and especially 3D, XNA is one good way to start out. Why so? For one, there is a large number of materials published on it and they cover quite large ground &#8211; terrain, shaders, cameras, 3d movement and the such. Second, it is using the right-handed coordinate system, which make its compatible with whatever mathematics you can find in textbooks and OpenGL tutorials.</p>
<p>The other advantage,  I have realised, is that Unity3D&#8217;s API shares quite a number of similarity with XNA&#8217;s Maths library. That will in handy if you are intending to pick up Unity3D later on.</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/07/why-you-should-consider-learning-xna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Started with XNA and such</title>
		<link>http://strugglegamedev.gamestopica.net/2009/07/getting-started-with-xna-and-such/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/07/getting-started-with-xna-and-such/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 06:49:47 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=13</guid>
		<description><![CDATA[First, you will have to get XNA and Visual Studio 2008. If you are a student, head off to DreamSpark to get the student&#8217;s editions. After the installation, here are some good sites to get started on the basic: XNAResources for a tile engine tutorial Blue Rose Games for sprites and 3d tutorials XNA Development: [...]]]></description>
			<content:encoded><![CDATA[<p>First, you will have to get XNA and Visual Studio 2008. If you are a student, head off to <a href="https://www.dreamspark.com/default.aspx" target="_blank">DreamSpark </a>to get the student&#8217;s editions. After the installation, here are some good sites to get started on the basic:</p>
<ul>
<li><a href="http://xnaresources.com/" target="_blank">XNAResources</a> for a tile engine tutorial</li>
<li><a href="http://www.bluerosegames.com/brg/xna101.aspx" target="_blank">Blue Rose Games</a> for sprites and 3d tutorials</li>
<li><a href="http://www.xnadevelopment.com/" target="_blank">XNA Development: Game Development</a> for the Masses is a great place to start with 2D programming</li>
<li>For everything else, there&#8217;s <a href="http://www.ziggyware.com" target="_self">Ziggyware</a></li>
</ul>
<p>Of course, the Creator Club for XNA has some samples and tutorials worth looking through too.</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/07/getting-started-with-xna-and-such/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Research: Doing a custom frontpage for WordPress</title>
		<link>http://strugglegamedev.gamestopica.net/2009/07/research-doing-a-custom-frontpage-for-wordpress/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/07/research-doing-a-custom-frontpage-for-wordpress/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 10:54:32 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[WordPress Development]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=10</guid>
		<description><![CDATA[One of my challenges now, for a particularly difficult project, is to create a WordPress site, with a custom front-page. As it would be showing posts in different layouts, from different categories, I would need to create a custom WordPress loop. Looking at this, I realise I need to answer the following questions: How do [...]]]></description>
			<content:encoded><![CDATA[<p>One of my challenges now, for a particularly difficult project, is to create a WordPress site, with a custom front-page. As it would be showing posts in different layouts, from different categories, I would need to create a custom WordPress loop. Looking at this, I realise I need to answer the following questions:</p>
<ol>
<li>How do I display a custom page as a WordPress Frontpage?</li>
<li>How do I get multiple WordPress Loop?</li>
<li>How do I select which posts to show and what not to show?</li>
</ol>
<p><span id="more-10"></span></p>
<h2>WordPress Custom Frontpage</h2>
<p>The documentation is very helpful on defining a custom WordPress front-page. The WordPress Codex <a href="http://codex.wordpress.org/Pages" target="_blank">states how to do it</a> Meanwhile, other blog-sites I have googled include &#8220;<a href="http://moshublog.com/2007/09/10/static-frontpage-combined-with-dynamic-content/" target="_blank">Static Frontpage &#8211; combined with Dynamic Content</a>&#8221; over at MushuBlog. That one has an additional bonuses of telling you how to get posts from different categories and put them in your static frontpage. This leads to our second question &#8211; getting our own query loop, and having multiple loops.</p>
<h2>Multiple WordPress Loops</h2>
<p>The Loop is the mean by which you fetch posts from the WordPress backend database. It turns out that this is such a large issue that it has been fully documented with <a href="http://codex.wordpress.org/The_Loop" target="_blank">numerous examples on the WordPress Codex</a> since I have last looked there.</p>
<h2>WP Query, the Mysterious Object</h2>
<p>WP Query is the mean which you use to retrieve posts. Whie this is also documented in the Codex (<a href="http://codex.wordpress.org/Function_Reference/WP_Query" target="_blank">WP_Query reference</a>), one thing that is of considerable mystery is what are the queries variables which you can pass in? We know that you can specify the categories, the number of posts, but what else? <a href="http://codex.wordpress.org/Template_Tags/query_posts" target="_blank">This piece of article on the codex seems to be comprehensive</a>; worse to the worst, I will download an entire installation of WordPress and examine it with Eclipse PHP</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/07/research-doing-a-custom-frontpage-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Choosing a Template for WordPress</title>
		<link>http://strugglegamedev.gamestopica.net/2009/07/on-choosing-a-template-for-wordpress/</link>
		<comments>http://strugglegamedev.gamestopica.net/2009/07/on-choosing-a-template-for-wordpress/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 10:23:02 +0000</pubDate>
		<dc:creator>Extrakun</dc:creator>
				<category><![CDATA[Thought Records]]></category>
		<category><![CDATA[UI Design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://gamestopica.net/strugglegamedev/?p=3</guid>
		<description><![CDATA[After installing WordPress 2.8.1, configuring it and deleting the default &#8220;Welcome to WordPress Message!&#8221; what&#8217;s the next order of the day? Choosing a template (or a theme, to use WordPress Jargon). While there are lots of good designs out there, the graphics are just first impressions for me, and it does not count. It&#8217;s the [...]]]></description>
			<content:encoded><![CDATA[<p>After installing WordPress 2.8.1, configuring it and deleting the default &#8220;Welcome to WordPress Message!&#8221; what&#8217;s the next order of the day? Choosing a template (or a theme, to use WordPress Jargon). While there are lots of good designs out there, the graphics are just first impressions for me, and it does not count. It&#8217;s the little things that count. Here&#8217;s what I will look for when choosing a theme.</p>
<p><span id="more-3"></span></p>
<ol>
<li><strong>Headers. </strong>Did you define the headers? Are there adequate padding between the header and the next block of text. This is important when writing long articles.</li>
<li><strong>Ordered and Unordered List. </strong>Again, are there enough spacing between each of the items?</li>
<li><strong>Tables. </strong>Kudos for themes which have defined CSS and layout for table elements.</li>
<li><strong>Form Styling. </strong>I have came across themes with great visual design, but when it comes to HTML form, all the controls (checkboxes, radio buttons) are squeezed tightly together.</li>
<li><strong>Default Paragraph Style. </strong>No matter how pretty your visual design is, a blog is designed to be read.</li>
</ol>
<p>So there, after browsing through the themes gallery (made easier with 2.8.1), I have decided on this.</p>
]]></content:encoded>
			<wfw:commentRss>http://strugglegamedev.gamestopica.net/2009/07/on-choosing-a-template-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

