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

Software Development Network >> Game Technologies

Game Technologies

New Question

Identification of unreleased resources
Creating sprites for 2D games
Draw Texture2D in 3D space
Runtime platform determination?
pop up box? in game
winnt.h errors?
i know very little of programing, but im very interested and have alot of great ideas, where should i start
Meshbuilder And Geometry/Materials
Making Properties editable in the Properties Window
Diffuse HLSL for Skinned Mesh

Top Answerers

Selva kumar
kawano1h
HBWGeorge
Prabagarane
Hiral
RizwanSharp
GroZZleR
MAyotte
RayClark096
jk67
PBS: NewsHour with Jim Lehrer
Only Title

Answer Questions

  • Raymond Dalton my first game problems

    Hi everyone :) I have been having some weird issues with this tutorials code. It is mainly in this area here: myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "mytexture.bmp" ); Which is located in here: void LoadResources() { myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "mytexture.bmp" ); spriteBatch = new SpriteBatch (graphics.GraphicsDevice); } Everytime i run the game it gives me this weird error: An unknown error has occured. The result code was -2005529767. Any ideas what it might be Thanks for any replies. He is probably using a gif animation which he just renamed to another format. Same thing happened to me when I first ...Show All

  • Tommy.Le Problem wih Beta 2

    Hi, i was trying GSE beta 1. It was working ok. Now i have just installed Beta 2 and i got problem. When i try to do: m_spriteBatch = new SpriteBatch(GraphicsDevice); i get exception "The method call is invalid." also when i try to run code that we can find in XNA GSE Programming Guide : Use BasicEffect i get exception "Both a valid vertex shader and pixel shader (or valid effect) must be set on the device before draw operations may be performed." in line "graphics.GraphicsDevice.DrawPrimitives...." does any one know how to fix this problems thanks for any help! Ditto, here on my laptop. tankImage = content.Load< Texture2D >( @"Content/Graphics/tank" ); spriteBa ...Show All

  • Khenat.Ram Z-sorting trouble

    So I'm doing a 3D version of a boardgame and I've having trouble getting my tiles to draw correctly. I've got a class that is handling what should be drawn on screen during the phases of a players turn. Something along the lines of: GameBoardBackground.Draw(...) Foreach PlacedTile Tile.Draw(...) HUD.Draw(...) The tiles draw on top of the gameboard, and the HUD draws on top of the tiles which is what I'd expect. Unfortunately the tiles are drawn in the order that they occur in the foreach loop , so I end up with a bunch of sorting issues. My assumption is that I need to let the graphics device know I want that entire foreach loop drawn using z-buffer sorting and not explicitly sorted by order of draw call, but how do I do that ...Show All

  • sarika XACT and Music

    Xact cant import .mp3 .wma or .mid...what do i use to play music then must i really resort to converting them that'd be a pain Add your suggestion into connect - hopefully something can be done in the future but I doubt things will happen for v1. i just read those links and something should be done..i want my game 360 compatible so that means i must use what is given i know i could use direct sound for the windows version but converting a music file to .wav to have a whopping 50 megs is just..no You need to convert them to .wav. See Ben's FAQ - he talks about that. http://exdream.no-ip.info/blog/PermaLink.aspx guid=44339eda-8 ...Show All

  • dreadjr Right forum? Where to obtain the source code for the XFest 06 Exploiting D3D 10 - Adv Tech talk by Shanon Drone

    Is the source code available I tried searching the forums and the web to no avail. Hmm...it may be that the source IS indeed available.  I'll ask Shanon about it today and follow up here (it's possible that I made a mistake *gasp!* and didn't post it online  )     Shanon just pointed out that the code samples he uses are the same D3D 10 samples found in the DirectX SDK, so no "secret sauce" involved. Just download the SDK and you're all set! If you mean GameFest instead of XFest (which, as I understand it, is now dead) then I'm not aware of a public download for any source code. You could always email directx@microsoft.com to see if they're prepared to let you have it. But, b ...Show All

  • markovuksanovic Price?

    does anyone know how much XNA will cost i mean it can't be free... Q: Can I use the XNA Game Studio Express or XNA Framework to build a commercial Xbox 360 game A: XNA Game Studio Express will enable you to create Windows and now Xbox 360 console games much more easily. These games are limited to non-commercial scenarios for 360 titles created with XNA Game Studio Express. However, XNA Game Studio Express may be used to create commercial games which target Windows. We will be releasing XNA Game Studio Professional next spring which will allow developers to create commercial games for Xbox addition to Windows. The licensing is similar to old Academic Visual Studio licensing models. Obviously by the ...Show All

  • Meher Referencing other managed libraries from XNA Game Studio Express

    Is it possible to reference other (safe) managed libraries from XNA Game Studio Express   Since the JITer doesn’t care about what language the binary was initially written in, it should work properly on the 360 right   The reason I’m asking, is that with this approach I could keep some of my libraries which requires very high performance in managed C++. Then I can just reference them from XNA game studio express in the C# project, and voila, we get the best of both worlds.   Thanks, Roger Larsen   Paul Bleisch wrote: In general, you can reference assemblies as you wish. The idea of building a high performance assembly in managed C++ for referen ...Show All

  • AlexBB Vector maths methods...

    Following a long day of writing and debugging some nasty rigid body physics code, and feeling the pain of the maths library I have to use for this C++ work, I thought I'd take another look at the XNA maths code to see if the results would be more readable (as you might hope ;). ... But my quick look at the framework docs seems to show more deficiencies than in the code I have been using all day... 1/ There is no Point3 class. This is a real pain as libraries that don't distinguish points and vectors are a right pain - transforming a point by a 4x4 matrix will result in a different result to transforming a vector. (And I don't want to resort to coding every point/vector as a homogeneous coordinate either!). There appears to be a ...Show All

  • mobigital Question on XNA Beta 1 Performance

    Hello I have downloaded the XNA Beta 1 and created my first little test application. At the moment I am rendering a quad as the floor using a triangle fan and a rotating cube above it (indexed triangle list). My FPS are being drawn using a bitmapped font i wrote up real quick. Assuming I am doing everything correctly I am only getting ~400 fps. The same application (albeit using ID3DXFont) in C++ runs at ~800 fps. That's a 50% decrease in performance :\. I understand this is only a beta and may not be fully optimized but even then a 50% drop is fairly hefty. Could some of this be attributed to the fact that I'm inheriting from the high level Game class for window management instead of writing my own Maybe I'm just doing something very wron ...Show All

  • crogenicdude Creators Club Benefits

    "Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality." Am I missing something here Where can I get access to these 'specialized starter kits' and 'samples' Have I been deceived into buying this subscription If so, is there some way I can get my money back Maybe I'm missing something... Hey man, now you're modifying my exclusive content! Not cool! I understand your complaint. I shared it initially as well hoping to have all sorts ...Show All

  • Alex Yakhnin - MSFT The Need of Power

    Hi, I looked at the FAQ for XNA and I couldn't find the answers to a few of the questions I have regarding it. So if someone could help answer my questions that would be awesome. ^_^ 1. Is it possible to sell games for money (either on Windows or 360) after they are 100% completed 2. How can I find out what shader model my graphic card supports (I want to find out if my computer will be able to handle the sample and starter kits that recommend Shader Model 2.0) 3. Is it possible to make online multiplayer games (Not to the extent of a MMORPG since I doubt it could do that (correct me if I'm wrong on that though), but what about something to the extent of a game like America's Army or something similar ) 4. If the last question ...Show All

  • HPD Clicking on 3D Objects

    I've been following the sample in Help about checking whether a user has clicked a 3D object (Math section) and decided to try it out myself on a cube. I have built the cube, setup up shaders and also the code for drawing a ray between the near and far planes (starting from where the mosue click happened). Then I define a BoundingBox around my cube and check whether the ray intersects the bounding box. Problem is, even when I click outside of the box (not all areas), the ray is intersecting the cube. I am able to rotate my cube with some smple transformations, and I am rotating the bounding box as well. Here's some code: BoundingBox cubeBB = new BoundingBox (topLeftFront, bottomRightBack); //topLeftFront and bottomRightBack are Vecto ...Show All

  • Eddie Garcia Can't install XNA Game Studio

    I have c# express installed but when I attempt to install XNA Game Studio it immediately throws this error: Cannot write to: microsoft.xna.framework.dll Any assistance appreciated. Thanks! (moved to the XNA Game Studio Express forum) This sounds like your installation is corrupted, I would try giving the file another download and seeing if that helps. Thanks! ...Show All

  • Fwank79 Reset or not reset a IDirect3DDevice9?

    Hi @ all, i'd want know if calling IDirect3DDevice9::reset() is the correct way after switching from windowed mode to fullscreen. In PresentParameters there are some attributes that have sense only in fullscreen mode, as well as FullScreen_RefreshRateInHz or MultiSampleType. Have I to call reset() function Is it the correct way What do I have still to check Thx ;) Yes Reset() is the right way to switch to full screen, it's also the way to change any present parameter. Take care that windows style often need to be modified when moving to fullscreen : see Dx tutorial Step 1-"Creating a Window" for more details about that. You could also have a look to DXUT code which does that well. I've ...Show All

  • jjsan What about PRT lighting? I didn't find out PrtEngine =(

    AFAIK Mdx included PrtEngine, it was great. It is to be regretted that PrtEngine hasn't been included in the Xna beta. I would like to see it in the next version.. Ok, go to https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=226160&SiteID=226 and vote, please. Alternative: go to https://connect.microsoft.com/feedback/default.aspx SiteID=226 and find the suggestion using "PrtEngine" keyword.. I suppose any modern game (even simple) must have PRT. True soft shadows can be implemented with PRT. It's important feature, vote please! Does anybody worry about it May you have another way to calculate PRT ...Show All

99012345678910111213141516

©2008 Software Development Network

powered by phorum