Answer Questions
alainkkk Debugging program that won't start
Whenever I try to start my program, I get a dialog box saying "The application failed to initialize properly (0xc0000022). Click on OK to terminate the application". With the debugger, it does the exact same thing, giving me no opportunity to find out what is going on; if I try to break it once the dialog box is up, I get another dialog "Unable to break execution. Please wait until the debuggee has finished loading, and t ...Show All
t2nolan Animated texture
I have a textured sprite that I would like to cycle repeatedly though 4 frames of animation. Is there a preferred way of doing this Code samples (or even a link) would greatly appreciated, since I have not tried this before. This makes total sense; I've seen open source games before that stored all the frames of animation for a given character in one picture; now I understand why! Thanks for your input! I'd agree with ZMan on th ...Show All
Craig R 2d GUI questions
Hey all, Big post here, I'm in the process of creating a 2d gui in managed directx with c#, and I've run into some serious performance issues after a rather minimal interface with a few high res textures. Along the way I've wondered if I'm doing things right. I've also been really curious as to how a program like Picasa2 can do all of its rendering at lightning speeds, with pretty much zero load time no matter how big the images get, while it's ...Show All
bhowerton Keep mouse inside window
I'd like to prevent the user from putting their mouse outside the window. Because you target enemies with your mouse in my game, if there's an enemy close to the edge of the screen, there's a good chance the user will overshoot and click outside the window - thus defocusing the window, disrupting gameplay, and angering the user. Yes, I know. Full-screen applications never have this problem. But most of my program is already windowed (only the ...Show All
jacobmross SDK Shader Question
I started using the "ShadowVolume.fx" shader from the ShadowVolume c++ sample in the SDK and it works great in my program. Now I want to extend that shader to add specular highlighting, and possibly environment mapping. I am at a loss on how to do that though. I have found some examples on how to implement the specular highlighting, but it looks like they declare a light object inside the shader, which the sample doesn't do at ...Show All
Ian George 3 errors - you can see the errors now
i've read an article about setting up a basic application template using the sample framework as a base from http://msdn.microsoft.com/coding4fun/weekend/apptemplate/default.aspx by Glen Willson. i've done all the things he wrote there but i still can't make that template he speak about, what so ever. i am dealing with 3 errors (see the picture i've posted here http://80.97.50.242/ ). i am using visual studio 2005 and directX Sdk oct 2005. thank ...Show All
Kalor dxwebsetup wierdness - deployment with app
Hi, sorry to post this in this forum, I am unsure where to post it. OK here is the thing. I have a deployment problem. I am creating a setup with my app, created in VS 2005 Pro, using C#(.NET 2.0) This app of mine requires DirectX runtime end user files, or the SDK but really the runtime files. Now, during installation, I bundled in the dxwebsetup.exe. This executes fine. 2 main problems here already: 1 ...Show All
AlbertoD Don't draw a triangle with april 2006
Hi, I'm a beginner in the DX programming. I'm trying of draw a triangle in a full screen, but I don't where is the error, I only see a full screen display with out the triangle Can't U help me private void RenderFrame() { m_device.Clear( ClearFlags .Target, Color .Navy, 1.0f, 0); // Render frame here GraphicsBuffer < PositionColored > m_verts = new GraphicsBuffer < PositionColored >(3); m_ver ...Show All
RLS1 Confusing issue for a moderately new DirectX developer
First off, the preliminaries: I'm an actual game developer, though I've worked exclusively on consoles and mostly audio and network coding. I'm wanting to do lightweight home games in my spare time for me and my friends. I'm doing this on a laptop with a GeForceFX Go5200. I have the December DX SDK installed, and I'm using VS 2005 Standard (hooray for launch events). I decided it would be a good idea to follow the Codin ...Show All
lonskie1030 DirectPlay - Voice
This might not be the correct place, but a have a question about the "removed" DirectPlay Voice support that is depricated in the latest SDK because of security implications. Is there a suitable, C# compatible ideally, replacement for the Voice functionality I use it to develop a classroom based intercom (e.g. LAN only) for allowing student to instructor interactions. Regards, Ray EDIT:nevermind... ...Show All
Ivan Towlson Is it possible to import .X files into 3D Studio Max?
Hey guys, In a spot of bother here! I'm doing some work for a game and had a ton of short animation files i had created in 3DS Max and then exported to .X format using a third party exporter. I now need to render these animations as BMP frames for importing into a Flash version of the game. I may also need to reanimate bits and bobs. I placed all the Max files on someones portable hard-drive for safe keeping... problem is they've gone and delete ...Show All
msdnstu I am going into development of games(help needed)
Hi there all, I am a programmer for Windows 32bit and now due to a new project issued by a friend of mine, i had to go into Game Development. The following are a few questions that i am going to ask so that i understand more about Developing games. 1) What programming language am i going to use 2) What IDE environment will I be using 3) How will the graphics be supported Tips and tricks welcome too. ...Show All
Bill Libert DirectX February 2006 SDK has Conflict with other DLL
Hello! I loaded down the new DirectX SDK form February 2006. After installing and doing a device creation test, i've got an error telling me, that two dll's are in conflict with each other. So I went into my C:\WINDOWS\Microsoft.NET\DirectX for Managed Code directory and deleteted all subdirectorys in there. I've reinstalled the February SDK but he again tells me that their is a conflikt between two DLL's. Here is the error: Th ...Show All
Jarrod M. Using Text
I found that it would be really useful if I could get the pixel length of any string in DX that I want to display (I'm using 2D) so I can keep it withing bounds of a textbox for example. Does anybody know a way of doing this If not, does anybody know another way to achieve the scrolling in a textbox Well PaintEventArgs is actually .Net rather than DX9, but either way the problem is old versions. Conside ...Show All
_w_ Which version of MDX to choose?
Hi! I've decided to start learining C# and MDX. Which version of MDX i should choose I thought about 2.0, but it's still beta and there's no documentation for it. What advantages does it have over version 1.1 We have not announced a release timeframe for the XNA Framework. Our guidance right now is to use the MDX 1.1 libraries, which work just fine with the .NET 2.0 CLR. See also Tom's blog ...Show All
