<?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: Tile Engine Series’ New Home</title>
	<atom:link href="http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/</link>
	<description></description>
	<lastBuildDate>Sat, 20 Mar 2010 14:41:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: solthar</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-31</link>
		<dc:creator>solthar</dc:creator>
		<pubDate>Fri, 06 Nov 2009 06:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-31</guid>
		<description>sinyester,

I had the same problem as you, but found the solution.

In your references, click on the Microsoft.Xna.Framework reference, and look at the version.  If it is not 3.0.0.0 you need to reload the proper reference.

(Mine was 3.0.0.1, funny how a single version increment can bug your code).</description>
		<content:encoded><![CDATA[<p>sinyester,</p>
<p>I had the same problem as you, but found the solution.</p>
<p>In your references, click on the Microsoft.Xna.Framework reference, and look at the version.  If it is not 3.0.0.0 you need to reload the proper reference.</p>
<p>(Mine was 3.0.0.1, funny how a single version increment can bug your code).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bvrwoo</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-30</link>
		<dc:creator>bvrwoo</dc:creator>
		<pubDate>Mon, 31 Aug 2009 04:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-30</guid>
		<description>slayernine

Recheck your code and references. Excuse me for the error.
If we make error in writing, we make error in code. All of us do.</description>
		<content:encoded><![CDATA[<p>slayernine</p>
<p>Recheck your code and references. Excuse me for the error.<br />
If we make error in writing, we make error in code. All of us do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bvrwoo</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-29</link>
		<dc:creator>bvrwoo</dc:creator>
		<pubDate>Mon, 31 Aug 2009 04:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-29</guid>
		<description>slayernine

One more thing about using WinForms which does not naturally use a timer (but easy to do), you have to make sure to do the same with it as well. I have went through all of the TileEditor tutorials from Nick and have found it functions well (of course, I made it more robust because I do a lot of WinForm programming even for DirectX).  There is something is you referencing the library to the winform project.
Reject you code and references. It should compile the library at runtime.</description>
		<content:encoded><![CDATA[<p>slayernine</p>
<p>One more thing about using WinForms which does not naturally use a timer (but easy to do), you have to make sure to do the same with it as well. I have went through all of the TileEditor tutorials from Nick and have found it functions well (of course, I made it more robust because I do a lot of WinForm programming even for DirectX).  There is something is you referencing the library to the winform project.<br />
Reject you code and references. It should compile the library at runtime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bvrwoo</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-28</link>
		<dc:creator>bvrwoo</dc:creator>
		<pubDate>Mon, 31 Aug 2009 04:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-28</guid>
		<description>slayernine

I use XNA 3.0 on VS Pro 2008 and have no error compiling the library.  Check to make sure that you first have referenced TileEngine in TileGame and have called the using statement to it.

If you have and can access the public class inside Game1 there should be no problem.</description>
		<content:encoded><![CDATA[<p>slayernine</p>
<p>I use XNA 3.0 on VS Pro 2008 and have no error compiling the library.  Check to make sure that you first have referenced TileEngine in TileGame and have called the using statement to it.</p>
<p>If you have and can access the public class inside Game1 there should be no problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bvrwoo</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-27</link>
		<dc:creator>bvrwoo</dc:creator>
		<pubDate>Mon, 31 Aug 2009 04:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-27</guid>
		<description>I was reading the code for TileLayer.LoadTileTextures methods.  I liked how you used the &#039;params string[] textureNames&#039; and the second parameter however, I thought (because I prefer to separate logic from game runtime) it would be best to write the method as such

LoadTileTextures(ContentManager content)
{
    string tilePath = &quot;Tiles/se_free_&quot;;
    string tileEnd = &quot;_texture&quot;;
    string[] textureNames = new string[]
    {
        &quot;grass&quot;,....
    };
    foreach (string name in textureNames)
       tileTexture.Add(content.Load(tilePath + name + tileEnd);
}

This allow changes to only be made in the library (or if one prefer to store textures in a database so nobody can actually get to the textures from a folder which is another topic but not hard to due just more coding but great when you do not want to hard code the textures but rather loop throw the table of images)
without having to do anything but instantiate classes and call functions inside
Game1 class.
}</description>
		<content:encoded><![CDATA[<p>I was reading the code for TileLayer.LoadTileTextures methods.  I liked how you used the &#8216;params string[] textureNames&#8217; and the second parameter however, I thought (because I prefer to separate logic from game runtime) it would be best to write the method as such</p>
<p>LoadTileTextures(ContentManager content)<br />
{<br />
    string tilePath = &#8220;Tiles/se_free_&#8221;;<br />
    string tileEnd = &#8220;_texture&#8221;;<br />
    string[] textureNames = new string[]<br />
    {<br />
        &#8220;grass&#8221;,&#8230;.<br />
    };<br />
    foreach (string name in textureNames)<br />
       tileTexture.Add(content.Load(tilePath + name + tileEnd);<br />
}</p>
<p>This allow changes to only be made in the library (or if one prefer to store textures in a database so nobody can actually get to the textures from a folder which is another topic but not hard to due just more coding but great when you do not want to hard code the textures but rather loop throw the table of images)<br />
without having to do anything but instantiate classes and call functions inside<br />
Game1 class.<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sinyester</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-26</link>
		<dc:creator>sinyester</dc:creator>
		<pubDate>Sun, 09 Aug 2009 16:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-26</guid>
		<description>Hey Nick, I&#039;ve got an error while following your Tile-Engine-Tutorial and I was hoping you could help me. I have watched the *a+b* tutorials a couple of times but i can&#039;t seem to find whats wrong.

I receive the error 17.00 minutes in the *TileEngine3b* part.

public void AddTextures(Texture2D texture)
{
    tileTextures.Add(texture);    //   &lt;-- this line
}

ArrayTypeMismatchException was unhandled:
Attempted to access an element as a type incompatible with the array.</description>
		<content:encoded><![CDATA[<p>Hey Nick, I&#8217;ve got an error while following your Tile-Engine-Tutorial and I was hoping you could help me. I have watched the *a+b* tutorials a couple of times but i can&#8217;t seem to find whats wrong.</p>
<p>I receive the error 17.00 minutes in the *TileEngine3b* part.</p>
<p>public void AddTextures(Texture2D texture)<br />
{<br />
    tileTextures.Add(texture);    //   &lt;&#8211; this line<br />
}</p>
<p>ArrayTypeMismatchException was unhandled:<br />
Attempted to access an element as a type incompatible with the array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slayernine</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-25</link>
		<dc:creator>slayernine</dc:creator>
		<pubDate>Sat, 01 Aug 2009 20:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-25</guid>
		<description>Hey Nick, I&#039;ve been following through your tutorial and I&#039;m getting an error trying to run the TileEditor windows form using my project or the one available from you.

I&#039;m using XNA 3.0 and Visual Studio 2008.  Any ideas where the problem might be?

Same issues as Dave1005
Could not load file or assembly ‘TileEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. An attempt was made to load a program with an incorrect format.

thanks in advance</description>
		<content:encoded><![CDATA[<p>Hey Nick, I&#8217;ve been following through your tutorial and I&#8217;m getting an error trying to run the TileEditor windows form using my project or the one available from you.</p>
<p>I&#8217;m using XNA 3.0 and Visual Studio 2008.  Any ideas where the problem might be?</p>
<p>Same issues as Dave1005<br />
Could not load file or assembly ‘TileEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. An attempt was made to load a program with an incorrect format.</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cowboyspike</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-24</link>
		<dc:creator>cowboyspike</dc:creator>
		<pubDate>Fri, 17 Jul 2009 22:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-24</guid>
		<description>Hi Nick!

I am from China and your  Tile Engine Tutorial Series is doing a great help for me.I found &quot;TileEngineProject04.zip&quot; is missing ,so I was wondering if you could check and fix the error;

just Thank you!</description>
		<content:encoded><![CDATA[<p>Hi Nick!</p>
<p>I am from China and your  Tile Engine Tutorial Series is doing a great help for me.I found &#8220;TileEngineProject04.zip&#8221; is missing ,so I was wondering if you could check and fix the error;</p>
<p>just Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JSearle</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-23</link>
		<dc:creator>JSearle</dc:creator>
		<pubDate>Thu, 18 Jun 2009 04:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-23</guid>
		<description>Hi Nick,

Came across your TileEngine and editor tutorials several weks ago. I watched all the videos and recently started to actually do the coding in XNA. Everything has gone well, except for one problem in the editor. The editor works as expected as far as the UI components (buttons,checkboxes,etc.) but the tile textures do not actually draw on the grid of the layer. The white boxes dissapear as if something was drawn there, but no texture appears. Have you heard of this before? Any idea what might be wrong? For your info, I tried the unmodified solution in both VS2005 and VS2008(with the help of the conversion wizard) and get the same results in both cases. Any suggestions would be appreciated. As a side note I have used your tutorials as a basis for an isometric game engine. I will check back with you when I get it more complete if you are interested. So far it only draws the tiles and allows scrolling. Thanks again.</description>
		<content:encoded><![CDATA[<p>Hi Nick,</p>
<p>Came across your TileEngine and editor tutorials several weks ago. I watched all the videos and recently started to actually do the coding in XNA. Everything has gone well, except for one problem in the editor. The editor works as expected as far as the UI components (buttons,checkboxes,etc.) but the tile textures do not actually draw on the grid of the layer. The white boxes dissapear as if something was drawn there, but no texture appears. Have you heard of this before? Any idea what might be wrong? For your info, I tried the unmodified solution in both VS2005 and VS2008(with the help of the conversion wizard) and get the same results in both cases. Any suggestions would be appreciated. As a side note I have used your tutorials as a basis for an isometric game engine. I will check back with you when I get it more complete if you are interested. So far it only draws the tiles and allows scrolling. Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mouse_of_danger</title>
		<link>http://blog.nickgravelyn.com/2008/09/tile-engine-series-new-home/comment-page-1/#comment-22</link>
		<dc:creator>mouse_of_danger</dc:creator>
		<pubDate>Fri, 05 Jun 2009 20:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=317#comment-22</guid>
		<description>Hi Nick, i have been looking for a tutorial to make sense of the tile engine (the ones on the xna related sites have made things really messy as they just keep hacking previous engines to bits). i have however hit a small problem, when downloading episode 2 video and 3 videoA the zip files seem to be empty although the download size is massize for an empty zip file. I did knotice from above that you had issues with no2 but have you had the chance to resolve them at all.

all in all really helpful thanks</description>
		<content:encoded><![CDATA[<p>Hi Nick, i have been looking for a tutorial to make sense of the tile engine (the ones on the xna related sites have made things really messy as they just keep hacking previous engines to bits). i have however hit a small problem, when downloading episode 2 video and 3 videoA the zip files seem to be empty although the download size is massize for an empty zip file. I did knotice from above that you had issues with no2 but have you had the chance to resolve them at all.</p>
<p>all in all really helpful thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
