<?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: Using the Game State Management Sample</title>
	<atom:link href="http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/</link>
	<description>Game Development Demystified!</description>
	<lastBuildDate>Fri, 12 Mar 2010 07:41:57 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-2/#comment-641</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 11 Mar 2010 13:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-641</guid>
		<description>Hello,
  I have a project and I decided to merge it with this Gamestate sample to add some menu functionality to my game.
  On my Gameplay screen I have a few things that should be  Initialized first but I can&#039;t initialize them by using the Initialize() method like I did before I merged the project with my game.
  Do I have to add my initialization method somewhere else? maybe the gamescreen or screen manager?

 Thanks</description>
		<content:encoded><![CDATA[<p>Hello,<br />
  I have a project and I decided to merge it with this Gamestate sample to add some menu functionality to my game.<br />
  On my Gameplay screen I have a few things that should be  Initialized first but I can&#8217;t initialize them by using the Initialize() method like I did before I merged the project with my game.<br />
  Do I have to add my initialization method somewhere else? maybe the gamescreen or screen manager?</p>
<p> Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geniass</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-477</link>
		<dc:creator>geniass</dc:creator>
		<pubDate>Mon, 13 Jul 2009 08:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-477</guid>
		<description>I have been using the game states example and the menu and loading parts work fine. However i have been adding in code for the gameplay from another project. After adding in everything and changing a few variables, it compiles and runs but it doesnt draw anything except the text? Any ideas??</description>
		<content:encoded><![CDATA[<p>I have been using the game states example and the menu and loading parts work fine. However i have been adding in code for the gameplay from another project. After adding in everything and changing a few variables, it compiles and runs but it doesnt draw anything except the text? Any ideas??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cyril</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-459</link>
		<dc:creator>Cyril</dc:creator>
		<pubDate>Tue, 14 Apr 2009 20:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-459</guid>
		<description>Thanks a lot, that worked. I still couldn&#039;t figure out the texture problem.
I use to save the state by calling 
“spriteBatch.Begin(SpriteBlendMode.AlphaBlend, SpriteSortMode.Deferred, SaveStateMode.SaveState);” in my draw method but now it doesn&#039;t work and whenever I enter the game or press &#039;ESC&#039; to open the option menu, it messes up my textures and I got weird vertical lines instead of textures.
I tried to do the same thing with ScreenManager.SpriteBatch in my gameplayScreen but it didn&#039;t work. any idea?</description>
		<content:encoded><![CDATA[<p>Thanks a lot, that worked. I still couldn&#8217;t figure out the texture problem.<br />
I use to save the state by calling<br />
“spriteBatch.Begin(SpriteBlendMode.AlphaBlend, SpriteSortMode.Deferred, SaveStateMode.SaveState);” in my draw method but now it doesn&#8217;t work and whenever I enter the game or press &#8216;ESC&#8217; to open the option menu, it messes up my textures and I got weird vertical lines instead of textures.<br />
I tried to do the same thing with ScreenManager.SpriteBatch in my gameplayScreen but it didn&#8217;t work. any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nazeeh</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-458</link>
		<dc:creator>nazeeh</dc:creator>
		<pubDate>Mon, 13 Apr 2009 08:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-458</guid>
		<description>That&#039;s an easy one actually. Set the DepthEnable to be true in the Device.RenderState. Check this out, this is the RenderState I am talking about: http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.renderstate.depthbufferenable.aspx

Set that to true and you&#039;ll be fine.</description>
		<content:encoded><![CDATA[<p>That&#8217;s an easy one actually. Set the DepthEnable to be true in the Device.RenderState. Check this out, this is the RenderState I am talking about: <a href="http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.renderstate.depthbufferenable.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.renderstate.depthbufferenable.aspx</a></p>
<p>Set that to true and you&#8217;ll be fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cyril</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-457</link>
		<dc:creator>Cyril</dc:creator>
		<pubDate>Mon, 13 Apr 2009 06:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-457</guid>
		<description>Hey Nazeeh,
Some dudes helped me and I solved my problem but there&#039;s just one thing left.
When I enter my game (it&#039;s a 3D game) I got a problem with the model and their drawings and 2D spriteBatches. All the textures are messed up and seems no depth test is done and I can see throu walls. I used to solve this problem in my old code by adding the following line to the draw method where I drew the spritebatches and save the states:
&quot;priteBatch.Begin(SpriteBlendMode.AlphaBlend, SpriteSortMode.Deferred, SaveStateMode.SaveState);&quot;
any idea how I can fix that one for this?
tnx</description>
		<content:encoded><![CDATA[<p>Hey Nazeeh,<br />
Some dudes helped me and I solved my problem but there&#8217;s just one thing left.<br />
When I enter my game (it&#8217;s a 3D game) I got a problem with the model and their drawings and 2D spriteBatches. All the textures are messed up and seems no depth test is done and I can see throu walls. I used to solve this problem in my old code by adding the following line to the draw method where I drew the spritebatches and save the states:<br />
&#8220;priteBatch.Begin(SpriteBlendMode.AlphaBlend, SpriteSortMode.Deferred, SaveStateMode.SaveState);&#8221;<br />
any idea how I can fix that one for this?<br />
tnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cyrus</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-456</link>
		<dc:creator>Cyrus</dc:creator>
		<pubDate>Sun, 12 Apr 2009 09:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-456</guid>
		<description>hey Nazeeh,
Well I almost said my problem to a reply to dave but I wanted also to ask for your help. I manage to solve the graphic problem and I dont get the null object reference but I&#039;m still stuck on the content. I tried the ScreenManager.content but it said sth like &quot;the ScreenManager.content is inaccessible due to its protection level&quot;...
any idea?
tnx in advance</description>
		<content:encoded><![CDATA[<p>hey Nazeeh,<br />
Well I almost said my problem to a reply to dave but I wanted also to ask for your help. I manage to solve the graphic problem and I dont get the null object reference but I&#8217;m still stuck on the content. I tried the ScreenManager.content but it said sth like &#8220;the ScreenManager.content is inaccessible due to its protection level&#8221;&#8230;<br />
any idea?<br />
tnx in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cyrus</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-455</link>
		<dc:creator>Cyrus</dc:creator>
		<pubDate>Sun, 12 Apr 2009 09:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-455</guid>
		<description>&lt;a href=&quot;#comment-262&quot; rel=&quot;nofollow&quot;&gt;@Dave &lt;/a&gt; 

Hey Dave,
I&#039;m having the same problem as you and I&#039;m using the same shaders and get the same error message (&quot;Object reference not set to an instance of an object&quot;) and it&#039;s really anoying me.
I was wondering If you could solve your problem?
If yes, I would be really greatful if you could gimme a hint. I&#039;m desperate
thanks</description>
		<content:encoded><![CDATA[<p><a href="#comment-262" rel="nofollow">@Dave </a> </p>
<p>Hey Dave,<br />
I&#8217;m having the same problem as you and I&#8217;m using the same shaders and get the same error message (&#8221;Object reference not set to an instance of an object&#8221;) and it&#8217;s really anoying me.<br />
I was wondering If you could solve your problem?<br />
If yes, I would be really greatful if you could gimme a hint. I&#8217;m desperate<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-451</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sun, 29 Mar 2009 18:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-451</guid>
		<description>Hey, I have the same problem as Dash I&#039;m kinda new to XNA and I modified the platformer starterkitt so i would learn how to use XNA and it&#039;s working out fine and now I want to merge the GSMS with the starterkitt but I don&#039;t get it to work, any ideas???</description>
		<content:encoded><![CDATA[<p>Hey, I have the same problem as Dash I&#8217;m kinda new to XNA and I modified the platformer starterkitt so i would learn how to use XNA and it&#8217;s working out fine and now I want to merge the GSMS with the starterkitt but I don&#8217;t get it to work, any ideas???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-440</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sun, 08 Feb 2009 21:13:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-440</guid>
		<description>&lt;a href=&quot;#comment-423&quot; rel=&quot;nofollow&quot;&gt;@nazeeh&lt;/a&gt; 
I am trying to get the state management to work with the platformer starter kit and I am having trouble getting it to work. Im pretty sure i need to change the GameplayScreen.cs file so that it runs the platformer game but im just not sure how to do that</description>
		<content:encoded><![CDATA[<p><a href="#comment-423" rel="nofollow">@nazeeh</a><br />
I am trying to get the state management to work with the platformer starter kit and I am having trouble getting it to work. Im pretty sure i need to change the GameplayScreen.cs file so that it runs the platformer game but im just not sure how to do that</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/comment-page-1/#comment-427</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Tue, 06 Jan 2009 20:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.nazspace.com/wp/2008/02/04/using-the-game-state-management-sample/#comment-427</guid>
		<description>btw thank you for the sample</description>
		<content:encoded><![CDATA[<p>btw thank you for the sample</p>
]]></content:encoded>
	</item>
</channel>
</rss>
