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

learn more… | top users | synonyms

4
votes
1answer
751 views

Override close button

How can I override the close button near minimize/maximize in such a way that the application doesn't automatically close. I want it to show an exit screen or something like this, so I would like to ...
0
votes
2answers
2k views

How to request a specific OpenGL version?

I'm working on an OpenGL project, coming from D3D. They're organised in very different ways, so it's tricky going :) Is there any way for a Windows application to request a specific OpenGL context ...
55
votes
15answers
26k views

Cross Platform 2D Graphics Engines [closed]

I'm looking for a 2D graphics engine that would allow me to release to Windows, Mac and the iPhone, much the way Unity does for 3D. Is there a good engine that does this and is specific to 2D?
1
vote
2answers
522 views

How can i make my program use 2 windows?

I'm working in Xna 4.0 and iwant to make a program that uses the same code in 2 different windows. What i want out of this is that one player plays in one window and the other player to play in the ...
-1
votes
1answer
206 views

Opengl tutorials [duplicate]

Possible Duplicate: What are some good learning resources for OpenGL? Starting out with OpenGL when most tutorials are out of date I know that there are many questions like this, but i ...
1
vote
1answer
183 views

Present fails randomly on mixed C++ Direct3D9 app

I have a mixed .NET application (managed and unmanaged code bridged by C++/CLI wrappers) which uses unmanaged Direct3D9 9.0c to do rendering inside a control which is wrapped inside a C++/CLI class ...
4
votes
3answers
840 views

Multi Threading In Update Loop

Okay so I am working on a game engine and this was my previous game loop: Game::Run() { While(!m_GameDone) Client.Update(); LocalServer.Update(); } but what I want to do is: ...
2
votes
1answer
549 views

Game programming basics under Windows

I've been trying to learn some Windows programming using the Win32 API. Now, i'm used to working with the OS layer being abstracted away, mostly thanks to libraries like SFML or Allegro. Could you ...
4
votes
1answer
236 views

Is it possible to programmatically prevent a game from pausing when its window loses focus? [closed]

I'm playing Skyrim in windowed mode and I am trying to create a bot for this game for personal use. I would like to have the bot play the game in the background, while I do other things, the only ...
6
votes
1answer
871 views

Questions about XNA [closed]

I've read tons of different threads about XNA, but I still have some questions. First of all: I have 2 years of experience programming and C# is my main language, so XNA would fit perfectly for me, ...
2
votes
1answer
1k views

Loading textures with SharpDX in Metro

I have converted my C# game from OpenTK (OpenGL) to SharpDX (DirectX) and have it up and running from Visual Studio 2010. I also have it up and running from Visual Studio 11 in Metro, in the Windows 8 ...
-4
votes
2answers
362 views

Programming games for Windows

I've programmed a couple simple games so far, in C++ as that's my language of choice, all using open source, cross platform libraries, they're great. I'd like to understand how are cross platform ...
5
votes
1answer
309 views

Is it possible to reuse the same window in multiple games?

In particular, I'm thinking about C# and XNA, and obviously on Windows. Let's say I have the main game which is a normal XNA game, but at some point I would like to momentarily switch to a mini-game ...
1
vote
1answer
285 views

Why am I getting a “multiple definition of *” error when initializing OpenGL extensions?

I'm creating a game engine using OpenGL, and I'm initializing the extensions manually, i.e. this: // .h file PFNGLACTIVETEXTUREPROC glActiveTexture; /* .cpp file, initialization function */ ...
2
votes
2answers
517 views

Why doesn't this ContentLoader project (VS2010 e) recognize Microsoft.Build.dll?

I am working with an XNA content loader sample. In the references for the project (VS 2010 Express) there are: Microsoft.Build Microsoft.Build.Framework //as well as the standard XNA framework and ...
3
votes
2answers
741 views

Why can't I import third-party modules I've installed in the python-ogre SDK's interpreter?

Background Information I'm using the python-ogre SDK, located here, under Windows 7. The SDK seems to have its own interface to the python 2.7 interpreter, judging from the fact that the generic ...
6
votes
1answer
3k 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
855 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
287 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
845 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
2k 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
4k 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
311 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
643 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 ...
4
votes
2answers
3k 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
528 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
155 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
2k 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
552 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
429 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
164 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
1k 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
119 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
427 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
205 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
909 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
494 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
267 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 ...
1
vote
1answer
522 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
627 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
294 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
736 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
538 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 ...