Topics about games made for Microsoft Windows products. These include Windows 7, Vista, XP.
2
votes
1answer
58 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
51 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
293 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>
...
0
votes
4answers
157 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 ...
3
votes
0answers
199 views
Sound not playing on Windows XP - SoundEffect or Song: Monogame
I'm trying to integrate sound into my Monogame game. I don't have the content pipeline hack -- just straight Monogame (Beta 3) at this point.
(I tried adding the content pipeline, but ran into some ...
1
vote
2answers
68 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 ...
4
votes
2answers
713 views
Does Windows 8 still support DirectX 9?
Is Windows 8 supporting DirectX 9? Because I was looking through some samples written in C++ and DirectX 9 made for Windows 8. It wasn't that, like I know it ( look here ...
1
vote
1answer
101 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
74 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
votes
1answer
263 views
2D Game Dev Resources/Tutorials for Windows (Phone) 8 Development? [closed]
I am really exited about the launch of windows 8, windows phone 8 so I decided to start learning how to develop games for them. I was even more exited when I found out that html, css, javascript can ...
7
votes
1answer
157 views
Architectural approaches to creating a game menu/shell overlay on PC/Linux?
I'm am working on a collection of games for a custom digital tabletop installation (similar to Microsoft Surface tables). Each game will be an individual executable that runs full-screen. In addition, ...
0
votes
0answers
35 views
record and replay directinput events
I am trying to build a record and replay system for a couple of games. I was wondering if I can make a general replay engine using directinput rather than doing an specific implementation for each ...
3
votes
1answer
284 views
Why is the framerate (fps) capped at 60?
ISSUE
I recently moved a project from my laptop to my desktop(machine info below). On my laptop the exact same code displays the fps(and ms/f) correctly. On my desktop it does not. What I mean by ...
3
votes
1answer
125 views
How can I show a texture in a separate window in an XNA game?
I'm playing around with random map generation and what I want to do is:
Input a command to generate a random map.
A texture will be created resembling the generation, each pixel resembling each ...
4
votes
2answers
254 views
Game Server on Windows Azure
What do you guys think of using Windows Azure for deploying a custom built game server. It's being built in C#, and I want to get a few things down before stretching too far into the project.
I like ...
1
vote
1answer
111 views
Thread.SetProcessorAffinity() equivalent for Windows?
I want to be able to use multiple cores in my XNA game, but it seems that Thread.SetProcessorAffinity() is only usable on xbox. That being said, is there any way to run a small chunk of my code on ...
1
vote
2answers
248 views
Best Way To Develop Robust Cross-Platform Application? [closed]
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
62 views
Application window as polygon texture?
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 ...
1
vote
1answer
292 views
Am I allowed to release an app I developed with Xcode on windows?
I want to develop an app for the iOS app store, but don't want to invest in a mac since they start very expensive. So I considered running Xcode via VMware using OSX Lion on my windows 7 computer. ...
3
votes
3answers
209 views
Unicode Usage in Video Games
When programming Windows games, do you use multibyte character settings or Unicode character settings? I'm under the impression that professional companies today use the Unicode setting to make ...
2
votes
3answers
175 views
Multithreaded game fails on SwapBuffers in render thread at exit
The render loop and windows message loop run on separate threads. The way the program exits is that after PostQuitMessage is called in WM_DESTROY the message loop thread signals the render loop thread ...
2
votes
1answer
2k views
Freeglut vs SDL vs GLFW
i need to port my game project from Android (written in C, OpenGL ES 2.0, thanks to NDK) to Windows and Linux platforms. Of course i will need to rewrite some platform depended code, but now i stuck ...
0
votes
1answer
80 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
vote
1answer
221 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 ...
4
votes
1answer
951 views
Is the new windows 8 sdk usable with visual c++ express 2010 on windows 7?
This is inspired by and related to Is the June 2010 DX SDK really the latest? asked recently but it's a different question.
I won't likely be purchasing the full visual studio 2012 for C++, I intend ...
2
votes
4answers
455 views
Should the main game object be static in c++
I am creating a 2d platformer using SDL and I was thinking that my game object could be static, but I wasn't sure if this was a good idea.
The pros (that I can see):
Accessing settings options ...
3
votes
1answer
180 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
261 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 ...
1
vote
2answers
227 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
107 views
Opengl tutorials [closed]
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 ...