<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.com/utility/FeedStylesheets/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>XNA Framework</title><link>http://forums.xna.com/forums/56.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: Global Bool?</title><link>http://forums.xna.com/forums/thread/62124.aspx</link><pubDate>Fri, 16 May 2008 01:28:12 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:62124</guid><dc:creator>Daaark</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/62124.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=62124</wfw:commentRss><description>You're not learning anything by modifying code. Just go to the library and start reading a C# introductory book, or check out the C# Workshop @ Gamedev.net.&lt;br&gt;&lt;br&gt;Until then, you are just wasting your time, no matter how much you bs yourself otherwise.&lt;br&gt;</description></item><item><title>Re: Global Bool?</title><link>http://forums.xna.com/forums/thread/62123.aspx</link><pubDate>Fri, 16 May 2008 01:09:55 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:62123</guid><dc:creator>George Clingerman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/62123.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=62123</wfw:commentRss><description>We've assisted you as much as we can, the rest is up to you. Your questions are not game related. They are basic programming questions. Until you take the time to learn how to program using C#, you're going to continue to get stuck on simple questions like this. If you would just take a couple weeks, stop trying to do game development and just learn some basic development concepts, you would be far better off. But without that kind of effort on your part, there's not much the forums can do for you.&lt;br&gt;</description></item><item><title>Re: Global Bool?</title><link>http://forums.xna.com/forums/thread/62121.aspx</link><pubDate>Fri, 16 May 2008 00:49:17 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:62121</guid><dc:creator>Greenskull</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/62121.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=62121</wfw:commentRss><description>ok I watched a couple of videos and they didn't help me at all. I have this line of code: &lt;FONT size=2&gt;player.Power += 1; and it's in one class but whenever I put it in the other class the game breaks and gives me an unhandled exception. I learn by modifying code so this will help me greatly. Please assist me! Thanks.&lt;/FONT&gt;</description></item><item><title>Re: Global Bool?</title><link>http://forums.xna.com/forums/thread/61821.aspx</link><pubDate>Wed, 14 May 2008 13:05:04 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:61821</guid><dc:creator>Jim Perry</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/61821.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=61821</wfw:commentRss><description>I have to add my agreement here as well. It sounds like you've come from a VB background and are trying to think VB in C#. It doesn't work. You'll need to learn how C# works before trying to code anything significant or you'll quickly become frustrated.&lt;br&gt;</description></item><item><title>Re: Global Bool?</title><link>http://forums.xna.com/forums/thread/61775.aspx</link><pubDate>Wed, 14 May 2008 01:18:36 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:61775</guid><dc:creator>Swordshock</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/61775.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=61775</wfw:commentRss><description>George is right.&amp;nbsp; Take his advice and learn some object oriented programming with C# before you jump into making games.&amp;nbsp; It sounds pessimistic, but you won't get anywhere unless you learn the basics first.&amp;nbsp; Good luck!&amp;nbsp; :-)</description></item><item><title>Re: Global Bool?</title><link>http://forums.xna.com/forums/thread/61766.aspx</link><pubDate>Wed, 14 May 2008 00:01:20 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:61766</guid><dc:creator>George Clingerman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/61766.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=61766</wfw:commentRss><description>You tried the FAQ to learn C# and it didn't work? ;)&lt;br&gt;&lt;br&gt;Seriously, I'm sure we can help you answer this question, but the question you're asking is very basic and has nothing to do with game development. You really should take sometime to sharpen your C# development skills some more. The question you're asking is a basic OO question, how do you make information in one class available to another. There are a few ways to do that and if you just spend a little time learning C# you'll learn several.&lt;br&gt;&lt;br&gt;I don't want to discourage you, but it's really hard to help answer game development questions when they're really, "how do I program" questions.&lt;br&gt;</description></item><item><title>Re: Global Bool?</title><link>http://forums.xna.com/forums/thread/61762.aspx</link><pubDate>Tue, 13 May 2008 23:35:44 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:61762</guid><dc:creator>Greenskull</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/61762.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=61762</wfw:commentRss><description>I tried that and it still doesn't work</description></item><item><title>Re: Global Bool?</title><link>http://forums.xna.com/forums/thread/61756.aspx</link><pubDate>Tue, 13 May 2008 22:23:18 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:61756</guid><dc:creator>George Clingerman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/61756.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=61756</wfw:commentRss><description>One option you have is to use the keyword "public" to make it accessible to other classes. It sounds like you are just starting out with C#. Before you get too far with the XNA framework and game programming, I'd highly recommend that you take some time to learn the basics of OO programming with C# first. You don't need to be an expert, but getting a basic understanding of the syntax and key concepts is going to go a long way to avoiding frustration. There's &lt;a href="http://forums.xna.com/thread/16573.aspx"&gt;a FAQ here&lt;/a&gt; with some great recommendations. &lt;br&gt;&lt;br&gt;Hope that helps!&lt;br&gt;</description></item><item><title>Global Bool?</title><link>http://forums.xna.com/forums/thread/61754.aspx</link><pubDate>Tue, 13 May 2008 22:00:12 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:61754</guid><dc:creator>Greenskull</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/61754.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=61754</wfw:commentRss><description>In one of my cs files, pressing a button makes ship1=true, so how do I make another cs file recognize that change? Please reply as soon as possible! THANKS!</description></item></channel></rss>