<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://codetopia.com/cs/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Support</title><link>http://codetopia.com/cs/forums/19/ShowForum.aspx</link><description>Get help with running and modifying the examples from the book.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.0 (Build: 60217.2664)</generator><item><title>Re: Chapter 16 Top-Down Scroller XNA 2.0 Source Code Error</title><link>http://codetopia.com/cs/forums/thread/442.aspx</link><pubDate>Fri, 14 Mar 2008 04:03:32 GMT</pubDate><guid isPermaLink="false">ef84f941-e677-42b9-9002-5d57148e678d:442</guid><dc:creator>groundh0g</dc:creator><slash:comments>0</slash:comments><comments>http://codetopia.com/cs/forums/thread/442.aspx</comments><wfw:commentRss>http://codetopia.com/cs/forums/commentrss.aspx?SectionID=19&amp;PostID=442</wfw:commentRss><description>Thanks for the follow up, Edt. I'll add updating the source for chapter 16 to my list of TODO's.&lt;br&gt;&lt;br&gt;-- joe&lt;br&gt;&lt;br&gt;</description></item><item><title>Re: Chapter 16 Top-Down Scroller XNA 2.0 Source Code Error</title><link>http://codetopia.com/cs/forums/thread/441.aspx</link><pubDate>Fri, 14 Mar 2008 03:40:04 GMT</pubDate><guid isPermaLink="false">ef84f941-e677-42b9-9002-5d57148e678d:441</guid><dc:creator>Edt</dc:creator><slash:comments>0</slash:comments><comments>http://codetopia.com/cs/forums/thread/441.aspx</comments><wfw:commentRss>http://codetopia.com/cs/forums/commentrss.aspx?SectionID=19&amp;PostID=441</wfw:commentRss><description>&lt;P&gt;I added the line:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color=#000080&gt;GraphicsDevice.Textures[0] = null;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000080&gt;&lt;FONT color=#000000&gt;in the beginning of the Game1.Update() function and it worked.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description></item><item><title>Re: Chapter 16 Top-Down Scroller XNA 2.0 Source Code Error</title><link>http://codetopia.com/cs/forums/thread/438.aspx</link><pubDate>Thu, 13 Mar 2008 20:44:45 GMT</pubDate><guid isPermaLink="false">ef84f941-e677-42b9-9002-5d57148e678d:438</guid><dc:creator>Zeo</dc:creator><slash:comments>0</slash:comments><comments>http://codetopia.com/cs/forums/thread/438.aspx</comments><wfw:commentRss>http://codetopia.com/cs/forums/commentrss.aspx?SectionID=19&amp;PostID=438</wfw:commentRss><description>The exception was indeed an InvalidOperationException which read "&lt;i&gt;The operation was aborted. You may not modify a resource that has
been set on a device, or after it has been used within a tiling bracket.&lt;/i&gt;"&lt;br&gt;&lt;br&gt;I attempted to add &lt;i&gt;GraphicsDevice.Textures[0] = null; &lt;/i&gt;before&lt;i&gt; GameObjectManager.Init(); &lt;/i&gt;in the Initialize() function of the Game1 class. But that didn't solve the problem.</description></item><item><title>Re: Chapter 16 Top-Down Scroller XNA 2.0 Source Code Error</title><link>http://codetopia.com/cs/forums/thread/436.aspx</link><pubDate>Thu, 13 Mar 2008 18:09:43 GMT</pubDate><guid isPermaLink="false">ef84f941-e677-42b9-9002-5d57148e678d:436</guid><dc:creator>groundh0g</dc:creator><slash:comments>0</slash:comments><comments>http://codetopia.com/cs/forums/thread/436.aspx</comments><wfw:commentRss>http://codetopia.com/cs/forums/commentrss.aspx?SectionID=19&amp;PostID=436</wfw:commentRss><description>The phrase "an exception" is too general to know for sure, but I'm guessing that this is realted to the issue that I described for Chapter 5's convertion to XNA 2.0. &lt;br&gt;&lt;br&gt;[The exception would read something like this: "&lt;i&gt;The operation was aborted. You may not modify a resource that has been set on a device, or after it has been used within a tiling bracket.&lt;/i&gt;"]&lt;br&gt;&lt;br&gt;Read the section entitled "&lt;b&gt;Dynamically Modifying Resources (Bug?)&lt;/b&gt;" under the description for my XNA 2.0 changes for Chapter 05.&lt;br&gt;&lt;br&gt;Here's the link: &lt;a HREF="/cs/files/7/xna_book_files/entry382.aspx"&gt;http://codetopia.com/cs/files/7/xna_book_files/entry382.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please let me know if that works for you. If so, I'll update the source code for that chapter and post it again.&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;-- joe&lt;br&gt;</description></item><item><title>Chapter 16 Top-Down Scroller XNA 2.0 Source Code Error</title><link>http://codetopia.com/cs/forums/thread/432.aspx</link><pubDate>Wed, 12 Mar 2008 02:42:16 GMT</pubDate><guid isPermaLink="false">ef84f941-e677-42b9-9002-5d57148e678d:432</guid><dc:creator>Zeo</dc:creator><slash:comments>0</slash:comments><comments>http://codetopia.com/cs/forums/thread/432.aspx</comments><wfw:commentRss>http://codetopia.com/cs/forums/commentrss.aspx?SectionID=19&amp;PostID=432</wfw:commentRss><description>After compiling and testing the new code the game experiences an exception after pressing start. The exception occurred in the PixelPerfectHelper::GetOpaqueData function at this point:&lt;br&gt;&lt;blockquote&gt;&lt;b&gt;&lt;font face="Courier New"&gt;texture.GetData&amp;lt;Color&amp;gt;(pixels);&lt;br&gt;&lt;/font&gt;&lt;/b&gt;&lt;/blockquote&gt;As I attempted a work around by putting the above line inside a try and catch statement the result was that collision detection was effectively disabled. Reading the comment regarding the above line I tried using this instead:&lt;br&gt;&lt;blockquote&gt;&lt;b&gt;t&lt;font face="Courier New"&gt;exture.GetData&amp;lt;Color&amp;gt;(1, rect, pixels, 0, texture.Width * texture.Height);&lt;br&gt;&lt;/font&gt;&lt;/b&gt;&lt;/blockquote&gt;I'm not too savy with texture data reading and the above line didn't solve the problem. Any help would be appreciated. Thanks :)&lt;br&gt;</description></item></channel></rss>