Topics about games made for Microsoft Windows products.

learn more… | top users | synonyms

1
vote
0answers
313 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
247 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
233 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
61 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
800 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
173 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
839 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
1k 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
2answers
184 views

Native vs Desktop Resolution

I have code set up that finds the native resolution of a monitor and uses that to determine the resolution for (DirectX exclusive) fullscreen mode, using SetupAPI: HRESULT ...
0
votes
1answer
1k 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
346 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
849 views

Where are the files UnityEngine.dll and UnityEditor.dll located on a Windows filesystem?

Visual Studio can't find the UnityX.dll files after I copied my assets folder from one computer to another. Where can I find these .DLLs? UnityEditor.dll UnityEditor.iOS.Extensions.XCode.dll ...
0
votes
1answer
140 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
51 views

Is window creation decoupled from game engine?

I'm new to game development, and I was wondering about a architecture question. The window creation code in C++ is given by doing the following: Fill out a WNDCLASS struct Register the window class ...
0
votes
1answer
32 views

How to access the players XBOX account from your Windows 10 game app? [API?]

We want to release a game that was previously an Android game for Windows 10 (Store / Desktop). Could you tell me how we can access the players XBOX account, see his friends and compare their scores? ...
0
votes
1answer
68 views

Circle Depth Penetration

I'm resolving some collision between circles and I keep getting this problem. Note: The rectangles are perfect squares fitting the circles so when I type rect.Width I mean the radius of the circle. ...
0
votes
1answer
239 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
1answer
67 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
201 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
955 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
487 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
1answer
62 views

Black Screen when using High-Performance NVIDIA Processor

I have an issue where my program renders a black screen on other computers. I narrowed it down to when a different graphics card is being used. When I run the program using Integrated Graphics ...
0
votes
1answer
25 views

MinGW Windows Cross-Compile Error

While I was developing my game on Linux (I'm using an ARM system), I decided that I want to cross-compile it to Windows. Yet, I get an error while I try to link Allegro (version 4.2) to the compiler. ...
0
votes
1answer
174 views

Zooming In SDL 2.0

I'm currently working on a project in which I render pictures raw. That is I use simple IMG_LoadTexture(), SDL_RenderCopy(). I want the program to be able to zoom in/out and textures to be scaled to ...
0
votes
1answer
103 views

What is the highest quality way to render warped text on Windows?

I need to render highly readable text, on par with DirectWrite+Cleartype+Truetype. The Cleartype system uses sub-pixel anti-aliasing. DirectWrite takes things a step further and moves letters around ...
0
votes
1answer
181 views

SFML - How do I create an OpenGL context before showing the window?

I want to create an OpenGL context to initialize some assets before actually showing the window with SFML. How can I do this?
0
votes
1answer
554 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
753 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
358 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
1k 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
927 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
8 views

Config SFML in QTCreator with file.pro

I know that are a method with cmake , but i wouldlike config my project in Qtcreator usinig qmake and my doubt is what my file .pro must have for work it ?. I will run in windows , maybe later linux . ...
0
votes
0answers
19 views

How to get tearing-free present with D3D9 in windowed mode without DWM?

For a long time now I have assumed that it's impossible to get tearing-free presents with: Windows 7, no DWM (=Aero off), D3D9, windowed mode. However, my Windows 7 PC at work just does it. My ...
0
votes
0answers
70 views

How do I Upload an Image from Unity3D Standalone Game to Twitter?

I'm working on a title that uses some fancy camera based iteraction, and to compliment that, we allow you to take selfie pictures with your image composited along side some of the characters. Our ...
0
votes
0answers
44 views

Hide (and show) Unity window using C#

I'm making a game (in Unity3d) that features a level editor. However, the editor is made in XAML (i use WPF on Windows Desktop). In Windows Phone, the Editor is a separate application, and i use URI ...
0
votes
0answers
11 views

ShaderX7 example code - missing headers

I try to build shaderx7 example code (practical cascaded shadow maps) from the cd which was appended to the book. I use windows 7 and I installed directx sdk 2008 and 2010. I can't find anywhere ...
0
votes
0answers
42 views

Any call to framebuffer methods causes crash. (MinGW)

For a long time, I have been using LWJGL. This library is pure awesomeness, however I was looking into learning the lower level API that was used in C++. I am new to the idea of pointers and other ...
0
votes
1answer
77 views

Gamepad default trigger identification in Windows

I'm currently writing an interface driver for my Moga Power Pro controller on Windows. I'd like to release it for others to use, but first I have some questions on expected default mappings for the ...
0
votes
1answer
216 views

3ds Max Skeleton Import into Unreal Engine Fail

I tried following the "Introduction to UE4 Animation and Rigging Tools" tutorial with maya but I dislike maya and don't under stand it so I tried importing the skeleton from the "3rd Person Game with ...
0
votes
0answers
114 views

Is there a trivial way to force SDL2 to render on resolution change or regain of focus after CTRL+ALT+DEL?

I'm building a game with SDL2 and C++11. One of the modes of the game is a map which is divided up in tiles/entities existing on those tiles (some are animated) in the context of a viewport on the ...
0
votes
0answers
103 views

Farseer physics engine: save world simulation and load at a later time

I have created a windows desktop game using monogame and the Farseer Physics engine (FPE 3.5). In this game I would like to the user to be able to save the game and continue at a later time. When I ...
0
votes
1answer
849 views

wglCreateContextAttribsARB is undefined

I've just downloaded the latest headers from the OpenGL registry and included them in my project. I am attempting to create an OpenGL 3+ context. Every tutorial/resource has used ...
0
votes
0answers
184 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
1answer
122 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
287 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
0answers
16 views

Draw sphere in windows form application [on hold]

Can I draw a sphere "using Microsoft.DirectX.Direct3D"? I have the mesh class but I am trying Mesh mesh = Mesh.Sphere(); but its not working. Can someone demonstrate?
-1
votes
1answer
111 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
1k 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 ...
-2
votes
2answers
160 views

C++ Multi-Platform (Windows, Linux, Android) OpenGL(ES) Solutions or Tutorials? [closed]

I'm sorry if this has been asked recently and I'm not Googling it right, but I've been digging all week for something. I've got a game prototype I made in Unity, and I have some decent experience ...