Answer Questions
BlakeMc Anyone know a good tutorial that teaches you XNA and how to make games?
Any good one Please, lol I really really really really really really REALLY REALLY REALLY REALLY REALLY want to learn how to make games. Thanks First point, Search these forums for tutorial, many may posts on tutorials available. Second Goto the main XNA MS site for starting info, msdn.com/xna finally, install C# express and XNA game studio and open the help, lots of starter guides there. I would strongly reccommed gogn through all the 2D tutorials and make a 2D example game first, 3D gets very complex and the 2D background will help a lot, so get to know 2D first Rgds Darkside Before you can start making games with XNA and moving through game making tutorials, you'll first need to learn how to program ...Show All
YewMing Shader-accelerated curve rendering
If I'm not mistaken, WPF can use shaders to draw vector graphics (Loop-Blinn). Given the lack of interest for allowing WPF/XNA interop, is there any possibility to release that functionality for XNA as a separate module XNA is built on very different technology to WPF, so it's unlikely the same rendering code could just be transplanted from one to the other. It would certainly be possible to implement a vector graphics component over the top of the XNA, using shaders as appropriate to speed things up, if anyone wanted to do that... ...Show All
PMBT Particles
Hi, Tried creating a basic 3d particle system without success. I don't want to use point sprites (never mind why), and I couldn't get the Matrix.Createbillboard() to work for me. The particles changed angle as I changed the camera angle. Never mind what I did... If anyone can drop a few lines of code of how they accomplish the particle update and rendering I'd be grateful. Thanks, Already seen it... it's 2D not 3D. I have another question on the subject. It would seem that the reason my code doesn't work using the (CreateBillboard() method), is that I supply the method with the wrong camera position. Now, how my camera currently works is so... This is my camera update method which updates the view matrix. private void Update() { ...Show All
prashant mulay How do I protect my code when distributing it?
Having read the FAQ. I noticed that in order to share your game creations (and lets face it, you can't get recognised without sharing your games), you need to send the other person the entire uncompiled game. This includes sourcecode, graphics, music, sound etc. etc. They then compile the code and download it to their xbox360 account and then only if they too are on the games creation program. My key worry here is that you send them everything you have just worked incredibly hard to create. Presumably they can then send this stuff on to whoever they please and god forbid, even sell it on! It strikes me that there isn't much incentive to distribute things this way. How is Microsoft going to prevent the above scenario Is there going to be a ...Show All
Puffarbubbole Sprite scaling and blending
OK, I've searched through a couple posts here and didn't find anything that fixed the problem. I'm scaling sprites to draw GUI controls and I'm getting funky results. Here's what I get (blown up 6x to show the problem). I'm drawing the box in chunks - upper left 4x4 pixels, upper right 5x5 pixels, left border, right border, lower left 4x4 and right 5x5 pixels, and upper and lower middle sections.I don't think I have to explain what the problem is. I've tried setting texture filtering, destination blending, but nothing seems to affect it. Here's the sprite I'm using to draw. Maybe I just need to get some sleep. The problem is that there isn't really such a thing as a "single pixel". In a mathematical sense, a pixel ...Show All
Seth Cohen Responding To Graphics Device Events
Trying to figure out where <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1212399&SiteID=1">my problem</a> lies with recreating/resetting the graphics device and the weird effects, I began to wonder if I had tied into the proper event handlers. So I was wondering if someone could tell me if this is the correct way to set up event handlers for a custom game component: graphicsDeviceService.DeviceCreated += new EventHandler(loadAllContent); graphicsDeviceService.DeviceDisposing += new EventHandler(unloadAllContent); &n ...Show All
arcliner Minimize/Restore MDI Child with DirectX problem
I managed to have an MDI child form which uses directX, it's somehow convoluted, but it works, the problem is that when I minimize the form and restore it again, I get an exception in the device.Present() call. What I'm I missing Thanks, that's probably it. If I lost the device how can I get it back do I have to create it from stratch again I forgot to mention that with managed D3D the device has a couple of event handlers that you can use. Have a look in the managed sample’s folder of the sdk, there should be a folder there called Tutorials. Tutorial 6 shows you how to handle the device reset and resize events. Since I’m mixing unmanaged DX with .Net forms I’ve bee ...Show All
csaavedra How do I load a 3d mesh (.x file)?
How do I load a .x mesh into my scene The space game seems to use its own format (which it names .swm), and there's nothing in the help. I've been scanning through through the classes in the Framework namespace, but I can't see anything obvious! Is .x the recommended format for objects like this (If not, I change my question to be about the recommended format :D) If anyone knows anywhere that has some nice .x meshes I can play with, that'd be cool too. The only one I have lying around is a chair, and that's going to look a bit funny running around my game :D Hmm, my laptop runs it great. Of course: P4 3.6 Ghz 256 MB GeForce Go 6800 1GB RAM I didn't think the content pipeline stuff w ...Show All
Jeff Williams Requires Visual C# 2005 Express
Every machine I own has a copy of Visual Studio 2005 Team Developer or Professional on it. Do I have to remove VS2005 Pro in order to get C# express and GSE installed, or can I install express side-by-side with VS2005 Pro/Team so I can work on GSE on one of my machines I didn't see this addressed in the FAQ. Works fine for me, in fact, not only did I install them side by side, I can run them both at the same time too. Can you let me know if it worked for you. It nerfed my configurations in 2005 pro. Ah. No worries. I got my problem solved. Jamie You can install side-by-side. I have been doing that as well. As I'm porting my o ...Show All
GAURAVG123 How To: Load Resources missing from help file
Can anyone fill me in on the missing content from the help file I am trying to follow the How to: Draw a Sprite tutorial and the link to How to: Load Resources is broken. The article is also not in the index. Thanks for pointing out the broken link, we're working to catch any issues like this and feed back helps. The load resources how to was intended to merge with the simple game loop how to but wound up still being referenced. The how to went over the need to create graphics resources after the graphics device is created and additionally whenever the graphics device is reset if the resources are created in the Default graphics resource pool. For more information on resource pools you can take a ...Show All
Jehan Badshah Direct Answers For A Beginer
Dear, I Am A Beginer In Game Development, But Professional In C# And C++.Net 2005. I Want To Start Learning 3D Game Development Where I Have 2 Main Questions: 1- C++, C++.Net 2005, Or C# Is The Fastest And The Powerfull Language For Creating 3D Application 2- What Is The Graphic Library I Have To Learn And What Are The Difference Between XNA, DirectX, And XNA Game Studio I Hope To Help Me In My 1st Steps. Thx Alot Thx Guys For Your Answers, But Plz, I Want A Direct Replies. 1- Can We Say That XNA Is The Latest Graphics API After Managed DirectX And DirectX 2- Like We Know, The Powerfull Off All .net Languages (C++ and C#) Is The Same, Does You Mean That The Native C++ Is The Fastest If Yes, Took A Look To The C ...Show All
r1ck5-focus Model scaling without effecting the real coords
Hi, when I load my models they don't always have the correct size in relation to each other, so i want to scale them. When i multiply the world matrix of the basic-effect that renders the model with a Matrix.CreateScale(0.2f) matrix i get the visual correct result. But the coords are scaled too. So when i want to set the position of my model i need to multiply the x, y and z coords by 5 to get the correct values for the model world matrix. Does anyone have an idea to only scale the model in visual I already tried to multiply the view and/or projection matrices with a Matrix.CreateScale(0.2f) matrix but I only got crapy results... at least I am not very familiar with matrices Thx & bye Thunder2002 Ah ...Show All
TheQuietShadow 2D-3D Brawler help.
Hi, I'm definately new to the entire game engine coding field and I'm working on a university project to develop a physics based 3D "brawler" Like Small Arms, or Smash Brothers (but with an emphasis on throwing steel balls around, interesting physics based powers/weapons). Most of the XNA projects out there either seem to be 2D puzzle games, or 3D FPS/FlightSims, almost no platformers.As a result I've been having alot of trouble finding any decent XNA source material even for setting up a basic scene, so I'm appealing to these boards in desperation. (note: I went through all of the 2D tutorials on XNAresources.com as well as the MSDN samples and the Farseer physics demos. All I want to do is; --Step 1-- 1a) Add a bunch of cubes to the scen ...Show All
bryanedds DirectX 8, Direct3D, Combining the Common Files with MFC CView?
Compiler: Visual Studio.NET 2002 Hi Everyone, I am learning DirectX 8. (I want to use DirectX 8 as this comes as standard in Windows XP install. If I write a program I know my ludite-XP-using-friends will be able to use it without having to download a new version of DirectX.) I am writing a program that uses DirectX 8 and am trying to combine the Common Files into a MFC application that is based on the CView class rather than the CFormView used in the MFCFog example. The program I will write will be single document (as opposed to multi-document). In the Fog example a derived class is created, of the type: class CMyMFCAppForm : public CFormView, public CD3DApplication { }; I am trying to set up a class of the form: ...Show All
Aleksandr Tokarev Heightmap Collision testing
This question has been mocking me all day. I know it's doable, I have even used such a function somewhere long ago, and I have even found quotes of people saying "the calculation is easy and quick," however, I cannot find an example of heightmap collision testing. In other words, I want to be able to type MyLandscape.GetHeight(x,z) and it'll return the height (y) at that point. Now, this is not a simple, find the vertex at (x,z), and return the array value. There is distance between each vertex so, (x,z) wouldn't always be a vertex location. If I recall my calculus from ages ago, I think I remember there being a way to do this, but I don't remember. Answers or links would be deeply appreciated. ...Show All
