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

Software Development Network >> Game Technologies

Game Technologies

New Question

Multithreading in XNA
Help converting MDX1.1 Sample to XNA
Game.ico
Game and GameComponent Feedback
2d resets with nuclex fonts?
weird ghosted/double image of rotating object
Direct3D for my GUI
Collision of Rotated Sprites
Applying custom effects to an imported model
Begininer Needs Help

Top Answerers

JackStri
Olyx
AdamB78
Siraj Ansari
Honza N
gabemejia
Yelnik
donkaiser
Raihan Iqbal
krsarge
Developing Skills
Only Title

Answer Questions

  • Hassano21436 SQL Database Access

    Is it possible to use an SQL database as a backend to an XNA game The idea is to have an sql database on a server that can be accessed through connection code in the game to retreive and save data. Is it possible with windows-only games Is it possible with xbox games Is there sample code somewhere How does io work in XNA Yes it can be done, but only for windows games. I have actually been doing this for a while but with MDX Games and soon to be with XNA Windows Games. If you do want to use some sort of database system on the Xbox you would need to use XML or write a custom solution. X-box Live! is not exposed to the XNA libraries, and the System.Net namespace (and similar) are not available on the X-box, ...Show All

  • qrli 3D Shape Order, Artifacts (screenshots)

    More progress, more problems. Perhaps this is from being used to OpenGL, but I'm having problems having 3D shapes appearing correctly in front of or behind each other. It appears that they are displayed by the order rendered in the Draw() call, and not by position. Is there a simple setting to enable/disable here In these screenshots, the sphere (TriangleStrip) is drawn first, and the cube second (TriangleList). The cube is inside the sphere, but the cube appears to be in front of the sphere when displayed. Like so: http://www.cybra.net/gd/images/SphereCubeProblem.jpg Rotated 180: http://www.cybra.net/gd/images/SphereCubeProblem2.jpg The lighting is off, but that's a whole separate thing since there's zero mention of lighting ...Show All

  • Venkatram Managed DirectX Sprites: Is it possible to light them?

    Hi, Does anyone know if it is possible to apply Direct3D lights to sprites constructed using the Sprite helper class in Managed DirectX Since the class creates a quad for the sprite, I would have thought it possible to light the quad or rather the quad's texture. I have tried adding a light to my sprite scene and have tried doing this both before and after drawing the sprites. However, I cannot seem to get the lights to work. I have used the following code: // This is in my initialise section: m_Direct3DDevice.RenderState.Lighting = true; m_Direct3DDevice.RenderState.ZBufferEnable = true; // This is in my render loop: m_Direct3DDevice.Clear(Microsoft.DirectX.Direct3D.ClearFlags.Target, Color.Black, 1.0f, 0); m_Direct3DDevice.BeginScene(); ...Show All

  • Mike McGrath NoSuitableGraphicsDeviceException in Beta 2

    I developed a small Tetris clone in Beta 1 of XNA Game Studio Express and am now trying to convert it to Beta 2. The problem is, I'm using a fairly old laptop and when I try and build a project I get a NoSuitableGraphicsDeviceException exception thrown. The message reads "Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater.". Considering that even VESA is a compatible Direct3D9 driver, the graphics card in my laptop must not support 1.1 pixel shaders. In which case, is there any way to disable this feature so that I can continue to develop on my laptop For a start, the game I'm developing is just a simple 2D game so it doesn't need pixel shaders at all. ...Show All

  • IXOYE333 3 questions...

    Hello. I was wondering how long does it take to learn C# (average) I know it varies from person to person. I just want to get an idea on how long it may take me. I want to know how to code in C# to make 2D games using XNA. I just bought a book on C#. The book is called 'Beginning C# Game Programing'. I just read the first few pages. I did make my first application (if you can call it that) and that was the Hello World message. Visual C# 2005 is complicated for me. But I'm getting the hang of it. I wish I had the knowledge to develop games by now. lol. But I still have a long way to go. I don't know how long though. I have two more questions, how much C# must I know to create simple 2D games such as Tetris And how much math do I need to k ...Show All

  • Brian Laws 2D graphics and how to do a simlpe put pixel ? (old school style :) )

    Hi people, i have installed XNA with c# and thats its seems to be a pretty good tool but there's not so much documentation for the moment. Im actually seeking on how do a simple putpixel on the screen, i was thinking on creating a Texture2d object then set some data in it and finally draw that texture to the screen but im quite lost on how to create the texture, i ahve tried to create one but i got an exception error on the rutime. Any help would be really apreciated. Thanks, Nicolas Hi, yep will be easier, I'm using the same code that Psykotic gave me, nothing seems wrong to me according the documentation :-/ private void WindowsGame_Starting(object sender, GameEventArgs e) { //Set Screen ...Show All

  • Marius Onofrei Form file not found ?

    I'm writing a game with MDX 1.1 and VS's 2003 and 2005 On my computer i have 2 OSes I've started developing on Vista RTM with VS 2005 Game worked normally on my computer But when I uploaded it to a forum its members reported that it gives a system.iofilenotfound exception (don't yhink about missing data files, they're all at the right place and paths are not ablosute) Then i have switched to XP and ran EXE compiled on Vista with debug. This exception happens when dim frm as new GameForm or frm=new GameForm in sub Main() Frameworks 1.1 and 2.0 and DX are installed on my and members' computers. I have trie all combinations of VS 2003/2005 and Vista/XP I have no idea Help me, please Punkoff wrote: ( ...Show All

  • SurreDeth Multiple Cores, etc... on the 360

    Hello everyone, Like practically everyone here, I'm truly excited about the idea of being able to run my own games on the 360! I've long been interested in the concept of running my own code on a console and it's always annoyed me that systems needed to be locked down so heavily because of the pirates who spoil the fun for all of us. So I just want to say thanks to Microsoft for giving us hobbyist/one-guy game developers the chance to develop for the console like this! It's like my prayers have been answered! Now for a couple of questions: 1) I'm just wondering how the multiple cores in the 360 will work Will the managed code automatically utilize all three (well, in effect, six) cores or w ...Show All

  • Mbauser Sphere mapping

    In mdx 1.1, you can enable automatic generation of sphere mapped texture coordinates with: this._device.TextureState[this._stage].TextureCoordinateIndex = 0x00040000; Is there an xna equivalent Or do you have to do it manually This doesn't appear to do it: this._game.GraphicsComponent.GraphicsDevice.SamplerStates[this._stage].ElementIndex = 0x00040000; The ZMan wrote up a really good C#/MDX tutorial on mapping spheres (and other objects) here: http://msdn.microsoft.com/coding4fun/zman/zmanTextures3/default.aspx Ok, that helps, thanks :) Automatic texture coordinate generation like that is part of the fixed function pipeline. Xna d ...Show All

  • Cspooner Running builds

    Okay, I am a super newb so don't scoff okay. I just started playing around with XNA beta 2 and I have a small, but hilarious, problem that I can't seem to figure out. I am in the "Your First Game: Microsoft XNA Game Studio Express in 2D" starter section, and I am at the end of step 4. The text tells me to "build and run your game". I built it and it tells me that the build was successful, but I can't find the option to run the game!! Please someone, just tell me how to "Run" my build!!! It's easy enough to miss. Looking at your toolbar under the file menu, you'll see a little green arrow. Clicking that will "run" your game. You can also hit the "F5" key to get the same result. Congra ...Show All

  • mackenzie 2480 Game Input Component

    For those interested, I have created a small Game Component for XNA that encompasses the three main forms of user input (Gamepad, Keyboard and Mouse) into one component. Using this component should make it more straightforward managing user input from a number of sources. I apologise in advance for the code quality, it was kind of thrown together in an evening to allow me to test other aspects of the game I am working on. Your comments/suggestions/criticisms welcomed. You can find the code on CodePlex @ http://www.codeplex.com/Wiki/View.aspx ProjectName=XGameInput Andy ...Show All

  • Deza How to Launch a XNA game in a new thread ?

    Hello, So, no, this thread is not a tutorial on how to do it. And I am a beginner at thread programming. I ll start by explaining why and what I would like to do. So I am planning on creating a game that can be played by multiple persons either on the same machine, or using network. I though that having a thread listening to input events was a good idea. On thread for each input devices (keyboard / mouse / game pad ... ). I also wanted to have a thread that managed rendering. And information sharing was done through a FIFO buffer. External thread are writers, while the receiving thread was the consummer. It would be something like the following: A "device listener thread", lets call it a playerManagement thread (PMT), receive som ...Show All

  • donWong Spacewar Starter Kit

    Hey , I just started using XNA Game Studio Express . When I load the Spacewar Starter Kit and press start to test the game there is only Xbox 360 functions , Is there any way I can play this using my PC keyboard or send this to my Xbox 360 . To play using your PC, hit Home. Then again for single player mode. See the Spacewar Readme for key assignments. Walt Have you actually tried using the wireless one on your PC 'Cause as far as I know it will not work . Thanks, so let me correct my first statement  ...the 360 controller (wired version) works great plugged into the PC. I have not, but I was sure going to try with t ...Show All

  • Oliver_Schwarz PIX crash when attempting to set shader variable

    I've got some code that works fine when not running via pix, how ever when i run it through pix it crashes. I've found that the crash is caused when i call either: SetResource or SetMatrix here is my code: void DX10Effect::SetTexture(EffectParamHandle handle, Texture* texture) { HRESULT hr = ((ID3D10EffectShaderResourceVariable*)handle)->SetResource( static_cast <DX10Texture*>(texture)->GetTextureRV()); int nothing = 0; } void DX10Effect::SetMatrix4(EffectParamHandle handle, const Matrix4& matrix) { HRESULT hr = ((ID3D10EffectMatrixVariable*)handle)->SetMatrix(( float *)&matrix); int nothing = 0; } EffectParamHandle is typdef'ed as a void* so hr = S_OK when ...Show All

  • Kolja error loading model in xna framework

    hello i have a problem loading a model that i have made it in 3d studio max 9, the model is a human all with texture, but when i put it in the content pipeline and try to run or compile the program the compiler send me this error Error 2 BasicMaterial has a texture, but geometry does not contain texture coordinates. E:\my games\prueba01\prueba01\enzo.X prueba01 What i need to do to correct this how do i put texture to a geometry what does it mean If you have Maya 8.5 you can try using Maya's built in .fbx exporter instead.   Or, if you really want to use X, have a look at the Direct X SDK. There is source code for previous versions of X exporter for both Maya and Max. You can probably b ...Show All

99012345678910111213141516

©2008 Software Development Network

powered by phorum