<?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 on: I love late night breakthroughs!</title>
	<atom:link href="http://shotbeak.com/2007/06/30/i-love-late-night-breakthroughs/feed/" rel="self" type="application/rss+xml" />
	<link>http://shotbeak.com/2007/06/30/i-love-late-night-breakthroughs/</link>
	<description>On Air: Student, aspiring web entrepreneur and musician.</description>
	<lastBuildDate>Thu, 15 Jul 2010 14:14:52 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Koen</title>
		<link>http://shotbeak.com/2007/06/30/i-love-late-night-breakthroughs/comment-page-1/#comment-700</link>
		<dc:creator>Koen</dc:creator>
		<pubDate>Fri, 03 Apr 2009 06:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://shotbeakgames.za.net/niche/?p=34#comment-700</guid>
		<description>Been there, done that, a million times! Sometimes it&#039;s amazing how you can miss the most obvious things. You think you&#039;re never gonna solve a problem and after hours and hours of wanting to bang your head against a wall, you finally see the light and feel like woohooing. Better not do that, my neighbors wouldn&#039;t like that at 2am.</description>
		<content:encoded><![CDATA[<p>Been there, done that, a million times! Sometimes it&#39;s amazing how you can miss the most obvious things. You think you&#39;re never gonna solve a problem and after hours and hours of wanting to bang your head against a wall, you finally see the light and feel like woohooing. Better not do that, my neighbors wouldn&#39;t like that at 2am.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koen</title>
		<link>http://shotbeak.com/2007/06/30/i-love-late-night-breakthroughs/comment-page-1/#comment-160</link>
		<dc:creator>Koen</dc:creator>
		<pubDate>Sat, 30 Jun 2007 22:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://shotbeakgames.za.net/niche/?p=34#comment-160</guid>
		<description>Been there, done that, a million times! Sometimes it&#039;s amazing how you can miss the most obvious things. You think you&#039;re never gonna solve a problem and after hours and hours of wanting to bang your head against a wall, you finally see the light and feel like woohooing. Better not do that, my neighbors wouldn&#039;t like that at 2am.</description>
		<content:encoded><![CDATA[<p>Been there, done that, a million times! Sometimes it&#8217;s amazing how you can miss the most obvious things. You think you&#8217;re never gonna solve a problem and after hours and hours of wanting to bang your head against a wall, you finally see the light and feel like woohooing. Better not do that, my neighbors wouldn&#8217;t like that at 2am.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tr00jg</title>
		<link>http://shotbeak.com/2007/06/30/i-love-late-night-breakthroughs/comment-page-1/#comment-159</link>
		<dc:creator>Tr00jg</dc:creator>
		<pubDate>Sat, 30 Jun 2007 21:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://shotbeakgames.za.net/niche/?p=34#comment-159</guid>
		<description>My game lagged heavily at certain and I just could not figure out why. I changed a whole part of my game only to find out it was not that. After some more devving and finally got to the code that was causing it.

Roach Toaster is turn-based game, so whenever I press Enter, everything happens. It turned out that I had a very inneficient way of targeting enemies. I basically checked through every roach to see if it is behind a wall and then checked if it was the nearest one.

The result was that if I added another unit, the total amount of loops doubled, thus it became unplayable with more than 5 units in the level. &gt;.&lt;

I luckily solved it by 1st finding the nearest one and then checking if it is behind a wall. If it was, I just chucked it out of the array.

Someting like that... It would be hard to understand without actually having the code and game before you. :P</description>
		<content:encoded><![CDATA[<p>My game lagged heavily at certain and I just could not figure out why. I changed a whole part of my game only to find out it was not that. After some more devving and finally got to the code that was causing it.</p>
<p>Roach Toaster is turn-based game, so whenever I press Enter, everything happens. It turned out that I had a very inneficient way of targeting enemies. I basically checked through every roach to see if it is behind a wall and then checked if it was the nearest one.</p>
<p>The result was that if I added another unit, the total amount of loops doubled, thus it became unplayable with more than 5 units in the level. >.< I luckily solved it by 1st finding the nearest one and then checking if it is behind a wall. If it was, I just chucked it out of the array.</p>
<p>Someting like that&#8230; It would be hard to understand without actually having the code and game before you. <img src='http://shotbeak.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GBGames</title>
		<link>http://shotbeak.com/2007/06/30/i-love-late-night-breakthroughs/comment-page-1/#comment-158</link>
		<dc:creator>GBGames</dc:creator>
		<pubDate>Sat, 30 Jun 2007 16:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://shotbeakgames.za.net/niche/?p=34#comment-158</guid>
		<description>Hah, I&#039;ve dreamt of iterators and for loops. Can you give any details of what the problem was that you solved?

I once had a crash problem only to learn that I had to use a while loop instead of a for loop to iterate through a list to destroy the objects. In the for loop, erase() returned a new iterator to the next item in the list, but then the for loop would increment that iterator, which resulted in crashes when I would try to remove an object that wasn&#039;t in the list. I have encountered this crash a few times since then and recognized it for what it was, so the good news is that the experience of staying up that night means I solve the same problem in seconds from now on. B-)</description>
		<content:encoded><![CDATA[<p>Hah, I&#8217;ve dreamt of iterators and for loops. Can you give any details of what the problem was that you solved?</p>
<p>I once had a crash problem only to learn that I had to use a while loop instead of a for loop to iterate through a list to destroy the objects. In the for loop, erase() returned a new iterator to the next item in the list, but then the for loop would increment that iterator, which resulted in crashes when I would try to remove an object that wasn&#8217;t in the list. I have encountered this crash a few times since then and recognized it for what it was, so the good news is that the experience of staying up that night means I solve the same problem in seconds from now on. B-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
