Software Development Network Logo
  • Visual FoxPro
  • IE Development
  • Windows Forms
  • Visual C#
  • Visual Studio
  • Windows Vista
  • Microsoft ISV
  • Smart Devicet
  • SharePoint Products
  • Visual Basic
  • Game Technologies
  • SQL Server
  • Audio and Video
  • .NET Development
  • VS Team System

Software Development Network >> Game Technologies

Game Technologies

New Question

PIX Shader debugging - no HLSL in debug view
Initialize(), LoadAllGraphicsContent(), Unload()???
Problem creating a render target.
2 or 1 more day(s) depending where u are
how low level is XNA
loading textures "in game"
Maya objects with scale *=-1 import with front face culling
keyboardState.IsKeyDown(Keys.Alt) -> bad index error
How to Play Sound??
RocketCommanderXNA Mouse Issue

Top Answerers

Mathias Raacke
rahulmanasa
kevin D. white
Kumaresan.K
JimTan
sqlhiker
armandino
maest
mackenzie 2480
Gabriel Lozano-Moran
DC Micro Development, Inc.
Only Title

Answer Questions

  • IBRAHIM ERSOY DirectX clearing device problem

    Sorry if this is a dumb question but im a beginner at DirectX development. My game window is drawn and works well (nothing else is drawn at this point). I have no code errors except when I hit the X button on the window I get this: The Code: dGDevice.Clear(ClearFlags.Target, System.Drawing.Color.SlateGray, 1.0f, 0); The Error: System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="Microsoft.DirectX.Direct3D" StackTrace: at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions) at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil) I hav ...Show All

  • Nima_DK Deleting a line of text in a text file.

    I am trying to delete each entry of the text file below, one at a time, after it has been used. I quess you can say I am trying to use an old "push and pop" method. I have 9 variables I want to fill from the text file, then I want each variable cleared to receive the rest of the text from the file. Is there a way to do this in VB.net 4 113 2 A1455 00320 025 1819 122006 155 4 112 2 E1569 00425 030 1816 122006 145 line1 = sr.ReadLine() line2 = sr.ReadLine() line3 = sr.ReadLine() line4 = sr.ReadLine() line5 = sr.ReadLine() line6 = sr.ReadLine() line7 = sr.ReadLine() line8 = sr.ReadLine() line9 = sr.ReadLine() try this: -Create the Full String ( 4 113 2 A1455 00320 025 1819 122006 155 ...Show All

  • joss1974 How do you handle the whole thing with getting models and maps into XNA?

    I don't have XNA yet, but I need to know about doing models and maps. So, how do you handle the whole thing with getting models and maps into XNA First off, I will move the post into the XNA Groups. To load content into your applications for the moment you are going to have to work on your own code as these functions where not really implemented in the Beta. Going forward you will have the content pipeline that will assist you. This pipline will have functions that will load and import the contnet from different formats. If you have a look at the webcast that was talked about on the xna team blog you will get some more information. ( http://blogs.msdn.com/xna/archive/2006/10/06/XNA-Spacewar-Starte ...Show All

  • Eric Fowler Creator's Club for Europe

    I've been playing around with Beta 1 and Beta 2 of XNA GSE since they launched and am really excited about finally getting my stuff running on the 360. However, I was wondering if the Creator's Club download that is required is only available to US residents at the minute I live in the UK and am currently at work but I wanted to download the Creator's Club when I got home. Excellent. I'm really excited about trying this when I get home. Also, what does it translate to in GBP About £60 It's avaiable in just about every location that has Xbox Live support. So, UK = definitely supported. £30 for 4 months, £65 for a year. Edit: So yes, a bit of "UK-Tax" on top of ...Show All

  • mliesmons Ready to Run Game Code?

    Hello, Looking forward to downloading the XNA CTP this weekend. I wonder, is there any ready-to-run game code for it I would like to download something just to give it a quick go. Thanks in advance, Hello, The CTP that you downloaded is for XNA Build, which is a build system for professional games. It is not related to XNA Game Studio Express that was announced on Monday. There are tutorials available as well as some sample tasks that should help you get started. ...Show All

  • alihht Raytracing with DirectX

    Can someone please recommend a few good resources for creating some basic ray tracing engine code for someone familiar with DX9 raster graphics. Specifically something with coding examples and how/where/when to use shaders in conjunction with ray tracing. Also, something that has been created/written within the past 2 years, not things from pre-DX8.1 days. Thanks. Thanks. I did some searching and came up with a couple of those. Here's another good one: http://www.iit.bme.hu/~szirmay/gpugi_link.htm It shows how to use DirectX 9 and Shader Model 3.0 to do some cool realtime interactive raytracing and global illumination. How many years till one 386 cpu for each pixel on the screen. :) With an Oct ...Show All

  • Louis Davidson Problem with DirectX and Visual Studio 2k5

    Hey,    I've noticed something very wierd. I am using Visual Studio 2k5 for sometime but I've never tried to complile my previous Direct3D relelated projects on this release of Visual Studio, maybe because it never occured because the machine that I was developing them had 2k3. Now for the Problem if you create a Win32 default application with MFC support (or not) that you try to write the following stuff you get linker errors and sometimes complier errors. I've never had them before and I don't know why they are occur. I checked for the Project Properties, altered some stuff (such the use of precompiled headers etc with no luck :S). The DirectX samples compile fine but I don't know the cause of the pr ...Show All

  • Leon Mayne Camera concepts

    I was reading a little bit about camera handling and was wondering what the typical concept is. Assume you are programming a 3D world where a player can move. Would you: a) move the camera and leave the world objects fixed if the player moves or b) move all world objects to make it appear as if the player moves I write something that plays in a fixed sized world and I have several elements moving independently from the player, so I used a) there. But would you use a) for e.g. a space fighter simulation, too Or a race game Or something that plays in a virtual city I guess programs are like snowflakes - each one is unique ;) I expect always a large number of "state-wise" identical object ...Show All

  • Oren Solomon Help, can't open my project anymore

    I have just installed the Beta2 of XNA Game Studio and it says I can't open my Beta1 project anymore. I have to create another project and re-import all the files Actually you're right, it's not in there, it's in this post: http://blogs.msdn.com/xna/archive/2006/11/01/xna-game-studio-express-beta-2-available-for-download.aspx Specifically the part that says "The main thing to keep in mind is that you need to migrate your beta 1 projects over to beta 2 manually. This involves creating a new project and importing your code files. " It's not too hard to do.  I had mine done in a couple hours worth of work. Yes, read the FAQ next time ;) Thank you :) ...Show All

  • djshades2004 Decompilable?

    How easily can the games compiled with XNA be decompiled I know .NET and C# can be easily decompiled, so I'm just wondering. Looks like decompiling will not be an issue at first Q: How exactly can I share my 360 game to other 360 users Will my game only be available to people with the XNA “Creators Club” subscription Will it be available to all 360 users that have an Xbox Live account A: There is currently no supported way to share binaries on the Xbox 360. Currently, there are four requirements that must be met in order to share a game targeting Xbox 360 which is developed with XNA Game Studio Express. The individual you are planning to share the game with must be logged in to Xbox Live and ha ...Show All

  • Steve1999 Spacewar failed to launch...

    Error 1 Error code: -1 encounted when initializing FBX file loader. The file is either corrupted or it is not a valid FBX file. C:\...\Visual Studio 2005\Projects\MySpacewarWin1\MySpacewarWin1\Content\Models\p1_pencil.fbx MySpacewarWin1 corrupted :( thx man thx. - . . :\NonUnicodeFolderName\ C:\...\Visual Studio 2005\......... I believe that C:\...\ has some Unicode characters in the path... FBX Importer is working only with english letters in filename and it's path... Did you try creating a new SpaceWar starter kit project I got the same error when starting ...Show All

  • binod m paul A couple questions (may be slightly off topic)

    1. I've been wanting to put up some code onto a webpage, but I want some syntax highlighting. Does anybody know of some good scripts to achieve this 2. Is there any way to take an enum (i.e. public enum Maps{MapA, MapB, MapC};) and iterate through them without typing out every term For syntax highlighting there are lots of options, I like TextPad, it has a 'copy as html' option on the right click... for enums (good trick George, thanks!), you can also specify values for them, and then loop using ints or whatever your base is (assuming they are sequential). That is, you can cast like MyEnum e = (MyEnum)5; For certain types of enums I have standard "Empty" and "End" values, this is useful as a quick way of bound ...Show All

  • SatishM XNA compiled programs crashing

    Hi, i downloaded XNA Game Studio express Beta an hour ago. The application itself works pretty well, but when i compile an application (like the Spacewar starter kit or a new project), the exe that i find in *project folder*/bin/Release/ won't launch : it crashes and asks me if i want to send a report to microsoft. I know it's kinda normal since it's a beta software, but if anyone knows an issue to this problem, it would be very helpful ;) Thanks in advance.   Aki pl wrote: I have the same problem. But I have august SDK. Maybe problem is in code I must change this. But can enybody tell me why It doesn't crash when you run it from the IDE, but it does when you run the exe Just confirming ...Show All

  • Philippe Cand Game Components Demo

    I've posted a video of my Game Components demo I did at Gamefest. http://blogs.msdn.com/xna/archive/2006/08/31/734204.aspx Very nice introduction to gamecomponents. Thanks for posting this. Very interesting. Can you post the sample code from your demo Thanks Sean Mitch, that's too cool for words . Andy. a demo creating a graphical component would help a lot Just the answer I was looking for. Thanks. Great video! Is there anywhere we can find the source code We definitely have alot of thoughts on where to take GameComponents in the ...Show All

  • briggins5 Shooting

    What code could u use for something to shoot. would this event work: if(GamePad.GetState(PlayerIndex.one).Buttons.A == ButtonState.pressed) shoot = true; if(Shoot = True) { bullet.X = Player.X; bullet.Y = Player.Y; buller.Y += bulletSpeed; shoot = false; } An easier way, that would be much more scalable is to possibly use a list of bullets, that contain bullets that have been fire. Check the input of the player, if the button to shoot is pressed, create a new bullet, and add it to the list of bullets. And every frame, you update all the bullets. struct myBullet { int x, y; int speed; int damage; } List<myBullet> _Bullets; public void CreateBullet() { myBullet bull = new myBull ...Show All

131415161718192021222324252627282930

©2008 Software Development Network

powered by phorum