Topics about games made for Microsoft Windows products. These include Windows 7, Vista, XP.

learn more… | top users | synonyms

5
votes
1answer
2k views

How can I build and run Doom 3 from source in Windows?

I am trying to build and run Doom 3 from the open source release in order to better understand how the engine works. Unfortunately I am not able to run the game from the binary I built. I just get the ...
5
votes
2answers
797 views

What is road map for Windows 3D game development in C#

I used WPF 3D to make a demo program a while ago. I'm now want to give some other things a shot but find working in WPF 3D ... confining. I have looked at Managed Direct3D but read that it's dead. I ...
0
votes
2answers
266 views

Is it possible to create a Facebook game that is a Windows executable?

I'm thinking of trying to make a game, and I heard Facebook is good place to make it popular, but I don't want to make a sprite-based Flash game, I want to use OpenGL for rendering to get nice ...
5
votes
1answer
713 views

On Creating a D3DX10 texture atlas

I have a DirectX10 texture (ID3D10Texture2D) that I load from disk with the following code: CComPtr<ID3D10Device> spD3D; // Initialized correctly elsewhere hr = D3DX10CreateTextureFromFile( ...
2
votes
2answers
1k views

Why is OpenGL using 100% CPU shortly after start up when wglSwapIntervalEXT is enabled?

I have a game which uses SFML, which in turn uses OpenGL. When I run the game, it will use 100% CPU for (usually) about 24 seconds, and then immediately falls down to normal usage. I can't figure out ...
22
votes
2answers
3k views

Is it safe to use Sleep() in game loop (on Windows)?

Is it safe to use Sleep() function on Windows in game loop (C++)? I want to have fixed frame rate.
5
votes
3answers
3k views

Trapping mouse inside window in OpenGL with GLUT?

I perfectly understand that GLUT is limited and the following problem can't probably be solved with OpenGL/GLUT, but since I don't know exactly if it can or not, I better just ask. Maybe I'm doing ...
1
vote
1answer
269 views

What are developers using for voice chat on Windows?

On Xbox360 XHV2 is used for dealing with voice data, and XAudio2 is used for the low-level processing of that data. What is the XHV2 equivalent under Windows, assuming FMOD is used for the low-level ...
2
votes
1answer
549 views

How do I get an xbox 360 controller to rumble?

I am interfacing with the controller using the windows HID API. It seems that its output report length, as provided by the HID driver, is 0, which means I can't send it anything (e.g. make the rumble ...
5
votes
2answers
7k views

Does Unity for PC use Direct3D or OpenGL?

I am a mac developer using Unity and I hardly use a PC. When you build a Unity game for Windows, does it use Direct3D or OpenGL? P.S. I'm not sure if it's called Direct3D or DirectX
4
votes
2answers
2k views

How does one write to another process's OpenGL/DirectX context?

I want to write a short of chat client that display the messages in-game (OpenGL/DirectX), but I really don't know how to handle this. It is easy to write my client in my graphic context... but what ...
3
votes
2answers
483 views

How to check Early Z efficiency on AMD GPU with Windows 7

I have a game using DirectX 9, and a development station using Win 7 x64. I am still able to get access to another station with Vista x64 / dual booted with WinXP x86. I wanted to check early Z ...
7
votes
4answers
2k views

Why do games run so much better in Windows than in OSX?

For example, on my Mac Mini with Bootcamp, Team Fortress 2 runs at about 20fps in OSX and 80fps in Windows. This seems to be a common case. Why is this?
1
vote
1answer
149 views

When rendering on two different computers, the texture is glitchy

I am using Ogre3D, and have been using it for a while. Also lately, I have been using the Opengl Rendering system that is included in Ogre, only because Directx will not compile correctly(Will post ...
-4
votes
1answer
1k views

C# vs Java for Cross-Platform Game Dev [closed]

What would be better for PC (Windows, Linux, Mac) games? I know Java is more mature/older and has a giant user base, but I see C# (Mono) slowly rising and showing that it has a growing user base as ...
3
votes
2answers
533 views

How can I hook into OpenGL initialization on Windows?

I want hook all OpenGL games/applications. I want load my library only if application actually use OpenGL. Something like Direct3DCreate9 for Direct3D 9 or CreateDXGIFactory for Direct3D 10/11. I ...
3
votes
3answers
392 views

Pen tablet input for FPS

So in my FPS camera look code, I have something like this: window->camera->stepYaw( getMouseDx()*speed ) ; // mouseDx is mouse change since last frame window->camera->stepPitch( ...
2
votes
1answer
160 views

DirectX the same across platforms?

Various versions of DirectX are available on both Windows and Xbox. Are the libraries the same on both platforms? Obviosly I'm talking about the interfaces — such as the ones for working with ...
-2
votes
4answers
2k views

Running Unreal 3D Engine (2003) on Windows 7

General question. My company developed a custom software for simulating combat scenarios using the Unreal 3D Engine (2003). It currently runs on XP-based Dell system. Sometime in the Fall Dell is ...
3
votes
1answer
934 views

WM_PAINT and Direct3D

I've seen people who've written in code where the graphics of a scene are rendered in response to WM_PAINT. I only ever rendered the scene once all Windows messages were done translating, and then ...
3
votes
1answer
3k views

Getting started with cross-platform game development [closed]

I am looking for a starting place to develop a crossplatform OpenGL game that runs on Mac, PC and potentially Linux. The difficulty is that I don't want to use an existing graphics library. I've ...
5
votes
2answers
117 views

File caching on the PC

Is it a good move to disable windows' file-caching capabilities (via I/O completion ports) for resource loading in a game environment? Most games will do their own resource management and caching ...
1
vote
1answer
376 views

Maya .IFF plugins for Gimp

Maya's preferred format for saving off a UV Snapshot is its own .IFF format, so I was hoping to find a plugin allowing Gimp 2 (Windows) to read it. I've found plenty of plugins for different linux ...
3
votes
2answers
2k views

How do I import my first sprites?

Continuing from this question (new question - now unrelated) So I have a thorough background in programming already (algorithms, math, logic, graphing problems, etc.) however I've never attempted to ...
1
vote
1answer
197 views

Can I change the order of these OpenGL / Win32 calls?

I've been adapting the NeHe OpenGL/Win32 code to be more object-oriented and I don't like the way some of the calls are structured. The example has the following pseudo-structure: Register ...
3
votes
3answers
847 views

How do I draw video frames onto the screen permanently using XNA?

I have an app that plays back a video and draws the video onto the screen at a moving position. When I run the app, the video moves around the screen as it plays. Here is my Draw method... ...
3
votes
2answers
459 views

WinAPI window taking 50% of CPU when idle

I'm currently working on a game that creates a window using WindowsAPI. However, at the moment the process is taking up 50% of my CPU. All I am doing is creating the window and looping using the ...
1
vote
2answers
261 views

What is the Xbox360's D3DRS_VIEWPORTENABLE equivalent on WinXP D3D9?

I posted this on StackOverlow, but of course it should be posted here. I am maintaining a multiplatform codebase for Xbox360 and WinXP. I am seeing an issue on the XP side that appears to be related ...
2
votes
2answers
2k views

Where can I get DirectX headers for Mingw?

I have downloaded the latest Mingw toolchain from mingw.org, but it seems DirectX headers are missing. Where can I get those? I assume there are open source compatibility headers out there, in ...
1
vote
1answer
496 views

Windows Class Library vs XNA Class Library

I'm going to start a library in C# for Navigational Meshes. I would like to use it in both WPF/Winforms and in XNA. Can I create a windows class library and still use it in XNA?
1
vote
1answer
581 views

Best API coverage for 2D game?

If one were to code a game for most versions of Windows, which API should be used? I know DirectDraw works from NT4 and up (although DirectDraw is emulated on NT4 with GDI). However, I am told ...
5
votes
2answers
289 views

What are the technical reasons that make it difficult for a game to be maximized in windowed mode?

I am curious as to why most games do not have a mode in which you can easily move your cursor outside the game window to another monitor for example? World of Warcraft maximized window does this ...
4
votes
3answers
723 views

How do I get XNA Game Studio 4.0?

I want to get started with XNA game development, and I have bought the Pro edition of Visual Studio 2010 so I have the required software to run XNA Game Studio. How do I get it? Is it released yet? ...
8
votes
2answers
523 views

Can you develop a game in XNA only on Windows for the Xbox 360?

I'm going to start developing a game for the Xbox 360, its a small homebrew development and I don't have an Xbox 360 yet. Is it possible for me to develop the entire game targeting the XNA framework ...
25
votes
3answers
1k views

What can cause ALT-TAB to be 'annoying'/slow/glitchy?

This is more of an open ended question, but I hope to get some good insight on how to avoid the issue. When playing Games on Windows, I might want to ALT-TAB out of it. Some games have no problems, ...
12
votes
2answers
2k views

Will an XNA “XBox 360 Project” also work on Windows?

I understand that an XNA project for XBox 360 will use a specialized version of the .NET Compact Framework. But let's say I want to release for both XBox 360 and Windows. Will the XBox version ...
11
votes
2answers
3k views

How do I query available video memory using DirectX?

How do you query the amount of VRAM available when using DirectX?
9
votes
1answer
717 views

Rendering arbitrary text in XNA using Windows API?

In Andrew's comment on my other question, he noted that it was possible to render text to a Texture2D using the Windows API, instead of drawing the text directly with a SpriteBatch. How is this done? ...
12
votes
1answer
942 views

Make Windows game appear in Games Explorer (Start Menu - Games)

How can I make my game (right now just a C# Console Application) appear in the Start Menu under Games?? I mean is it possible for any program to register as a Game in Windows Vista / 7?
11
votes
1answer
4k views

How can I tell how much video card memory I'm using?

I want to programmatically determine at runtime how much video card memory is being used by my program. Specifically I'm wondering about how to do it on a Windows machine using OpenGL, but am ...
5
votes
2answers
613 views

How do I prevent getting an access denied loading a file in XNA, when I have the application running in the program files directory (in Windows 7)?

I'm creating an app in XNA. I'm trying to load a custom save file. I named the file with my own custom extension. It's an XML file serialized with the DataContractSerializer. I've tried several ...
2
votes
2answers
944 views

How to tell if a glut window has focus from c#

How can I tell if a glut window has focus? Im using c#/tao, Ill use p/invokes if necessary. Basically I want to ignore input if it doesn't have focus.
3
votes
2answers
348 views

MSG::time is later than timeGetTime

After noticing some timing descrepencies with events in my code, I boiled the problem all the way down to my Windows Message Loop. Basically, unless I'm doing something strange, I'm experiencing this ...
8
votes
3answers
1k views

Display a Message Box over a Full Screen DirectX application

In our custom assertion handler, I'd like to display a message box asking to see whether or not this failure can be ignored. However, when our DirectX game is full screen, I can't get the MessageBox ...