<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Roy Triesscheijn’s Weblog</title>
	<atom:link href="http://roy-t.nl/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://roy-t.nl</link>
	<description>My programming world</description>
	<lastBuildDate>Tue, 10 Aug 2010 22:40:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on About Me by Marten</title>
		<link>http://roy-t.nl/index.php/about-2/comment-page-1/#comment-608</link>
		<dc:creator>Marten</dc:creator>
		<pubDate>Tue, 10 Aug 2010 22:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://roy-t.nl/?page_id=163#comment-608</guid>
		<description>Roy!

Being bored in the late hours I noticed a whole lot of jibberish on your hyves, jibberish to me then, at the word xml my brain went *poof*.

How&#039;s life in Groningen there?
I don&#039;t know if you heard, but I am going to move to Groningen too! The 21st of august my personal movers will help me to get from Enschede to Groningen.

Care to meet up some time?

Marten</description>
		<content:encoded><![CDATA[<p>Roy!</p>
<p>Being bored in the late hours I noticed a whole lot of jibberish on your hyves, jibberish to me then, at the word xml my brain went *poof*.</p>
<p>How&#8217;s life in Groningen there?<br />
I don&#8217;t know if you heard, but I am going to move to Groningen too! The 21st of august my personal movers will help me to get from Enschede to Groningen.</p>
<p>Care to meet up some time?</p>
<p>Marten</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Me by Roy Triesscheijn</title>
		<link>http://roy-t.nl/index.php/about-2/comment-page-1/#comment-606</link>
		<dc:creator>Roy Triesscheijn</dc:creator>
		<pubDate>Tue, 10 Aug 2010 06:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://roy-t.nl/?page_id=163#comment-606</guid>
		<description>Hey Colossus, hmm something went wrong there. I&#039;ll try and fix it now :).</description>
		<content:encoded><![CDATA[<p>Hey Colossus, hmm something went wrong there. I&#8217;ll try and fix it now <img src='http://roy-t.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Me by colossus</title>
		<link>http://roy-t.nl/index.php/about-2/comment-page-1/#comment-603</link>
		<dc:creator>colossus</dc:creator>
		<pubDate>Tue, 10 Aug 2010 02:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://roy-t.nl/?page_id=163#comment-603</guid>
		<description>Hey thanks for the Reply. But all I see is 

&quot;Swamp&quot; in the description you give...did you forget to add something? lol</description>
		<content:encoded><![CDATA[<p>Hey thanks for the Reply. But all I see is </p>
<p>&#8220;Swamp&#8221; in the description you give&#8230;did you forget to add something? lol</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Me by Roy Triesscheijn</title>
		<link>http://roy-t.nl/index.php/about-2/comment-page-1/#comment-602</link>
		<dc:creator>Roy Triesscheijn</dc:creator>
		<pubDate>Mon, 09 Aug 2010 20:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://roy-t.nl/?page_id=163#comment-602</guid>
		<description>Hey Colossus,

I&#039;ll reply here so that other people too can benefit from the answer :).

For creating a level you&#039;ll have to put all the data you need for creating a level in an XML file. For example if you where using a tile engine you&#039;d need to todo something like this:
http://pastebin.com/Rede12yh

Of course this is quite a lot of work to do by hand, so creating a simple level editor that generates this data for you is extremely handy. You can get the data into your game by creating a class that reads the data and creates level objects from it and adds these to your scenemanager.

The same goes for initializing and saving and loading, just translate your class/struct to an xml node (either by computer serialization or by thinking it up yourself and writing classes that output and read it).</description>
		<content:encoded><![CDATA[<p>Hey Colossus,</p>
<p>I&#8217;ll reply here so that other people too can benefit from the answer <img src='http://roy-t.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>For creating a level you&#8217;ll have to put all the data you need for creating a level in an XML file. For example if you where using a tile engine you&#8217;d need to todo something like this:<br />
<a href="http://pastebin.com/Rede12yh" rel="nofollow">http://pastebin.com/Rede12yh</a></p>
<p>Of course this is quite a lot of work to do by hand, so creating a simple level editor that generates this data for you is extremely handy. You can get the data into your game by creating a class that reads the data and creates level objects from it and adds these to your scenemanager.</p>
<p>The same goes for initializing and saving and loading, just translate your class/struct to an xml node (either by computer serialization or by thinking it up yourself and writing classes that output and read it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Me by colossus</title>
		<link>http://roy-t.nl/index.php/about-2/comment-page-1/#comment-599</link>
		<dc:creator>colossus</dc:creator>
		<pubDate>Sun, 08 Aug 2010 23:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://roy-t.nl/?page_id=163#comment-599</guid>
		<description>Hey Roy,

I just have a quick question regarding XML and saving/loading. Do you have any tutorials that deal with creating,initializing and saving/loading data for a level? 

Say I have an RPG and I want to start the player on level 4 with 20hp and 3 weapons. 

(creating)How do I go about creating the assets &quot;level=4&quot;, &quot;life = 20&quot; and &quot;weaponCount=3&quot; and storing them in an XML file?

(initializing) Assuming in my program I have variables Level, life and weapons. How do I assign these variables to the assets in the XML file?

(save/load)Now I want to store or load the users updated level, life and weaponcount in the XML life...how is that accomplished?

The tutorials I have looked at dont specifically deal with these things, but I was wondering if there was a basic way of doing this. To create variables in a document, load these variables into variables in your code, then save the updated variables.

Thanks for reading, you can get back at me through Email :)</description>
		<content:encoded><![CDATA[<p>Hey Roy,</p>
<p>I just have a quick question regarding XML and saving/loading. Do you have any tutorials that deal with creating,initializing and saving/loading data for a level? </p>
<p>Say I have an RPG and I want to start the player on level 4 with 20hp and 3 weapons. </p>
<p>(creating)How do I go about creating the assets &#8220;level=4&#8243;, &#8220;life = 20&#8243; and &#8220;weaponCount=3&#8243; and storing them in an XML file?</p>
<p>(initializing) Assuming in my program I have variables Level, life and weapons. How do I assign these variables to the assets in the XML file?</p>
<p>(save/load)Now I want to store or load the users updated level, life and weaponcount in the XML life&#8230;how is that accomplished?</p>
<p>The tutorials I have looked at dont specifically deal with these things, but I was wondering if there was a basic way of doing this. To create variables in a document, load these variables into variables in your code, then save the updated variables.</p>
<p>Thanks for reading, you can get back at me through Email <img src='http://roy-t.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Configuring Cygwin C/C++ compiler for Netbeans 6.5 (under Windows) by Adam</title>
		<link>http://roy-t.nl/index.php/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/comment-page-2/#comment-588</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 27 Jul 2010 09:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://royalexander.wordpress.com/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/#comment-588</guid>
		<description>Thank you!! The NetBeans notes are definitely not good enough and I was getting very frustrated. Two minutes after reading your notes and I&#039;m all set up!
Have a medal :)</description>
		<content:encoded><![CDATA[<p>Thank you!! The NetBeans notes are definitely not good enough and I was getting very frustrated. Two minutes after reading your notes and I&#8217;m all set up!<br />
Have a medal <img src='http://roy-t.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vacation time is over by Roy Triesscheijn</title>
		<link>http://roy-t.nl/index.php/2010/07/24/vacation-time-is-over/comment-page-1/#comment-587</link>
		<dc:creator>Roy Triesscheijn</dc:creator>
		<pubDate>Mon, 26 Jul 2010 21:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://roy-t.nl/?p=356#comment-587</guid>
		<description>Ha thanks, ja ik zat nog druk met vakantie in mijn hoofd. Ik zit te denken aan wat posts over refactoring omdat ik daar de komende tijd vooral mee bezig zal zijn, dus wie weet ;).</description>
		<content:encoded><![CDATA[<p>Ha thanks, ja ik zat nog druk met vakantie in mijn hoofd. Ik zit te denken aan wat posts over refactoring omdat ik daar de komende tijd vooral mee bezig zal zijn, dus wie weet <img src='http://roy-t.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vacation time is over by Willem</title>
		<link>http://roy-t.nl/index.php/2010/07/24/vacation-time-is-over/comment-page-1/#comment-584</link>
		<dc:creator>Willem</dc:creator>
		<pubDate>Sun, 25 Jul 2010 19:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://roy-t.nl/?p=356#comment-584</guid>
		<description>Goed verhaal Roy, lekker kort! Ben benieuwd naar je volgende post.</description>
		<content:encoded><![CDATA[<p>Goed verhaal Roy, lekker kort! Ben benieuwd naar je volgende post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Configuring Cygwin C/C++ compiler for Netbeans 6.5 (under Windows) by Roy Triesscheijn</title>
		<link>http://roy-t.nl/index.php/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/comment-page-2/#comment-582</link>
		<dc:creator>Roy Triesscheijn</dc:creator>
		<pubDate>Sat, 24 Jul 2010 20:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://royalexander.wordpress.com/2009/03/20/configuring-cygwin-cc-compiler-for-netbeans-65-under-windows/#comment-582</guid>
		<description>Thanks! :D</description>
		<content:encoded><![CDATA[<p>Thanks! <img src='http://roy-t.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sending objects via high speed asynchronous sockets in C# (Serialization + Socket programming) by Roy Triesscheijn</title>
		<link>http://roy-t.nl/index.php/2009/05/31/sending-objects-via-high-speed-asynchronous-sockets-in-c-serialization-socket-programming/comment-page-1/#comment-581</link>
		<dc:creator>Roy Triesscheijn</dc:creator>
		<pubDate>Sat, 24 Jul 2010 20:38:18 +0000</pubDate>
		<guid isPermaLink="false">http://royalexander.wordpress.com/?p=165#comment-581</guid>
		<description>Hey BigDirty, 

Thanks for your comment, I actually tried large texts and it seemed fine (there&#039;s a special check in the code to see if we could expect another fragment). Are you sure my code is faulty? Could be that I missed something. Unfortunately I don&#039;t have the sample project anymore, but please play around a bit and if you&#039;ve isolated the problem let me know :).</description>
		<content:encoded><![CDATA[<p>Hey BigDirty, </p>
<p>Thanks for your comment, I actually tried large texts and it seemed fine (there&#8217;s a special check in the code to see if we could expect another fragment). Are you sure my code is faulty? Could be that I missed something. Unfortunately I don&#8217;t have the sample project anymore, but please play around a bit and if you&#8217;ve isolated the problem let me know <img src='http://roy-t.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
