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

learn more… | top users | synonyms

1
vote
2answers
510 views

How to give parallax backgrounds more depth

I have 3 tiled images of some sort of galaxy/space in the background of a 2D Game: The first one has an alpha of 100%, the second an alpha of 80% and the last one has an alpha of 60%. I scroll the ...
1
vote
1answer
100 views

Task Core dividing

How can I divide the tasks for diffrent cores? E.g. 4 Cores func1() -> core1 func2() -> core2 func3() -> core3 func4() -> core4 Is there special libary for this? Or do I have to use the old ...
1
vote
1answer
439 views

High Resolution Timer Options in Windows

I'd like to know what are my options for high resolution timer in Window. I want a timer with at least 1ms precision since I need it for a rhythm game. I'm using QueryPerformanceCounter now, but I ...
1
vote
1answer
272 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 */ ...
1
vote
1answer
295 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 ...
1
vote
1answer
204 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 ...
1
vote
1answer
516 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
45 views

Use of SpriteFonts without installing on host machine

I am working on a Windows game for my university project. In this project I am using a custom TrueType font which is not installed on any university computers. For submission my game is required to ...
1
vote
2answers
502 views

How can I use ARB_debug_output with SDL on Windows?

I'm trying to port a small GL program that I've been working on from Linux to Windows. I have the following: window_ = SDL_CreateWindow(...); SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, ...
1
vote
1answer
609 views

Is it possible to use ALSA or OSS on Windows?

Has nobody written a wrapper over DirectSound or something yet?
1
vote
2answers
866 views

Kinect for Windows Commercial License

Kinect for Windows SDK 1.6 is available for users to download. What I enquire is: Can I publish a commercial game with it? Do I have to apply for anything? I've searched through the Microsoft's ...
1
vote
1answer
564 views

Moving the camera as in a first person shooter

I am trying to implement the movement of the camera with the mouse. The result I want to achieve is the same that you get when you move your aim in a first person shooter. Here is the code I wrote, ...
1
vote
2answers
372 views

Full screen blackout using allegro in codeblocks

I'm very interested in game programming and I'm taking my first steps alone. So I installed allegro. Although Dev-C++ didn't work, Code::Blocks compiled successfully. I started out with this basic ...
1
vote
2answers
482 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
vote
1answer
182 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 ...
1
vote
1answer
154 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 ...
1
vote
1answer
415 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 ...
1
vote
1answer
17 views

TypeLoadException when running a Monogame Windows Phone 8 game

Using Monogame, I'm trying to port a game to Windows Phone 8, but I'm having issues getting a basic example to run. When I create a basic Mono project and run it on my phone (to check everything's ...
1
vote
0answers
106 views

What's the best way to set up an OpenGL draw loop in windows?

On mac os x, there's a way to pass the system a function pointer that is triggered at an ideal time to start your drawing code. These are the CVDisplayLink tools. I'd like to understand how to do ...
1
vote
2answers
166 views

Installing PhysicsFS on Mingw

I am trying to install PhysicsFS (icculus.org/physfs/) on my Win 7 with MinGW. But I am having hard time doing it. I googled it as well but still nothing - I have used linux environment and make ...
1
vote
0answers
178 views

Help with Windows RawInput

I am having some trouble to receive and interpret mouse movement data from RawInput. Generally mouse input seems to work, I can query mouse buttons and receive updates of mouse movement. The problem ...
1
vote
0answers
59 views

Creating transparent image with localGraphicsConfig not always working

I'm trying to use GraphicsConfiguration.createCompatibleImage to create transparent images. This creates an empty image which I'm filling with a mosaic pattern later on in the code. This seems to ...
1
vote
2answers
724 views

Best Way To Develop Robust Cross-Platform Application? [duplicate]

Possible Duplicate: Any tips for creating cross-platform games? Windows C programmer here (going back to 1992 and Windows95 back when it was called Windows93). Can function in C++, but ...
1
vote
0answers
120 views

Application window as polygon texture? [closed]

Is there a way, or method, to have some application rendered as texture in 3D scene on some polygon, and also have full interactivity with it? I'm talking about Windows platform, and maybe OpenGL but ...
0
votes
4answers
773 views

At this point in time, avoid XNA? [closed]

XNA seemed like a valid option a few years ago, but XNA was never a real success, and now it seems like a footnote, even Microsoft seems to treat it that way. Should I just go the DirectX route ...
0
votes
1answer
633 views

Does SFML render it's graphics using OpenGL internally?

By that, I mean that SFML has an abstraction for OpenGL? Sort of like SDL's blit functions, but using OpenGL internally? "Yes SFML uses OpenGL for all the graphical stuff. " Received this comment ...
0
votes
1answer
984 views

XNA Games running on Windows 8

Will Games developed on XNA work under a Windows 8 environment? I know the XNA project was killed off, and you can't develop it on Windows 8 (apparently), but will they still work under windows 8? I ...
0
votes
2answers
284 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 ...
0
votes
1answer
100 views

How can I access game instance data in a window procedure callback?

In the window procedure message processing function, I have come across a couple of things where I just have no idea what to do apart from declare a class globally so that my window procedure can see ...
0
votes
1answer
60 views

Why is my application getting more CPU usage while it's halting the operation [closed]

I have a question about the way OS gives CPU time to the applications. Usually when I render my scene with a single object in it I get ~8% CPU usage, but when I stop the framework for further process ...
0
votes
1answer
118 views

Setting up cube map texture parameters in OpenGL

I see alot of tutorials and sources use the following code snippet when defining each face of a cube map: for (i = 0; i < 6; i++) glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, ...
0
votes
1answer
195 views

How to draw a rotatable and zoomable sphere?

My game is a sort of business simulation game of Earth, and I want the main interface to be just like a google earth view. Is there a way to do this with built in OpenGL features or do I have to ...
0
votes
1answer
62 views

In XNA, what symbols are available for conditionally-compiling platform-specific code?

In XNA, what defines are set to allow me to determine if my code is running on a PC with Windows, Xbox, or Windows Phone? Right now I am assuming it is these three: WINDOWS_PHONE WINDOWS XBOX360 ...
0
votes
1answer
280 views

What's the equivalent of wglShareLists for Mac OS?

I'm trying to share lists between two contexts on Mac OS but despite my research I couldn't come up with an answer so far. I've found that NSOpenGLContext was able to initialize a context with a ...
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 ...
0
votes
1answer
106 views

Save Texture2D to file in Monogame

I'm working on a tilesheet builder tool for my game to speed up tile creation, and I need to save a generated texture2D as a png. I've tried using the .SaveAsPng function but it isn't implemented in ...
0
votes
1answer
241 views

Play video from StreamingAssets folder in Windows Media Player?(Unity 3D)

I can play video which is there in my StreamingAssets folder. But is there a way in which I click a button and the same video gets played in the Windows Media Player. I researched a lot on this but ...
0
votes
1answer
245 views

MonoGame crash trying to load font from .xnb file

My MonoGame project uses a pre-compiled .xnb file to load a sprite font, and it works fine on Windows XP. The .xnb file is marked as content and copied to the output directory. I've copied the ...
0
votes
3answers
722 views

Using DirectX9 within Visual Studio 2012 in Windows 8?

Asking the question here simply because my PC is down for the count for a while and wasn't able to stave a curiosity before that happened. I picked up a few books about programming Games in DirectX, ...
0
votes
1answer
573 views

DirectX 9.0c and C++ GUI

Well, I'm trying to code a gui for my engine, but I've got some problems. I know how to make a UI overlay but buttons are still black magic for me. Anything I tried was to compilcated ( if it goes big ...
0
votes
0answers
44 views

SetRenderTarget(null) clearing previous draw calls

I'm not sure if everything's working as it should be or whether I'm just not doing something properly, but I couldn't find anything that discussed this so I thought I'd ask here. I'm using Monogame ...
0
votes
0answers
29 views

Java2D Swing rendering off center on ONLY OSX

I'm having an odd issue with my animation that is happening only on OSX, and not on windows. On my windows computer, the animation occurs full screen in a JFrame, as it is supposed to - however on my ...
0
votes
0answers
57 views

How can I set the attribute index location?

I am trying to set up a shader which takes three input parameters. I have the following code: GLuint vert = glCreateShader(GL_VERTEX_SHADER); GLuint frag = glCreateShader(GL_FRAGMENT_SHADER); const ...
0
votes
0answers
55 views

Simulating Windows Phone Trial mode is not working

I want to simulate a Windows Phone Trial mode. I created a little game in XNA and uploaded it as a beta on my Windows Phone Dev Center account. After that, I installed the game from my Dev Center ...
0
votes
1answer
111 views

Application to record sound effects for games

I'm having kids record sounds using their PCs (a few have Macs as well) for use in the games they create. The built-in windows 7 sound recorder is surprisingly poor, didn't older versions of windows ...
-1
votes
1answer
198 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
votes
1answer
50 views

MVP Matrix * Vector3 = Black Screen? [closed]

I'm relatively new to computer graphics so please take it easy. I created a ModelViewProjection Matrix and I sent it to my shader: #version 330 core layout(location = 0)in vec3 vert; uniform mat4 ...
-1
votes
1answer
604 views

Windows Events lag behind

I'm making a simple openGL application and so far I can get the window to display, the update/render loop work, and it processes windows events (like WM_QUIT and WM_MOUSE). I've found though that ...
-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
138 views

Windows wchar_t to char conversion errors [closed]

I have been following this code from "Introduction to 3D Game Programming with Directx 10" and I am typing out the main class. While I was typing I noticed a few errors. I tryed googling them but ...