<?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"
	>
<channel>
	<title>Comments on: Tetris tutorial in C++ platform independent focused in game logic for beginners</title>
	<atom:link href="http://gametuto.com/tetris-tutorial-in-c-render-independent/feed/" rel="self" type="application/rss+xml" />
	<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/</link>
	<description>Game tutorials for smart beginners and meek geeks</description>
	<pubDate>Wed, 10 Mar 2010 08:42:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Skaruts</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-937</link>
		<dc:creator>Skaruts</dc:creator>
		<pubDate>Thu, 17 Sep 2009 07:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-937</guid>
		<description>Just a minor detail I noticed: I remember in the original tetris that the pieces rotations only cycled through 2 positions. 

Taking the I shape example figures, figures 3 and 4 wouldn't exist. They would only cycle through 1 and 2.

Despite that, very nice and neat tut.
Thanks.</description>
		<content:encoded><![CDATA[<p>Just a minor detail I noticed: I remember in the original tetris that the pieces rotations only cycled through 2 positions. </p>
<p>Taking the I shape example figures, figures 3 and 4 wouldn&#8217;t exist. They would only cycle through 1 and 2.</p>
<p>Despite that, very nice and neat tut.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-935</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sun, 23 Aug 2009 22:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-935</guid>
		<description>Greetings,

Has anyone managed to run this in MacOSX? I managed to build it but when I tried to run it I got the following error message: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'</description>
		<content:encoded><![CDATA[<p>Greetings,</p>
<p>Has anyone managed to run this in MacOSX? I managed to build it but when I tried to run it I got the following error message: Terminating app due to uncaught exception &#8216;NSInternalInconsistencyException&#8217;, reason: &#8216;Error (1002) creating CGSWindow&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FFUUU</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-934</link>
		<dc:creator>FFUUU</dc:creator>
		<pubDate>Fri, 31 Jul 2009 10:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-934</guid>
		<description>Not another Tetris clone!</description>
		<content:encoded><![CDATA[<p>Not another Tetris clone!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ~MoZzY~</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-933</link>
		<dc:creator>~MoZzY~</dc:creator>
		<pubDate>Wed, 29 Jul 2009 04:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-933</guid>
		<description>Very good tutorial...2 thumbs up...</description>
		<content:encoded><![CDATA[<p>Very good tutorial&#8230;2 thumbs up&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heather</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-932</link>
		<dc:creator>Heather</dc:creator>
		<pubDate>Sun, 19 Jul 2009 22:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-932</guid>
		<description>You know, you can very easily, without complex code, rotate the tetris pieces and cut down on your piece array.

In a nested loop where the array is 5 wide by 5 wide:

No rotation: newarray[j][i] = oldarray[j][i]
1 step counterclockwise: newarray[4 - i][j] = oldarray[j][i]
2 step counterclockwise: newarray[4 - j][4 - i] = oldarray[j][i]
3 step counterclockwise: newarray[i][4-j] = oldarray[j][i]</description>
		<content:encoded><![CDATA[<p>You know, you can very easily, without complex code, rotate the tetris pieces and cut down on your piece array.</p>
<p>In a nested loop where the array is 5 wide by 5 wide:</p>
<p>No rotation: newarray[j][i] = oldarray[j][i]<br />
1 step counterclockwise: newarray[4 - i][j] = oldarray[j][i]<br />
2 step counterclockwise: newarray[4 - j][4 - i] = oldarray[j][i]<br />
3 step counterclockwise: newarray[i][4-j] = oldarray[j][i]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roxlu</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-931</link>
		<dc:creator>roxlu</dc:creator>
		<pubDate>Wed, 15 Jul 2009 09:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-931</guid>
		<description>Wow amazing! What a clear, nice code! 
Though I'm wondering, in Board::StorePiece() you make a call to mPieces-&#62;GetBlockType(pPiece, pRotation, j2, i2) .. should this be: mPieces-&#62;GetBlockType(pPiece, pRotation, i2, j2)
.. for clearity sake?</description>
		<content:encoded><![CDATA[<p>Wow amazing! What a clear, nice code!<br />
Though I&#8217;m wondering, in Board::StorePiece() you make a call to mPieces-&gt;GetBlockType(pPiece, pRotation, j2, i2) .. should this be: mPieces-&gt;GetBlockType(pPiece, pRotation, i2, j2)<br />
.. for clearity sake?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimmy</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-875</link>
		<dc:creator>jimmy</dc:creator>
		<pubDate>Mon, 29 Jun 2009 18:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-875</guid>
		<description>Had a lot of fun going through this great tutorial, but I run into the craziest problem when I try to alter the values of the #define's... the compiler still keeps the original #define values!

I've tried changing the #define's to const int's, and I've even completely commented out the #define's... and the compiler still doesn't mind.

How does this happen??</description>
		<content:encoded><![CDATA[<p>Had a lot of fun going through this great tutorial, but I run into the craziest problem when I try to alter the values of the #define&#8217;s&#8230; the compiler still keeps the original #define values!</p>
<p>I&#8217;ve tried changing the #define&#8217;s to const int&#8217;s, and I&#8217;ve even completely commented out the #define&#8217;s&#8230; and the compiler still doesn&#8217;t mind.</p>
<p>How does this happen??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emeka</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-804</link>
		<dc:creator>Emeka</dc:creator>
		<pubDate>Tue, 23 Jun 2009 19:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-804</guid>
		<description>Hello,
I can't find where this field " mScreenHeight" was assigned value? 

Emeka</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I can&#8217;t find where this field &#8221; mScreenHeight&#8221; was assigned value? </p>
<p>Emeka</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-802</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 23 Jun 2009 16:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-802</guid>
		<description>Hey - thanks alot for this tutorial - it's very enlightening.  

However, I am having trouble understanding the StorePiece method in the Board class.  I just can't seem to follow it.  Could you explain in more detail what this is doing?  Also, why are you adding the PIECE_BLOCKS constant to pX and pY?

Thanks</description>
		<content:encoded><![CDATA[<p>Hey - thanks alot for this tutorial - it&#8217;s very enlightening.  </p>
<p>However, I am having trouble understanding the StorePiece method in the Board class.  I just can&#8217;t seem to follow it.  Could you explain in more detail what this is doing?  Also, why are you adding the PIECE_BLOCKS constant to pX and pY?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alekh</title>
		<link>http://gametuto.com/tetris-tutorial-in-c-render-independent/#comment-724</link>
		<dc:creator>Alekh</dc:creator>
		<pubDate>Wed, 17 Jun 2009 09:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://gametuto.com/?p=8#comment-724</guid>
		<description>Hi a really nice tutorial. But I want to add some animations to this like the line complete animation. How do i implement such animations? Pls help me on this.. I really need help..</description>
		<content:encoded><![CDATA[<p>Hi a really nice tutorial. But I want to add some animations to this like the line complete animation. How do i implement such animations? Pls help me on this.. I really need help..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
