<?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>Roy Triesscheijn’s Weblog &#187; Development</title>
	<atom:link href="http://roy-t.nl/index.php/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://roy-t.nl</link>
	<description>My programming world</description>
	<lastBuildDate>Wed, 07 Dec 2011 23:19:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MVC in games</title>
		<link>http://roy-t.nl/index.php/2010/12/03/mvc-in-games/</link>
		<comments>http://roy-t.nl/index.php/2010/12/03/mvc-in-games/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 13:47:55 +0000</pubDate>
		<dc:creator>Roy Triesscheijn</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General Coding]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Gamedesign]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[sample]]></category>
		<category><![CDATA[theory]]></category>

		<guid isPermaLink="false">http://roy-t.nl/?p=431</guid>
		<description><![CDATA[I&#8217;ve written a new tutorial about MVC in games, and sgtconker.com was so kind as to redact and publish it. Here&#8217;s a small excerpt. MVC stands for &#8220;Model View Controller&#8221; and has been an architectural pattern in software engineering for quite some time now. MVC allows decoupling between what &#8216;the program is supposed to do&#8217; [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://roy-t.nl/index.php/2010/12/03/mvc-in-games/' addthis:title='MVC in games' ><a class="addthis_button_twitter"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_reddit"></a><a class="addthis_button_facebook"></a><a class="addthis_button_email"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written a new tutorial about MVC in games, and <a href=http://sgtconker.com>sgtconker.com</a> was so kind as to redact and publish it.</p>
<p>Here&#8217;s a small excerpt.</p>
<blockquote><p>MVC stands for &#8220;Model View Controller&#8221; and has been an architectural pattern in software engineering for quite some time now. MVC allows decoupling between what &#8216;the program is supposed to do&#8217; and how this is made visible and controlled.</p>
<p>In MVC the three main responsibilities of the application are handled by three separate parts.</p>
<p>-The model houses the actual business logic. The model is totally decoupled from the controller and view.<br />
-The view observes the information from the model, and if needed request an update of the information. Data from the model is lightly massaged, formatted and then presented.<br />
-The controller controls the application by mapping different kinds of input to public methods available on the model. The model itself always has the final responsibility of doing something with the request made by the controller. In many form-based applications the view and controller are hard to distinguish from each other.</p>
<p>Using MVC will allow you to reuse your complex model in different scenarios. Want to prepare your program for a different kind of input? Just write a new controller. Want to visualize your data in another way, just write a new viewer. In a good application controllers and viewers can even be changed while the application is running.</p></blockquote>
<p>The tutorial includes a full &#8216;game&#8217; where the theory is put to practice. You can read the full article <a href=http://www.sgtconker.com/2010/12/articles-mvc-in-games/>here</a></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://roy-t.nl/index.php/2010/12/03/mvc-in-games/' addthis:title='MVC in games' ><a class="addthis_button_twitter"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_reddit"></a><a class="addthis_button_facebook"></a><a class="addthis_button_email"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://roy-t.nl/index.php/2010/12/03/mvc-in-games/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SpaceAce progress report</title>
		<link>http://roy-t.nl/index.php/2010/02/26/spaceace-progress-report/</link>
		<comments>http://roy-t.nl/index.php/2010/02/26/spaceace-progress-report/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 10:30:26 +0000</pubDate>
		<dc:creator>Roy Triesscheijn</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General Gamedesign]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Gamedesign]]></category>
		<category><![CDATA[progress report]]></category>
		<category><![CDATA[SpaceAce]]></category>

		<guid isPermaLink="false">http://roy-t.nl/?p=300</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve blogged about the space rts game (working title SpaceAce) I&#8217;m making for Windows/XBLIG. People who follow me on twitter might have seen that I worked on a model for a space frigate. Although it&#8217;s more of a placeholder than anything fancy I find it much easier to see what [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://roy-t.nl/index.php/2010/02/26/spaceace-progress-report/' addthis:title='SpaceAce progress report' ><a class="addthis_button_twitter"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_reddit"></a><a class="addthis_button_facebook"></a><a class="addthis_button_email"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I&#8217;ve blogged about the space rts game (working title SpaceAce) I&#8217;m making for Windows/XBLIG. People who follow me <a title="My Twitter Account" href="http://twitter.com/roytries" target="_blank">on twitter</a> might have seen that I worked on a <a title="picture!" href="http://i47.tinypic.com/hrefzk.jpg" target="_blank">model for a space frigate</a>. Although it&#8217;s more of a placeholder than anything fancy I find it much easier to see what I&#8217;m doing when it&#8217;s a space frigate flying, and not a silly sphere or cube.</p>
<p>Here&#8217;s my (shortened) done/todolist.</p>
<p><strong>Done<br />
</strong><strong>-</strong>Scene Manager<br />
-Sophisticated input manager with keymapping functionality<br />
-Planets moving realistically (even eccentricity and inclination)<br />
-Demo&#8217;d a gui (I&#8217;ve tried to make an immediate gui in XNA, and I really liked it, to bad my art skills suck so hard, else I would show it off, might make it into a tutorial someday).<br />
-Ship following mouse, evading obstacles. (Still needs more testing).<br />
-Random galaxy generation.</p>
<p><strong>Todo</strong><br />
-Selecting objects<br />
-Waypoints for ships (you wouldn&#8217;t want them to just follow the mouse, would you <img src='http://roy-t.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ).<br />
-Building structures inside the planet space<br />
-Some research tree<br />
-Some way to build objects<br />
-Objects belonging to ai or other players</p>
<p>Those are the items with high priority, that need implementation first. Of course the actual todo list is much longer (and only inside my head). I hope I will have some time to implement all this stuff, but from what I&#8217;ve heard this semester is very demanding.</p>
<p>See you later alligator!</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://roy-t.nl/index.php/2010/02/26/spaceace-progress-report/' addthis:title='SpaceAce progress report' ><a class="addthis_button_twitter"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_reddit"></a><a class="addthis_button_facebook"></a><a class="addthis_button_email"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://roy-t.nl/index.php/2010/02/26/spaceace-progress-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Cygwin C/C++ compiler for Netbeans 6.5 (under Windows)</title>
		<link>http://roy-t.nl/index.php/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/</link>
		<comments>http://roy-t.nl/index.php/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 12:13:19 +0000</pubDate>
		<dc:creator>Roy Triesscheijn</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General Coding]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Netbeans]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://royalexander.wordpress.com/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/</guid>
		<description><![CDATA[Today I tried setting up Netbeans as a C IDE, it has built in support for C, but unfortunately enough you have to manually configure a compiler so that you can actually debug / build your C/C++ programs. &#160; Fortunately there is this helpful page at Netbeans.org to help you install Cygwin, a very popular [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://roy-t.nl/index.php/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/' addthis:title='Configuring Cygwin C/C++ compiler for Netbeans 6.5 (under Windows)' ><a class="addthis_button_twitter"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_reddit"></a><a class="addthis_button_facebook"></a><a class="addthis_button_email"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Today I tried setting up Netbeans as a C IDE, it has built in support for C, but unfortunately enough you have to manually configure a compiler so that you can actually debug / build your C/C++ programs.</p>
<p>&#160;</p>
<p>Fortunately there is this helpful page at <a href="http://www.netbeans.org/community/releases/65/cpp-setup-instructions.html" target="_blank">Netbeans.org</a> to help you install Cygwin, a very popular UNIX/Windows C/C++ compiler. However, this helpful page isn&#8217;t as helpful as I’d hope at all! It will point you in the right direction to download Cygwin, and will tell you what packages to select for download, it will even tell you to set up your PATH environment variable for Cygwin, but it will assume Netbeans auto detects the correct settings, which it unfortunately doesn’t do. (Well at least at my pc, and I’ve seen a few threads with the same problems around).</p>
<p>So here is my attempt at a more complete overview on installing Cygwin for Netbeans 6.5.</p>
<p>Go to <a title="http://www.cygwin.com/setup.exe" href="http://www.cygwin.com/setup.exe">http://www.cygwin.com/setup.exe</a> and download the small setup program. Run it (if your using Vista, set the compatibility options to XP SP2, and run it as administrator). Follow the pretty standard steps until you get to choose the installation packages. If you thought just pressing next would install the most common Cygwin apps, like the compiler (gcc.exe) and the make implementation, unfortunately Cygwin, is not just a C/C++ compiler, it even includes a java compiler, games, documentation, text editors etc. . Ok so just install everything, well that will install the compiler etc., but also 3GB of (for us) useless data. So don’t make the same mistake I did there. We are going to search for the few packages that we actually need. According to the Netbeans.org these are:</p>
<p><em>select gcc-core: C compiler, gcc-g++: C++ compiler, gdb: The GNU Debugger, and make: the GNU version of the &#8216;make&#8217; utility.</em></p>
<p>Unfortunately these aren’t easy to find. For example there is no core package directly visible (we do have base and development though).&#160; It took me a while but I think I’ve nailed it down. Select the following packages by clicking the weird “refresh” icon next to them until it says install:</p>
<blockquote><p>-The entire base package     <br />-In the development package select:       <br />&#8211;binutils      <br />&#8211;gcc core      <br />&#8211;gcc g++      <br />&#8211;gcc g77      <br />&#8211;gcc mingw core      <br />&#8211;gcc mingw g++      <br />&#8211;gcc mingw g77      <br />&#8211;gdb      <br />&#8211;make      <br />&#8211;mingw runtime</p>
</blockquote>
<p><em>(note I’m not sure about the mingw packages, this seems to be a seperate C compiler but it doesn’t seem to harm)</em></p>
<p>After that go to windows configuration screen-&gt;advanced-&gt;environment variables. And add &quot;C:\Cygwin\Bin” to the PATH variables (or wherever you have located your Cygwin\bin folder, (make sure to separate it from the last one with a ‘;’).</p>
<p>Start Netbeans, navigate to tools-&gt;options-&gt;C/C++. Check to see if Cygwin is in the list on the left panel. Select it, and then fill in the options as following: (I assume that you’ve installed it in C:\Cygwin)</p>
<blockquote><p><em>Base Director: C:\Cygwin\bin       <br />C compiler C:\Cygwin\bin\gcc.exe        <br />C++ Compiler: C:\Cygwin\bin\g++-3.exe*        <br />Fortran Compiler: C:\Cygwin\bin\g77-3.exe*        <br />Make Command: C:\Cygwin\bin\make.exe        <br />Debugger: C:\Cygwin\bin\gdb.exe</em></p>
<p><em>(* marks optional)</em></p>
</blockquote>
<p>Now make a new C project. And add a new main file to it by right clicking the source directory and selecting New-&gt;Main C file. There is an odd chance that the include directives will be underlined with red. This is not a problem, as you will see the program will compile and run fine, but you can’t use intellisense this way so we are going to fix it. (First make sure your PATH variable was correctly set!).</p>
<p>Right click on your project and select properties. Go to build-&gt;C compiler (or C++ compiler if you are doing C++).&#160; Select the “…” button after Include Directories. And add the “C:\Cygwin\usr\include” directory to the include directories. Save your settings and reload your project. The red lines should’ve disappeared now, leaving you behind with a fully functional C/C++ IDE and compiler in Netbeans. *Yay*!</p>
<p><a href="http://royalexander.files.wordpress.com/2009/03/art1.jpg"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="Art" border="0" alt="Art" src="http://royalexander.files.wordpress.com/2009/03/art-thumb1.jpg" width="471" height="356" /></a> </p>
<p><em>(I wish someone else would’ve written this before me, so that I wasn&#8217;t busy uninstalling a couple of gigabytes of C/C++ tools/compilers/utilities/fonts and text editors!)</em></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://roy-t.nl/index.php/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/' addthis:title='Configuring Cygwin C/C++ compiler for Netbeans 6.5 (under Windows)' ><a class="addthis_button_twitter"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_reddit"></a><a class="addthis_button_facebook"></a><a class="addthis_button_email"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://roy-t.nl/index.php/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/feed/</wfw:commentRss>
		<slash:comments>108</slash:comments>
		</item>
	</channel>
</rss>

