<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx</link><description>This is Part 2 of an introductory series on game programming using the Microsoft .NET Framework and managed DirectX 9.0. This article covers the basics of DirectX. Derek Pierson 3Leaf Development Difficulty: Intermediate Time Required: 1-3 hours Cost:</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#1647013</link><pubDate>Sun, 11 Feb 2007 03:20:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1647013</guid><dc:creator>Adam Duncan</dc:creator><description>&lt;p&gt;Just thought I'd suggest linking to the previous/next sections of this tutorial. I've also have troubles finding each section of this article via your web page. After I did section 1 I couldn't find section 2 without typing 'Beginning Game Development: Part II' into google. Perhaps I'm blind and just missed a very visible link to the articles but right now I'm not seeing it. Thanks,&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2043949</link><pubDate>Sat, 07 Apr 2007 09:40:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2043949</guid><dc:creator>Sean</dc:creator><description>&lt;p&gt;After Putting in Private Device device .......... It said It couldn't find a Namespace Device&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2218962</link><pubDate>Sat, 21 Apr 2007 12:42:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2218962</guid><dc:creator>Trubkins</dc:creator><description>&lt;p&gt;Sean, you must right-click it and choose &amp;quot;using Microsoft.DirectX&amp;quot; to link it to that class ;)&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2243300</link><pubDate>Mon, 23 Apr 2007 11:42:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2243300</guid><dc:creator>Bob</dc:creator><description>&lt;p&gt;make sure you put in -&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;
&lt;p&gt;- on around line 13 in the GameEngine.cs&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2258260</link><pubDate>Tue, 24 Apr 2007 11:58:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2258260</guid><dc:creator>Lubo</dc:creator><description>&lt;p&gt;&amp;quot;After Putting in Private Device device .......... It said It couldn't find a Namespace Device&amp;quot;&lt;/p&gt;
&lt;p&gt;u just need to put &lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX;&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;
&lt;p&gt;in GameEngine class&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2269372</link><pubDate>Wed, 25 Apr 2007 11:35:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2269372</guid><dc:creator>Anton</dc:creator><description>&lt;p&gt;I have had the same issue as Sean (April 7, 2007)&lt;/p&gt;
&lt;p&gt;I added the code: using Microsoft.DirectX.Direct3D;&lt;/p&gt;
&lt;p&gt;and the error dissapeared. I hope that this would be sufficient to use for the rest of the game.&lt;/p&gt;
&lt;p&gt;Anton&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2272832</link><pubDate>Wed, 25 Apr 2007 17:45:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2272832</guid><dc:creator>Alxandr</dc:creator><description>&lt;p&gt;I still get the error about namespace samples is not part of class microsoft... I've done everything as you said... Pleas help...&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2293344</link><pubDate>Fri, 27 Apr 2007 04:37:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2293344</guid><dc:creator>Daniel Gouveia</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Sean, you must put the following line:&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;
&lt;p&gt;See ya!&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2293364</link><pubDate>Fri, 27 Apr 2007 04:42:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2293364</guid><dc:creator>Neil</dc:creator><description>&lt;p&gt;re: Namespace Device error, make sure to add the &amp;quot;using Microsoft.DirectX;&amp;quot; and &amp;quot;using Microsoft.DirectX.Direct3D;&amp;quot; directives to the top of your GameEngine.cs file&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2300326</link><pubDate>Fri, 27 Apr 2007 18:15:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2300326</guid><dc:creator>Nebs</dc:creator><description>&lt;p&gt;I get the same error as Sean...&lt;/p&gt;
&lt;p&gt;Error	1	The type or namespace name 'Device' could not be found (are you missing a using directive or an assembly reference?)&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2300364</link><pubDate>Fri, 27 Apr 2007 18:21:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2300364</guid><dc:creator>Nebs</dc:creator><description>&lt;p&gt;Never mind, fixed the problem. &lt;/p&gt;
&lt;p&gt;You must add this at the top:&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2306607</link><pubDate>Sat, 28 Apr 2007 04:33:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2306607</guid><dc:creator>Billy</dc:creator><description>&lt;p&gt;I plugged in the Private Device device, and is said that it coudn't find a namespace device.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2312533</link><pubDate>Sat, 28 Apr 2007 17:39:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2312533</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Same problem,Can't find the Namespace Device&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2324304</link><pubDate>Sun, 29 Apr 2007 14:10:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2324304</guid><dc:creator>yianna</dc:creator><description>&lt;p&gt;if it couldn't find a Namespace...add to code&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2337496</link><pubDate>Mon, 30 Apr 2007 12:56:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2337496</guid><dc:creator>daniel eaton</dc:creator><description>&lt;p&gt;yea it says to be exact.. The type or namespace name 'Device' could not be found(are you missing a using directive or an assembly reference.&lt;/p&gt;
&lt;p&gt;those words pop up in my compiler. it is saying to me as i think i may be wrong but your trying to create a type of something we havent got down.. #include&amp;lt;somefile&amp;gt; anyone?&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2337512</link><pubDate>Mon, 30 Apr 2007 12:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2337512</guid><dc:creator>daniel eaton</dc:creator><description>&lt;p&gt;also any chance you can post the actual code. this will enable us to compare it. copy paste the gameengine class would be appreciated&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2398125</link><pubDate>Thu, 03 May 2007 21:54:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2398125</guid><dc:creator>Lee Gould </dc:creator><description>&lt;p&gt;I am interested in learning how to use models in this content, I am a new person to this your help would be apreciated. &lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2411337</link><pubDate>Fri, 04 May 2007 18:56:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2411337</guid><dc:creator>Noah</dc:creator><description>&lt;p&gt;Visual C# didn't like the int's in declarations in the FrameRate class&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2423607</link><pubDate>Sat, 05 May 2007 11:22:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2423607</guid><dc:creator>Pratith</dc:creator><description>&lt;p&gt;yeah!....i'm having the same problem....it said it couldn't &amp;nbsp;find a namespace Device....&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2452259</link><pubDate>Mon, 07 May 2007 00:49:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2452259</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Device is located under Microsoft.DirectX.Direct3D&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2521803</link><pubDate>Thu, 10 May 2007 14:20:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2521803</guid><dc:creator>Croc</dc:creator><description>&lt;p&gt;Sean: you must add &lt;/p&gt;
&lt;p&gt;&amp;quot;using Microsoft.DirectX.Direct3D;&amp;quot; &lt;/p&gt;
&lt;p&gt;to the GameEngine-class. &lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2547328</link><pubDate>Fri, 11 May 2007 17:18:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2547328</guid><dc:creator>Silicon Brain</dc:creator><description>&lt;p&gt;&amp;gt;# Sean said on April 7, 2007 2:40 AM:&lt;/p&gt;
&lt;p&gt;&amp;gt;After Putting in Private Device device .......... It said It couldn't find a Namespace Device&lt;/p&gt;
&lt;p&gt;You should add 'using Microsoft.DirectX.Direct3D;' to the others, than it'll work.&lt;/p&gt;
&lt;p&gt;Silicon Brain&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2592120</link><pubDate>Sun, 13 May 2007 08:54:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2592120</guid><dc:creator>Sunny</dc:creator><description>&lt;p&gt;private Device device; gave an error, adding Microsoft.DirectX and Microsoft.DirectX.Direct3D to the references did not work for me (c# express). &amp;nbsp;I had to add them in the using section:&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX;&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2645454</link><pubDate>Tue, 15 May 2007 12:02:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2645454</guid><dc:creator>Heien</dc:creator><description>&lt;p&gt;The type of namespace name 'Device' could not be found. &lt;/p&gt;
&lt;p&gt;It occured after putting in the: private Device device;&lt;/p&gt;
&lt;p&gt;I'm a total noob in this and am stuck here, can anybody help me?&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2656782</link><pubDate>Wed, 16 May 2007 00:00:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2656782</guid><dc:creator>Aaron</dc:creator><description>&lt;p&gt;Use &lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;
&lt;p&gt;in the using region&lt;/p&gt;
&lt;p&gt;if you get the namespace error for &lt;/p&gt;
&lt;p&gt;private Device device;&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2775711</link><pubDate>Tue, 22 May 2007 00:58:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2775711</guid><dc:creator>Carl</dc:creator><description>&lt;p&gt;To Sean&lt;/p&gt;
&lt;p&gt;Just float your mouse on the device word in your code page.Click on the arrow that appears you'll get a small box next to the word device.Click on Direct 3D Device.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2786623</link><pubDate>Tue, 22 May 2007 10:58:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2786623</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;To Sean&lt;/p&gt;
&lt;p&gt;You just need to include directX libraries&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2805120</link><pubDate>Wed, 23 May 2007 05:25:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2805120</guid><dc:creator>Shane</dc:creator><description>&lt;p&gt;i had the same problem as sean&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2833647</link><pubDate>Thu, 24 May 2007 08:53:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2833647</guid><dc:creator>Nevin Morrison</dc:creator><description>&lt;p&gt;Sean,&lt;/p&gt;
&lt;p&gt;Add the following using directive to the top of your GameEngine form:&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;
&lt;p&gt;Nevin&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2841298</link><pubDate>Thu, 24 May 2007 16:06:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2841298</guid><dc:creator>Medárd</dc:creator><description>&lt;p&gt;Type this line:&lt;/p&gt;
&lt;p&gt;using Microsoft.DirectX.Direct3D;&lt;/p&gt;
&lt;p&gt;and the problem is solved&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2848296</link><pubDate>Thu, 24 May 2007 22:05:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2848296</guid><dc:creator>Peter</dc:creator><description>&lt;p&gt;I've just made the program upto the paragraph &amp;quot;3d Graphics Terminology&amp;quot; and my program just crashes. After commenting some code out is seems that the line with &amp;quot;new Device(etc.)&amp;quot; causes the problem, any suggestions?&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2861853</link><pubDate>Fri, 25 May 2007 08:52:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2861853</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;you need to make sure you have using Microsoft.DirectX.Direct3D; at the top when u have ur input of &amp;quot;private device device&amp;quot; to work and not bring up the namespace not found message&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2908925</link><pubDate>Sun, 27 May 2007 07:01:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2908925</guid><dc:creator>Dast</dc:creator><description>&lt;p&gt;For whatever reason, I get an exception thrown from the constructor of Device if I don't set presentParams.Windowed = true. &amp;nbsp;I don't know why, but when this is not set on my system, the constructor throws an unhelpful (Message = &amp;quot;Error in Application&amp;quot;) exception...&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2984815</link><pubDate>Wed, 30 May 2007 12:00:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2984815</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Dast, in order to you Windowed mode you must setup BackBuffers in the PresentParameters.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#2989718</link><pubDate>Wed, 30 May 2007 19:03:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2989718</guid><dc:creator>Ondrej</dc:creator><description>&lt;p&gt;When I try code for VB from part I or part II, I get the same error message: 'Samples' is not a member of 'Microsoft'. Do I have to install C# for support of DirectXSampleFramework?&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3125349</link><pubDate>Thu, 07 Jun 2007 00:00:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3125349</guid><dc:creator>Craig</dc:creator><description>&lt;p&gt;When i get to the point of commenting out the stuff in dxmutmisc.cs and try to build i get the following errors:&lt;/p&gt;
&lt;p&gt;This one is from the GameEngine.cs file, with reference to the OnPaint method parameters:&lt;/p&gt;
&lt;p&gt;Error	1	The type or namespace name 'PaintEventArgs' could not be found (are you missing a using directive or an assembly reference?)&lt;/p&gt;
&lt;p&gt;And i get a few of these every time i have something to do with the Drawing object.&lt;/p&gt;
&lt;p&gt;Error	7	The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference?)	&lt;/p&gt;
&lt;p&gt;I have followed everything as explained and i am using the DirectX SDK (April 2007)&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3294253</link><pubDate>Thu, 14 Jun 2007 20:43:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3294253</guid><dc:creator>Jon</dc:creator><description>&lt;p&gt;I get an error when trying to compile and the debugger stops at the line of code: Application.Run(new GameEngine() );&lt;/p&gt;
&lt;p&gt;The error is: &lt;/p&gt;
&lt;p&gt;BadImageFormatException was unhandled&lt;/p&gt;
&lt;p&gt;&amp;quot;is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)&amp;quot;&lt;/p&gt;
&lt;p&gt;Anyone else get this or know how to resolve it? &amp;nbsp;I assume it may have something to do with the 64-bit OS.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3482305</link><pubDate>Sat, 23 Jun 2007 17:17:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3482305</guid><dc:creator>Dennis</dc:creator><description>&lt;p&gt;Caps caps = Manager.GetDeviceCaps(adapterOrdinal, DeviceType.Hardware); throws an exception &lt;/p&gt;
&lt;p&gt;An unhandled exception of type 'Microsoft.DirectX.Direct3D.NotAvailableException' occurred in Microsoft.DirectX.Direct3D.dll &lt;/p&gt;
&lt;p&gt;Any Ideas &lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3490283</link><pubDate>Sun, 24 Jun 2007 01:42:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3490283</guid><dc:creator>Dan</dc:creator><description>&lt;p&gt;I made the program up to &amp;quot;3d Graphics Terminology&amp;quot;, and I'm using Microsoft.DirectX.Direct3D but the program will only run in Debug mode. &amp;nbsp;Otherwise it crashes.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3545140</link><pubDate>Tue, 26 Jun 2007 15:42:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3545140</guid><dc:creator>Luke</dc:creator><description>&lt;p&gt;I get this exception when I try and debug or run the program, this is with downloaded battletank files so no mistyping from me. &amp;nbsp;Can anyone help me (email:luke321321{at]gmail DoT com, exception:&lt;/p&gt;
&lt;p&gt;System.BadImageFormatException was unhandled&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Message=&amp;quot; is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Source=&amp;quot;BattleTank2005&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;StackTrace:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at BattleTank2005.GameEngine..ctor()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at BattleTank2005.Program.Main() in C:\Users\Luke\Documents\Visual Studio 2005\Projects\BattleTank2005\BattleTank2005\Program.cs:line 19&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ThreadHelper.ThreadStart()&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3652996</link><pubDate>Mon, 02 Jul 2007 03:16:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3652996</guid><dc:creator>Angel</dc:creator><description>&lt;p&gt;I cant build at the step right before &amp;quot;My GPU is Bigger than Yours&amp;quot;. I get this error: &lt;/p&gt;
&lt;p&gt;Error	1	'BattleTank2005.GameEngine.Dispose(bool)': no suitable method found to override	C:\Users\Angel\AppData\Local\Temporary Projects\BattleTank2005\Form1.Designer.cs	14	33	BattleTank2005&lt;/p&gt;
&lt;p&gt;and it points to the line:&lt;/p&gt;
&lt;p&gt;protected override void Dispose(bool disposing)&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3653436</link><pubDate>Mon, 02 Jul 2007 03:46:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3653436</guid><dc:creator>Angel</dc:creator><description>&lt;p&gt;Ok, I fixed the problem (I didnt add .cs when I renamed form1 to GameEngine). But now, after adding &amp;quot;Microsoft.Samples.DirectX.UtilityToolkit;&amp;quot; at the top of the code, I get an error that says:&lt;/p&gt;
&lt;p&gt;Error	1	A namespace does not directly contain members such as fields or methods	C:\Users\Angel\AppData\Local\Temporary Projects\BattleTank2005\GameEngine.cs	1	1	BattleTank2005&lt;/p&gt;
&lt;p&gt;P.S. Is it the placement? I put it at the very top&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3675559</link><pubDate>Tue, 03 Jul 2007 23:15:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3675559</guid><dc:creator>Zach</dc:creator><description>&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; When I put in the code:&lt;/p&gt;
&lt;p&gt; this.Text = string.Format(&amp;quot;The framerate is {0}&amp;quot;,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FrameRate.CalculateFrameRate());&lt;/p&gt;
&lt;p&gt;C# comes up with a bunch of errors.&lt;/p&gt;
&lt;p&gt;I put the code right after the code that says:&lt;/p&gt;
&lt;p&gt;private double deltaTime;&lt;/p&gt;
&lt;p&gt;Am I putting it in the wrong place or what. Please help&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3797931</link><pubDate>Tue, 10 Jul 2007 15:40:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3797931</guid><dc:creator>Lance</dc:creator><description>&lt;p&gt;Anyone solved Dast's problem? &amp;nbsp;I am having the same issue.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3832263</link><pubDate>Thu, 12 Jul 2007 17:12:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3832263</guid><dc:creator>Hagit</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I get an error after I press f6: &amp;quot;Error	1	The type or namespace name 'Samples' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)	&amp;quot;&lt;/p&gt;
&lt;p&gt;I tried to add: using Microsoft.DirectX.Direct3D;&lt;/p&gt;
&lt;p&gt;The problem remains.&lt;/p&gt;
&lt;p&gt;my email:hagitha25@walla.co.il&lt;/p&gt;
&lt;p&gt;Do you know what to do in this case?&lt;/p&gt;
&lt;p&gt;thank u...&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#3835699</link><pubDate>Thu, 12 Jul 2007 22:24:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3835699</guid><dc:creator>gopal</dc:creator><description>&lt;p&gt;I am getting Microsoft.DirectX.Direct3D.NotAvailableException at Caps caps = Manager.GetDeviceCaps(adapterOrdinal, DeviceType.Hardware);&lt;/p&gt;
&lt;p&gt;Any suggessions?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4186983</link><pubDate>Thu, 02 Aug 2007 14:55:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4186983</guid><dc:creator>belay</dc:creator><description>&lt;p&gt;I've got exception on the Device Constructor as Dast said it. Any useful ideas from those of who has worked it out after removing(commenting out) the&lt;/p&gt;
&lt;p&gt;#if DEBUG&lt;/p&gt;
&lt;p&gt; presentParams.Windowed=true;&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;section.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4187286</link><pubDate>Thu, 02 Aug 2007 15:16:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4187286</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;hey there, &lt;/p&gt;
&lt;p&gt;at first i wan't to thank you for this very good article(s). I'm a programmer since two years now but i've never tried to to desing a came yet. YOU got me realy into that now ;)&lt;/p&gt;
&lt;p&gt;Now my question: &lt;/p&gt;
&lt;p&gt;is there any specific reason why you create global variables such as &amp;quot;deltaTime&amp;quot; or &amp;quot;device&amp;quot; at the very END of a class or is it just some sort of style? &lt;/p&gt;
&lt;p&gt;I learned to create global variables always at the BEGINNING of a class. &lt;/p&gt;
&lt;p&gt;It doesn't matter anyhow where i create them, does it?&lt;/p&gt;
&lt;p&gt;Seems like i just learned a diffrent style... please correct me if i'm wrong.&lt;/p&gt;
&lt;p&gt;chris from germany&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4293669</link><pubDate>Wed, 08 Aug 2007 18:01:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4293669</guid><dc:creator>Zack</dc:creator><description>&lt;p&gt;When I run it in debug mode I get the blue window... but if I just run it (full-screen) it crashes.&lt;/p&gt;
&lt;p&gt;I suspect Vista and DX10 are my problems... and fixes?&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4305067</link><pubDate>Thu, 09 Aug 2007 08:25:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4305067</guid><dc:creator>rashmi</dc:creator><description>&lt;p&gt;I am getting a similar exception at &lt;/p&gt;
&lt;p&gt;Caps caps = Manager.GetDeviceCaps(adapterOrdinal, DeviceType.Hardware)&lt;/p&gt;
&lt;p&gt;The error string :&amp;quot;D3DERR_NOTAVAILABLE&amp;quot; and errror code -2005530518.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4418096</link><pubDate>Thu, 16 Aug 2007 20:10:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4418096</guid><dc:creator>jmasloff</dc:creator><description>&lt;p&gt;I am up to the part where it says to complile the program and you get a blue screen. I have done all the suggestions made including DirectX libraries and remcoing a few &amp;quot;unsafe&amp;quot; words from the dxmutmisc.cs file but I still get an error message about not finding the namespace &amp;quot;Framework&amp;quot; in that very file. I am using Visual C# Express Edition.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4585947</link><pubDate>Mon, 27 Aug 2007 08:31:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4585947</guid><dc:creator>russ</dc:creator><description>&lt;p&gt;Hey just FYI, if you are running on 64 bit, you have to change the build tab on the project properties to build for x86, otherwise you get an error every time you try to run. &lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4688093</link><pubDate>Sat, 01 Sep 2007 17:00:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4688093</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;I get an error that says cannot process code for &lt;/p&gt;
&lt;p&gt;if &amp;nbsp;(caps.DeviceCaps.SupportsHardwareTransformAndLight) &amp;nbsp; &amp;nbsp;{ &lt;/p&gt;
&lt;p&gt; &amp;nbsp; createFlags = CreateFlags.HardwareVertexProcessing;&lt;/p&gt;
&lt;p&gt;} &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;else&lt;/p&gt;
&lt;p&gt;{ &amp;nbsp; &lt;/p&gt;
&lt;p&gt; createFlags = CreateFlags.SoftwareVertexProcessing;&lt;/p&gt;
&lt;p&gt;} &lt;/p&gt;
&lt;p&gt;it says you shouldn't modify the code in the Initialize Component method. &lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4765230</link><pubDate>Wed, 05 Sep 2007 17:41:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4765230</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;I get the same exception if I don't set presentParams.Windowed = true&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4797915</link><pubDate>Fri, 07 Sep 2007 04:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4797915</guid><dc:creator>Sean75071</dc:creator><description>&lt;p&gt;I got the same error Sean did... I added using Microsoft.DirectX.Direct3D; but then it threw a warning:&lt;/p&gt;
&lt;p&gt; Warning 1 Field 'BattleTank2005.GameEngine.device' is never assigned to, and will always have its default value null	C:\Users\Sean\Documents\Visual Studio 2005\Projects\BattleTank2005\BattleTank2005\GameEngine.cs	32	24	BattleTank2005&lt;/p&gt;
&lt;p&gt;Any one else get this warning also??&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4857044</link><pubDate>Tue, 11 Sep 2007 01:19:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4857044</guid><dc:creator>David Powell</dc:creator><description>&lt;p&gt;I really like your writing style and I feel like I am learning a lot. At time it seems like you are trying to cram a lot of information into a little space but I understand where you are coming from. This is a tutorial and not a book. With that said I would like to suggest that you write a book and try to get one of those big publishers to pick you up. I'm sure it's easier said then done but after reading two parts of your tutorial I am hooked and would purchase your book and recommend it to others in a heart beat. I have wanted to write games for a long time now and this is the first time any tutorials have made since to me.&lt;/p&gt;
&lt;p&gt;You stated you removed Application.EnablRTLMirroring() from the Program.cs class. My program.cs class did not have this method call in it. I assume this is because I am running a newer update of VS2005&lt;/p&gt;
&lt;p&gt;My only question is: Can you elaborate more on why you added a using block in the program.cs class. Or better yet can you explain why or how it works. I understand the purpose but not why it does that.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#4873978</link><pubDate>Wed, 12 Sep 2007 04:51:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4873978</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;Just so i understand, what do you mean by &amp;quot;wraping the creation of the GameEngine class into a using statement&amp;quot;? That was mentionned in the Code Housekeeping section.&lt;/p&gt;
&lt;p&gt;Thank-you!&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#5081579</link><pubDate>Mon, 24 Sep 2007 00:42:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5081579</guid><dc:creator>Otto</dc:creator><description>&lt;p&gt;Same problem as Dast - without adding&lt;/p&gt;
&lt;p&gt;presentParams.Windowed = true;&lt;/p&gt;
&lt;p&gt;to the GameEngine() class, the program crashes.&lt;/p&gt;
&lt;p&gt;OS I'm using is Windows Vista.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#5200977</link><pubDate>Sat, 29 Sep 2007 17:40:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5200977</guid><dc:creator>Jerimie</dc:creator><description>&lt;p&gt;Problem that I am having is in the dxmutmisc.cs file provided with the 2007 SDK. FramWork is not identiefied:&lt;/p&gt;
&lt;p&gt;Error	1	The type or namespace name 'Framework' could not be found (are you missing a using directive or an assembly reference?)	C:\Projects C#\BattleTank2005\BattleTank2005\DirectXSupport\dxmutmisc.cs	2189	61	BattleTank2005&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#5328391</link><pubDate>Sun, 07 Oct 2007 04:31:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5328391</guid><dc:creator>Wayne</dc:creator><description>&lt;p&gt;Anyone figure out why it Crashes? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I've added all the includes and what not... runs but crashes..&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#5460435</link><pubDate>Mon, 15 Oct 2007 12:46:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5460435</guid><dc:creator>Ryan</dc:creator><description>&lt;p&gt;Would anyone please tell me why the window stays grey when I start it? I told the computer to change the color to dark blue in the color part of the device's setup near the framework timer start function but it just won't do it! Any suggestions?&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#5560459</link><pubDate>Sun, 21 Oct 2007 04:50:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5560459</guid><dc:creator>Qua</dc:creator><description>&lt;p&gt;This articel is great. You understand how to take this subject and make me wanna learn everything about it. Your humor mixed in along is great!&lt;/p&gt;
&lt;p&gt;Thumbs up for you.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#5943298</link><pubDate>Tue, 06 Nov 2007 23:40:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5943298</guid><dc:creator>Anthony</dc:creator><description>&lt;p&gt;In the code housekeeping section you said you wrapped up creation of the GameEngine class into a using statement.&lt;/p&gt;
&lt;p&gt;How and where did you do that?&lt;/p&gt;
&lt;p&gt;Thanks! &lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#5950758</link><pubDate>Wed, 07 Nov 2007 07:52:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5950758</guid><dc:creator>Alexander</dc:creator><description>&lt;p&gt;Your articles are great. Thanks!&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#6267199</link><pubDate>Thu, 15 Nov 2007 19:53:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6267199</guid><dc:creator>Coding4Fun</dc:creator><description>&lt;p&gt;@ Martin, Anthony: &amp;nbsp;using statements cause the dispose method to be called when a block is exited. &amp;nbsp;Very useful for closing connections and resource clean up.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://ryanfarley.com/blog/archive/2004/03/18/447.aspx"&gt;http://ryanfarley.com/blog/archive/2004/03/18/447.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://dotnet.org.za/ernst/articles/510.aspx"&gt;http://dotnet.org.za/ernst/articles/510.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#6415090</link><pubDate>Tue, 20 Nov 2007 03:28:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6415090</guid><dc:creator>ayyash</dc:creator><description>&lt;p&gt;the crash pleeeeeeease ... what are we doing wrong ?????????&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#6595867</link><pubDate>Thu, 29 Nov 2007 12:48:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6595867</guid><dc:creator>SaWi81</dc:creator><description>&lt;p&gt;After comparing files I found that&lt;/p&gt;
&lt;p&gt;device.VertexFormat = CustomVertex.PositionColored.Format;&lt;/p&gt;
&lt;p&gt;hast to before&lt;/p&gt;
&lt;p&gt;device.DrawUserPrimitives(PrimitiveType.LineStrip, 6, CreateCrossHairVertexArrayTop());&lt;/p&gt;
&lt;p&gt;Thats all with my crashes now it works fine&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#6987094</link><pubDate>Sat, 05 Jan 2008 08:23:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6987094</guid><dc:creator>Finn</dc:creator><description>&lt;p&gt;It looks like a lot of people are having the same problem that I am, namely that the Device constructor is throwing an InvalidCallException when running in non-Windowed mode. &amp;nbsp;As far as I can tell from documentation the back buffer format needs to be set to something other than unknown if you want to run non-windowed. &amp;nbsp;I've looked through the available formats and tried a few, but I still get the exception. &amp;nbsp;Anyone know if this is why the exception is occurring? &amp;nbsp;It's difficult to debug as you can't step into the Device constructor code.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#7115840</link><pubDate>Tue, 15 Jan 2008 08:38:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7115840</guid><dc:creator>Jesse</dc:creator><description>&lt;p&gt;I'm using Visual Studio C# '05 Express Edition and have commenced developing an Xbox 360 game. I'm wondering if coding is any different because I have 12 errors and have done exactly as this tutorial has shown. PLEASE HELP&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#7133072</link><pubDate>Wed, 16 Jan 2008 20:46:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7133072</guid><dc:creator>Coding4Fun</dc:creator><description>&lt;p&gt;@Jesse, use XNA Game Studio instead if you want to develop in managed code for the 360.&lt;/p&gt;
</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#7143032</link><pubDate>Thu, 17 Jan 2008 22:17:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7143032</guid><dc:creator>janaka</dc:creator><description>&lt;P&gt;Hi I am getting the following errors and cannot seem to able to get rid of them on the follow ing lines of code&lt;/P&gt;
&lt;P&gt;// Tell DirectX we are about to draw something&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;device.BeginScene();&lt;/P&gt;
&lt;P&gt;device.DrawUserPrimitives(PrimitiveType.LineStrip, 6 , CreateCrossHairVertexArrayTop()); &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;device.DrawUserPrimitives(PrimitiveType.LineStrip, 6, CreateCrossHairVertexArrayBottom());&lt;/P&gt;
&lt;P&gt;errors i get:&lt;/P&gt;
&lt;P&gt;The name 'CreateCrossHairVertexArrayTop' does not exist in the current context &lt;/P&gt;
&lt;P&gt;The name 'CreateCrossHairVertexArrayBottom' does not exist in the current context &lt;/P&gt;
&lt;P&gt;Help&lt;/P&gt;</description></item><item><title>Software Information &amp;raquo; Coding4Fun : Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#7229334</link><pubDate>Fri, 25 Jan 2008 03:00:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7229334</guid><dc:creator>Software Information » Coding4Fun : Beginning Game Development: Part II - Introduction to DirectX</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://softwareinformation.247blogging.info/coding4fun-beginning-game-development-part-ii-introduction-to-directx/"&gt;http://softwareinformation.247blogging.info/coding4fun-beginning-game-development-part-ii-introduction-to-directx/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Beginning Game Development with MS .NET | Newbie Game Programmers</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#7715670</link><pubDate>Fri, 15 Feb 2008 16:33:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7715670</guid><dc:creator>Beginning Game Development with MS .NET | Newbie Game Programmers</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.savware.net/beginning-game-development-with-ms-net/"&gt;http://www.savware.net/beginning-game-development-with-ms-net/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Beginning Game Development with MS .NET | Newbie Game Programmers</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#7715671</link><pubDate>Fri, 15 Feb 2008 16:33:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7715671</guid><dc:creator>Beginning Game Development with MS .NET | Newbie Game Programmers</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.savware.net/beginning-game-development-with-ms-net/"&gt;http://www.savware.net/beginning-game-development-with-ms-net/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#8418525</link><pubDate>Wed, 23 Apr 2008 10:58:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8418525</guid><dc:creator>daniel</dc:creator><description>&lt;p&gt;It is not looking for namespace Device it is looking for device. &amp;nbsp;(notice the case)&lt;/p&gt;
&lt;p&gt;The name given to the variable Device is device. &amp;nbsp;It needs to be visible in other methods, so it needs to be declared at the beginning of the class.&lt;/p&gt;
&lt;p&gt;Put in this line of code&lt;/p&gt;
&lt;p&gt;Device = device.&lt;/p&gt;</description></item><item><title>Coding4Fun : Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#8945405</link><pubDate>Thu, 11 Sep 2008 23:31:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945405</guid><dc:creator>Coding4Fun : Beginning Game Development: Part II - Introduction to DirectX</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx"&gt;http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Coding4Fun : Beginning Game Development: Part V - Adding Units</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#8945420</link><pubDate>Thu, 11 Sep 2008 23:37:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945420</guid><dc:creator>Coding4Fun : Beginning Game Development: Part V - Adding Units</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/coding4fun/archive/2006/11/03/941679.aspx"&gt;http://blogs.msdn.com/coding4fun/archive/2006/11/03/941679.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Coding4Fun : Beginning Game Development: Part I ??? Introduction</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#8945429</link><pubDate>Thu, 11 Sep 2008 23:40:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945429</guid><dc:creator>Coding4Fun : Beginning Game Development: Part I ??? Introduction</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/coding4fun/archive/2006/11/02/938703.aspx"&gt;http://blogs.msdn.com/coding4fun/archive/2006/11/02/938703.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Coding4Fun : Beginning Game Development Part X ???Direct Sound Part III</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#8945441</link><pubDate>Thu, 11 Sep 2008 23:44:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945441</guid><dc:creator>Coding4Fun : Beginning Game Development Part X ???Direct Sound Part III</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/coding4fun/archive/2008/01/07/7020067.aspx"&gt;http://blogs.msdn.com/coding4fun/archive/2008/01/07/7020067.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Coding4Fun : Beginning Game Development: Part VIII - DirectSound</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#8945475</link><pubDate>Thu, 11 Sep 2008 23:55:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945475</guid><dc:creator>Coding4Fun : Beginning Game Development: Part VIII - DirectSound</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/coding4fun/archive/2006/11/06/999786.aspx"&gt;http://blogs.msdn.com/coding4fun/archive/2006/11/06/999786.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#8972904</link><pubDate>Thu, 02 Oct 2008 08:35:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8972904</guid><dc:creator>Jenya</dc:creator><description>&lt;p&gt;I was wondering how do you properly wrap the 'GameEngine' class to dispose things in a correct manner. I set up the framework for the dispose following the links you provided.&lt;/p&gt;
&lt;p&gt;But how do we exactly 'dispose' and what.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#9182055</link><pubDate>Sun, 07 Dec 2008 19:56:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9182055</guid><dc:creator>Tim Martin</dc:creator><description>&lt;p&gt;In the #if state with the debug, DEBUG has to be in all caps in order for it to work.&lt;/p&gt;</description></item><item><title>re: Beginning Game Development: Part II - Introduction to DirectX</title><link>http://blogs.msdn.com/coding4fun/archive/2006/11/03/940223.aspx#9576021</link><pubDate>Wed, 29 Apr 2009 19:24:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9576021</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;For people having problems with 64 bit OS&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 1. G in to the menu option Tools&amp;gt;Options and the in the dialog box tick the box in the bottom right corner to &amp;quot;Show all settings&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 2. Once the settings expand go to &amp;quot;Projects and Settings&amp;quot; expand it and click on &amp;quot;General&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 3. Check the option which is called &amp;quot;Show advanced build configurations&amp;quot;, then close the dialog box&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 4. Now if you right click on the solution explorer, chose properties&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 5. Goto &amp;quot;Configuration Properties&amp;quot;, now you should be able to see the platform drop down. This will probably have only &amp;quot;Any CPU&amp;quot; selected; if so click on &amp;quot;Configuration Manager&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 6. Chose the option &amp;quot;New&amp;quot; under the &amp;quot;Active Solution Platform&amp;quot; drop down box&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 7. Chose the new platform of x86 and copy your settings from &amp;quot;Any CPU&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 8. Then just make sure that your projects in your solution refer to x86 as the platform rather that &amp;quot;Any CPU&amp;quot;&lt;/p&gt;
&lt;p&gt;from &lt;a rel="nofollow" target="_new" href="http://opensebj.blogspot.com/2007/12/64-bit-windows-with-c-express-net-and.html"&gt;http://opensebj.blogspot.com/2007/12/64-bit-windows-with-c-express-net-and.html&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>