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

learn more… | top users | synonyms

0
votes
0answers
13 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 ...
2
votes
1answer
86 views

How to make OpenGL rendering resolution independent from its window context resolution?

Can the rendering resolution of OpenGL and the window size (at least for the Windows OS) be separated? For example, I may only want to render at 400x300 resolution, but I want my window size to be ...
0
votes
1answer
50 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
36 views

Changes to myApp.js files are reverted back to normal when the project is build - Cocos2dx

I am trying to do some changes to my myApp.js file of coco2dx project for android in eclipse but I am not able to do it. I am actually trying to change the default background image of my app. But ...
2
votes
2answers
84 views

Is IDirectInput8::FindDevice totally broken on Windows 7?

I'm developing on Windows 7, and using DirectInput8 for my input needs. I'm tracking gamepad additions and removals (that is, GUID_DEVINTERFACE_HID devices) using the DBT_DEVICEARRIVAL and ...
0
votes
0answers
44 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 ...
1
vote
2answers
194 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, ...
0
votes
0answers
41 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 ...
1
vote
2answers
92 views

How do I deal with timeout detection and recovery in D3D?

What is exactly measured when checking TDR in Windows? What do I need to do in my D3D11 app to tell TDR that long rendering is okay? I've already split the workload into smaller batches, but how do I ...
0
votes
1answer
106 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
170 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 ...
3
votes
1answer
61 views

Finding the monitors orientation in XNA for Windows

Just to be clear this is not for Windows Phone 7. =) I've got some interesting requirements for a project and I'm having trouble trying to find the information I need. I have two monitors. The ...
1
vote
1answer
294 views

Is it possible to use ALSA or OSS on Windows?

Has nobody written a wrapper over DirectSound or something yet?
0
votes
1answer
193 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
1answer
52 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 ...
2
votes
1answer
380 views

Monogame crashes without any change

I've written a game in MonoGame, which works great on my desktop computer. It's running Windows 8, has a good graphics card and can be assumed to be up to date with everything. However, when I run on ...
2
votes
2answers
248 views

Large resolution differences

I want to develop a game on multiple devices such as PC, Android or IOS. Want it to be in 1080p, but that means a massive scale down for the smartphones. I know how to do that, just render everything ...
4
votes
3answers
973 views

Game loop on windows

I have seen different "basic" game loops both from books like "Introduction to 3D game programming with DX11" or online tutorial ( Rastertek ) and if we take off all the fancy stuff to control ...
29
votes
6answers
2k views

Do I need to ask Microsoft for permission to use their products logo?

I am currently making a trailer of my game for my college project, I would like to note that my game is cross platform. Do I need to ask for permission to use those images in such situation? - When ...
2
votes
1answer
221 views

Do I need to update my DirectX SDK in order to fix a crash with D3D10_CREATE_DEVICE_DEBUG?

I am currently using the DirectX June 2010 SDK. Everything was working fine with my installation until recently. Unfortunately I'm not sure what changed or when, but now when I create a device with ...
0
votes
1answer
183 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 ...
-3
votes
1answer
101 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 ...
6
votes
1answer
318 views

How can I debug _why_ glDrawArrays is very slow?

I'm working on a game that uses CEGUI and Ogre. Recently, we've discovered that some of our customers with GeForce4 MX 4000's, performance is terrible. After a night spent debugging, I've tracked ...
-4
votes
1answer
91 views

.NET in Windows ME [closed]

So I'm used to work with C# and I recently started studying C++. So I have a Vista computer, which I'm using right now, but I also have an old Windows Millennium Edition Computer, and I also wanna ...
0
votes
1answer
90 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 ...
1
vote
2answers
133 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 ...
3
votes
3answers
313 views

How to remove text from a command line box?

I'm currently writting a text based game and am currently having a slight issue where all of the text on the screen keeps going up and have had a couple of the testers complaining that it makes the ...
1
vote
2answers
580 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 ...
2
votes
1answer
82 views

Augment an existing game with touch gestures

I want to enhance Homeworld 2 gameplay with touch gestures. The game is running on Windows. So, two questions: Is it possible to wrap the game with a program that would capture touch gestures, ...
3
votes
1answer
269 views

DXGI and 2+ full screen displays on Windows 7

I am developing a program that needs two full screen Direct3D dispalys. According to the documentation I should create the swap chains in windowed mode and then switch to full screen mode. While this ...
0
votes
2answers
634 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, ...
1
vote
1answer
171 views

Packaging XNA game studio with project

I published an XNA game (for Windows only) using Visual Studio's publish feature which is supposed to handle dependencies and all that. When I installed it on myself it verified system requirements ...
1
vote
1answer
466 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, ...
0
votes
1answer
818 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 ...
4
votes
2answers
494 views

Unity game onto Windows 8 store

I've been searching around the web to see if it is possible to submit a unity game onto the windows 8 store. All I have found so far are articles months old saying it is coming soon, can anyone give ...
4
votes
4answers
612 views

Why do most game devs prefer OGL for OS X and D3D for Windows? [closed]

Today I decided to check what Diablo 3 developers used to do graphics: OpenGL or Direct3D? My mind was completely blown: For Windows, they've used D3D and for OS X they've used OGL. I did some ...
1
vote
0answers
158 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
58 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 ...
7
votes
2answers
805 views

D3D/DXGI handle fullscreen transition

I have a D3D11 application, and I want to add proper fullscreen suport. Now I can let DXGI switch my window to fullscreen for me, and I'm under the impression that DXGI will take care of everything ...
1
vote
0answers
81 views

kinect application runs kinect game with different controls

I have an application (WPF) in which the mouse is controlled using the kinect. In that application I have a button that when clicked a kinect game is executed. The problem occurs when I try to control ...
1
vote
1answer
1k views

DX11 application running on Windows XP using only DX9?

I'm developing an application that utilizes DX11. I know that DX11 is only available on Windows 7 (and Vista with SP). I wonder if there is some way to run the application on Windows XP and use only ...
0
votes
4answers
732 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
547 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 ...
4
votes
3answers
6k views

How to draw 2D images using OpenGL, in SDL?

After everything, I managed to find a simple piece of code that shows how to draw a 2D image with openGL: #include "SDL/SDL.h" #include "SDL/SDL_opengl.h" #include "SDL/SDL_image.h" ...
-5
votes
1answer
211 views

How to disable and re-enable video card and keyboard drivers on Windows as part of program testing? [closed]

For my game I want to give the user full control. I am writing a hangman game where the user has the option of pressing the 'X' key on the keyboard to disable the keyboard driver completely, and 'G' ...
2
votes
1answer
123 views

Could the delta frame time be negative?

I'm following a tutorial about the time management and, the tutorial shows this function: double GetFrameTime() { LARGE_INTEGER currentTime; __int64 tickCount; ...
0
votes
1answer
465 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 ...
1
vote
5answers
1k views

Game Timer In C++

I need to be able to find out how many milliseconds since that last update. Is there any way I can find it out with time rather then a thread that counts like I did below? #include <iostream> ...
2
votes
4answers
2k views

How can I make iPhone apps (games) on Windows?

I want to start making iPhone games, but sadly I'm a Windows geek.. Is there a way to make good profesional iPhone games without Xcode/owning a Mac computer? If not, what do you recommend, a Mac ...
4
votes
1answer
804 views

Sound not playing on Windows XP - SoundEffect or Song: Monogame

*Solution:* I have a RealTek ALC888. I solved this (OpenAL) by disabling hardware acceleration on my sound (Control Panel > Sound > Advanced, disable acceleration). I'm trying to integrate sound into ...