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

Software Development Network >> Game Technologies

Game Technologies

New Question

DrawUserPrimitives in B2?
Vector maths methods...
VertexBuffer.SetData
Help with lighting effect
How to change Model indexbuffer
Compile in Release
What is MultiSampleQuality
SpriteBatch.Draw methods not overridable?
Using Multiple Texture Coordinates with VertexFormats.Texture'n' C#
XNA windows and game input devices

Top Answerers

pjmvn
jasmine pham
ScaryKidsScaringKids
Sandy Place
Wilhelm Knutsen
Raja Pratap
Jon_V
AIMDBA
Arrakis777
Rory Clark
Dbqwikedit
Only Title

Answer Questions

  • wspencers Array of ID3DXMesh causes crash on draw with more than 2 elements

    Hi, Bit of an odd one - I think the solution is probably quite simple but I can't see it so maybe need a few more pairs of eyes please! I've got an array of ID3DXMeshes, and for each one I do D3DXCreateMeshFVF, then fill the vertex and indexbuffers. I then go thru the array and draw them. If I have just one element in the array, all is well. It gets drawn and it's released ok on exit. If I have 2 elements, it gets drawn ok but crashes when I try and release element[0]. If I have more than 2, it just crashes when it tries to draw the first one. I've been looking at this for ages now and am going a bit mad! Any help would be great. Below is the method that creates the meshes, the method that draws them, and the code where they are dec ...Show All

  • Guardian-ND Someone Please Help Me!!!

    im new to xna development, im just starting, and i was wondering what some good 3d modelers were, if they're easy, and a good sound editor thats free and easy to use. If anyone could help i would appreciate it In the way of 3d modeling you have several options, I have some of them listed on my beginners page here ... In the way of auido editors I use Goldwave as it can handle most formats, but there is a small cost to the software. Oh gosh, Google rules: http://www.google.pl/search hl=pl&q=free+3d+modeller&btnG=Szukaj+w+Google&lr= http://www.google.pl/search hl=pl&q=free+audio+editor&btnG=Szukaj+w+Google&lr= ...Show All

  • chris441962 how to set xbox 360 resolution?

    Hello guys! I'm deploying my game to xbox 360. The deploy is perfect, but my game aways presented on 800x600 screen. Graphics.PreferredBackBufferWidth value is 800 Graphics.PreferredBackBufferHeight is 600 Graphics.GraphicsDevice.DisplayMode.Width is 1360 Graphics.GraphicsDevice.DisplayMode.Height is 768 how can I to set the resolution My monitor is an AOC 19" widescreen... Thanks! I use a generic function to set the video mode, testing first to see if it is a possible mode to use.   I don't have an XBox 360 ( :( ) but I know for setting resolution it works on my brother's 360.  I don't know if the tests will fail if you have a 360 connected to an SDTV and thus prevent you from using 720/1080 as his ...Show All

  • Susan S Microsoft's future policy for redistributing Xbox 360 games?

    Before I commit serious time and effort to the XNA framework, I'm wondering if anyone knows Microsoft plans for allowing us to redistribute our games for Xbox360. I'm an academic. Let's say I want to make some educational/simulation games that my students can use on the Xbox 360. Will I be able to provide them with a CD or download link in XBox live As far as I can tell so far, the only games I can write are for myself. I could be wrong about this but from what I'm "assuming" the professional edition will be geared to established companies and not independent developers. I'm also going to assume that there will be a larger subscription fee and a more strict screening on what games will be published ...Show All

  • Jim_Fort_Worth Issues with a Loading Bar

    Well, earlier today I realized my mario-clone was taking a while to load mainly due to the audio files and partly due to the many sprites being loaded. It wasn't a real problem, but it seemed rather unproffesional to have the computer pause for a while without any feedback for the user to confirm that anything was happening. Initially I used System.Console.WriteLine("Loading Something...") for the various resources that I had. This works fine for debugging, but whenever I tried to organize a loading bar that the user could see on a devoted portion of my game I experienced some trouble. First off, I'm using game states to determine whether I'm loading, at the menu, or playing the game, these aren't a problem. Secondly I'm using a ...Show All

  • lustigorMolch Calculating FPS

    Ok so here is a real newbie question lol. What is the proper way to calculate FPS I noticed in the Update() method for the XNA project it does something of the sort: // The time since Update was called last float elapsed = ( float )ElapsedTime.TotalSeconds; I was wondering if I can properly calculate FPS based on this I tried to do something like: fps = 1 / elapsed; But it always seems to be 60.0024 FPS so I believe I am doing it wrong. I am only rendering 2 sprites, so I can't believe its only going 60 FPS. That and if I put a thread.sleep(500); it still says 60 although it should be 2FPS lol. Obviously I am doing something wrong. Is it more proper to use a timer of 1 second and just tally up the frames etc Thanks and t ...Show All

  • BradyGuy Play Background Music Problem?

    Hi All, I want to play bg music with my game. How to set loop play with the music audio = new Audio("sound file"); audio.Play(); Best Regards, There are a couple of ways to do that. 1) Add an Audio.Stopping event handler and call audio.Play() in the handler. 2) In your game loop, check Audio.Playing. If it's false, call audio.Play(). Try adding an Audio.Ending (or Audio.Stopping) event handler. Audio.Ending should get fired when the audio stream is about to end. Audio.Stopping should get fired just before the audio stream stops playing. Hi there - assuming your framerate is stable I found the following code fragment works f ...Show All

  • Bond 007 Help please with getting the Creator Club

    I don't know where to turn on this one. I went through the gigantic maze of trying to get a creator club for xna. Finally found something. It told me to send an email to request an XBOX 360 license. It might not have been the right one. But, I expressed that I wanted to CReator club license, and I thought the worker reading it would forward it to the right place since microsoft makes it very difficult to find anyways. But, it has been a week and no replies. Could someone please point me in the right direction on where I can register for the creator club This is frustrating. Thanks, Nick The Creator's Club subscription can only be bought via the XBox Live marketplace http://msdn2.micr ...Show All

  • Tim Mavers ... TRIDEX Question about Directx to Xna conversion ..........

    hi guys I am tring to convert a directx vertex structure for a grass shared to XNA, but cannot figure out can any of the XNA team Help Friend Structure GrassVertex ' Methods Shared Sub New() GrassVertex.Format = (VertexFormats.Texture3 Or VertexFormats.Position) End Sub ' Fields Public Shared ReadOnly Format As VertexFormats Public position As Vector3 Public u0 As Single Public u1 As Single Public v0 As Single Public v1 As Single End Structure Below is the FX file: //LANUIT Steve //lanuits@hotmail.com // //HLSL GRASS // //technique GrassPS11 ( VS 1.1 - PS 1.1 ) // //deformation de quad Herbe selon la force du vent //deform the grass quad according to wind force texture grass ...Show All

  • Demix [XNA] different textures on different polygons

    Hi all, I have just written a map loader for my project but i have a little problem. At the moment i have no textures, but i want to know how can i do to draw differents textures on differents polygons Using the classical method with a basicEffect i can just applicated one texture in my draw() method. Knowing i have one buffer of all vertex and one for all indices of my map that's a probleme :-/ Thanks (sorry for my english its not my mother tonge...) Thanks for your help. I will try too write a custom content processor :) You don't need to use the built in Model type if you don't want to - I was just using that as an example of how you can use different regi ...Show All

  • Michael Gates Windows Forms Panel Rendering

    I successfully have rendering to a panel working in my Windows Forms app with a Graphics Device in Beta 2. My question is this: Can I render to TWO panels by using another Graphics Device I tried this (created a new instance of GraphicsDevice and then tried to render there) and had no success. So, to give you an example, think of a 3D-Modeling application such as Maya or 3DS Max where you have multiple panel viewports. I'm just wondering if this is possible or how I might do this. What I did is create another GraphicsDevice passing the handle of the second panel. It never rendered when I tried this. Has anyone else had success with this Let me know if this is possible or you need clarification on my question. Thanks in advance ...Show All

  • GrandpaB text mixed with 3d

    thought id ask another question while im at it. i want to display text on the hud of my 3d engine. i did some searching and came across some of the text components out there and chose the nuclex.fonts componenet (very good imo). this works fine on its own or with other 2d objects (eg. sprites) but if i render any 3d objects, all the 3d objects have z buffer issues. i noticed this problem when i first introduced sprites into my engine and it was fixed via the spritebatch.begin methods savestatemode parameter. however, this functionality doesnt exist with the nuclex.fonts package, so my 3d objects are all screwed again. is there another option to prevent this, or can someone tell me how to manually save my renderstate and restore it after re ...Show All

  • R Raghu DreamBuildPlay is up!!!

    Now go register!!   Actual contest details to come the week of Feb 5th I guess NEW JERSEY isn't in the United States, I swear to god it isn't in the list of states... :( More missing states... North Dakota, New Jersey, and Vermont are all missing... ..jeez whoever designed the website should be shot for this oversight Count me as registered!!! Whoo Hoo! Hmm... State location and phone number seem to be USA specific. An oversight, or is the rest of the world excluded The site is live and yes we realize there are a few things that haven't quite propped properly. We've got people looking to get the ...Show All

  • 2006 How to distribute a PC-based XNA game?

    I looked in the documentation about releasing a PC-specific game and all I got was XBox 360 distribution. I'm working on a PC game that has no need for the XBox 360, just to be clear. I'm curious in what runtime files I need I'm sure it requires .NET 2.0, DirectX 9.0c, but are there some extra dlls that I need Thanks in advanced. Sounds good. Does XACT/XInput need their dlls included as well, or is that part of the two above Other than .Net 2.0 and DirectX 9.0c you will need to include the two xna dlls located here: C:\Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\References\Windows\x86 Microsoft.Xna.Framework.dll Microsoft.Xna.Framework.Game.dll ...Show All

  • Gaim28 I need to create a mesh from scratch

    Hi Xnacers: I need to create a mesh the from scratch, not load a predefined mesh from an x file using the content manager. I have looked into the ModelMesh and I see that it has Vertex and Index buffers but there is no constructor defined. Is there a way to create a mesh without loading it from a file The code (MDX 2.0) I need to port to Xna is the following. I want to know if this is posible. The steps I used to create a in MDX 2.0 mesh where: //1)we create the mesh mesh = new Mesh (this.device , solidPrimitiveIndexList.Count , solidVertexList.Count , MeshFlags.IndexBufferManaged , PositionNormalTextured.Format); //2) set the vertex buffers using (Graphi ...Show All

555657585960616263646566676869707172

©2008 Software Development Network

powered by phorum