Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [windows]

Topics about games made for Microsoft Windows products.

1
vote
1answer
26 views

FormatMessage not working for HRESULTs returned by Direct3D 11

I am using Windows 7 x64 and Visual Studio 17 (v15.9.7). Say I try to create a swap chain using IDXGIFactory2::CreateSwapChainForHwnd and pass in ...
0
votes
0answers
30 views

How to make the screen not flicker?

I want to be able to draw all my text, lines , triangles and other stuff to screen and then clear the screen and draw something new, BUT this method makes the screen flicker, and all the drawings dont ...
0
votes
1answer
46 views

How can I make an update patch for a Unity game on Windows?

I ran into trouble making a PC game using Unity. If I try to update my game, I can't a update the C# scripts (because AssetBundles don't include C# scripts) So I think I'll need to use a server and ...
1
vote
2answers
46 views

Do I need multiple exports from Game Maker to support Windows versions above 7?

I just created a game. At the time of exporting it, I targeted windows. I use windows 7 on my computer. Obviously the game is compatible with windows 7, but I do not know if it is also compatible ...
-2
votes
3answers
142 views

Why there are more games in windows than linux? [duplicate]

I cannot comprehend why there are so many games available for windows and so few for linux in comparison. Why is the main reason, is it a technical or business reason ? Are Windows libraries (directx)...
0
votes
2answers
79 views

How can I make the cursor avoid something completely?

I wrote some code for a UI button that causes the mouse to avoid it. I realize this is kind of a weird thing to do in a game design-wise, but this is a really weird game. I need a button that is not ...
1
vote
1answer
272 views

Vibration/Rumble with PS4 Pad and LPDIRECTINPUTDEVICE8

I actually try to make my PS4 Pad rumble. I get the pad capabilities with ...
0
votes
0answers
71 views

D3D12 SV_InstanceID + dynamic indexing not working?

I'm implementing geometry instancing in my engine and I am having trouble indexing the constant buffer that's holding per-instance data using SV_InstanceID. Am I doing something wrong? Here is the ...
1
vote
0answers
46 views

Unity: how to update only the Windows executable?

Suppose I made a small changes to the source code of my game. No assets, textures or sounds are changed. How can I create a "patch" or "update" for the Windows build of my game so my customers don't ...
1
vote
1answer
111 views

Why is my call to SetDisplayMode not supported?

I have some legacy DirectX code that always returns DDERR_UNSUPPORTED. I originally developed the code using DirectX3, and I am porting it to DirectX7 after ...
1
vote
1answer
81 views

Is there a way to run an Android Unity game in Windows? [closed]

I was wondering, given a generic Unity game built for Android (with no desktop version), if I could somehow run it on windows (not in an android emulator) by using the windows version of mono. The ...
1
vote
2answers
91 views

Why are Mac versions of games larger in filesize than Windows versions?

I have browsed many games mainly on itch.io and many developers offer a Mac version of their game along with the Windows version. The Mac version of all those games is significantly larger in file ...
-1
votes
0answers
28 views

d3d12 how to run an external program inside of an window

Hey I need to know how to run a process ".exe" inside my d3d12 application window So for example the inside border of my window needs to be able to run a program like a game inside of the parent ...
0
votes
1answer
92 views

RawInput — Getting the system default mouse and keyboard

I'm using RawInput for device management, in a project that I have been working on for some time. It works great, really, but... After some hardware changes on my development system, including the ...
-4
votes
1answer
64 views

is if statements important or do I need them [closed]

Hey I was wandering I am needing some advice I am using #if expressions to execute my code and I was wandering if you have #if expressions is it really needing to use if statements in your c++ source ...
1
vote
1answer
61 views

Is there a way to duplicate the windows desktop zooming in SDL to make low res pixels look like stylyzed cartoon art?

When you hit the Win key and numpad plus key at the same time it opens the desktop magnifying glass and the effect of this on low res pixel art is to make it look like super cool stylized cartoon art. ...
-3
votes
1answer
46 views

What is a Linker Map Address ()

I need to know how to execute a linker map address and use a draw method in xna 4.0 to for example in c# My subfolder has this in it textures models sounds ui scripts shaders linker map address <...
1
vote
1answer
279 views

System.Windows.Form.Control.FromHandle returns null for current window

I was following the book "XNA 4.0 Game Development By Example" and in the eighth chapter, the author adds windows form to an XNA game. I was following the book for a MonoGame project, but I get null ...
2
votes
2answers
415 views

If Windows 10 store games aren't crackable, why continue to publish on Steam?

I never heard that any of those games that are exclusively sold on the Windows 10 store have ever been cracked. But some games on Steam are cracked days after release, even with the protection of ...
1
vote
1answer
84 views

How can I port my Gear VR app (Java, OpenGL ES) to Unity?

I want to port my Gear VR app (created in Java using the official framework) to Unity, so I can also support Microsoft's new-ish VR headsets (not talking about the Hololens!). In my current app I'm ...
2
votes
1answer
129 views

How do you support different VR platforms?

I created an Android app for Gear VR in Java (using the GearVR framework) that I now want to port to Unity, so it can also be used for Microsoft's semi-new Mixed Reality headsets (for Windows; not ...
2
votes
1answer
169 views

How to handle Japanese on Windows and Linux using SDL_ttf and C++?

In SDL_ttf, there are a few functions provided that handles non-ASCII string literals, such as: TTF_RenderUNICODE_Solid ...
1
vote
0answers
123 views

Directory.EnumerateFiles hangs with disk pegged to 100%

I am having an issue that occurs seemingly at random with the following block of code. ...
2
votes
0answers
111 views

timing rendering to monitor screen update

I have an application with a very light rendering loop, taking a predictable and small time to execute. Right now, I have two solutions. The first solution uses Vsync: after a screen update, my ...
2
votes
1answer
108 views

Unity Shadow shows on my Android device but NOT my Windows Mobile device

Unity version: 2017.1.1f1 Problem: I'm using Directional Light. Shadow is not showing in my Windows Mobile device (Lumia 640 XL), but works fine when I run the exact same UWP project as PC (Local ...
1
vote
2answers
123 views

Can I build cross platform executables with Unity?

If I create a C# console application in Monodevelop and build it I can run it by typing: ./executableName.exe or using Wine. (I am using Ubuntu Linux) I assume that this means that C# .exe files ...
1
vote
1answer
233 views

Any idea why my openGL camera is stuttering only on the X axis? and only when using nvidia drivers?

As part of my assignment, I've been building a scene graph framework in C++/OpenGL. My camera works absolutely fine going backwards and forwards, but when I strafe / move on the X axis, the camera ...
0
votes
2answers
109 views

Is there a way to do local multiplayer on a combination of Windows/Ubuntu computers?

So far I've tried Bluetooth but it doesn't appear to work on either windows or Ubuntu (for this use-case; it can connect to printers fine). I've also looked up USB-bridge-cables, but from what I’ve ...
1
vote
2answers
231 views

Is the Windows 10 Game Bar extensible?

Does the Windows 10 Game Bar have an an API that I, as a developer, can hook into and as such make a product that starts alongside all games that support the game bar (say, a parental control ...
-1
votes
1answer
458 views

Save game feature in SDL 2?

I am making a 2D action-adventure platformer video game using the C++ computer programming language and the Simple DirectMedia Layer 2.0 (SDL 2.0.5) development library. So far I have created over ...
0
votes
1answer
2k views

C++ and TinyXML2 Error: **this** was nullptr

I'm trying to make a video game using Microsoft Visual Studio Community 2017 and Simple DirectMedia Layer 2 (SDL 2.0.5, and SDL image loading file version 2.0.3). A map editor called 'Tiled!' was ...
0
votes
1answer
98 views

How do I draw two lines of text in GMS and keep one static?

I am making an intro sequence for my game, but I'm having some difficulty drawing two lines of text. The first line is "DEVELOPED BY:" referenced from a separate language file as "IntroSequence", "...
1
vote
0answers
45 views

How do I remove 'playerachievementcache.dat' from my GMS project?

I am working with a GameMaker: Studio project that outputs a file called "playerachievementcache.dat". It isn't used for anything, and I can't seem to remove it from my project. Is it possible that ...
1
vote
0answers
29 views

How can I use a custom payload name for my GameMaker game?

I have finished compiling my GameMaker Studio .win file. I then copied the Runner.exe binary to the game's directory to run it. ...
1
vote
0answers
310 views

How do I setup Android SDK for GMS?

I am trying to set the path for the android SDK in GameMaker: Studio, but I am having an unexpected ammount of difficulty with this. Initialy, I installed Android Studio and tried setting it's ...
2
votes
1answer
43 views

How do I manually define save paths in GMS?

I want to know if it is possible to set the path for my game's save data in GameMaker: Studio outside of the two default options I am given in the program. The options I get are: ...
2
votes
0answers
36 views

Output save file name conflict [closed]

I am making a game in GameMaker: Studio, but I've run into a problem. Originally, the game would create three possible save files: save1 save2 save3 The issue is ...
2
votes
1answer
33 views

In Game Window Frame Size Consistency

I'm currently building a game that utilizes many of its own 'windows' to display various information and dialogue to the user. Since there are multiple sizes and proportions these windows must be ...
1
vote
2answers
183 views

DX11 render 800x600 scene without a window

Normally I would create a hidden overlay window and render my DX scene into that, but I think it is possible to render without a window at all as well, is this true? The goal for me is to render on ...
0
votes
1answer
213 views

Unity 5.6 - Compilation Error with UWP using Facebook SDK for Windows

I built my unity game for UWP and I added winsdkfb to authenticate user with facebook ID. When I build my project in visual studio 2017, it throws an error which is: Severity Code Description ...
2
votes
0answers
38 views

How to create a reliable Installation Package for Windows in seconds? [closed]

I am looking a reliable way to create an Installation Package for a Unity 3D Video Game. I have just tried NSIS (Nullsoft Scriptable Install System) But the default user interface (of the final ...
1
vote
2answers
122 views

Are closing window and destroying DirectX11.1 independent?

I have a project with DirectX support. In this program uses two threads. One is a dedicated message loop and the second is executing DirectX API's. The question is about ending such program. The ...
2
votes
1answer
434 views

Running Unreal Build Tool with CreateProcess vs command line

I'm working on a tool that generates some files for Unreal Projects. The only thing is if I try to get it to compile the project through CreateProcess the command doesn't run the same as the command ...
1
vote
1answer
542 views

How OpenGL works with Windows GDI in order to produce output image on computer screen?

I am curious how GDI integrates with OpengGL in order to create image for computer screen. I know that GDI provide Device Context which describes window properties and as far as I know it also offer ...
0
votes
0answers
208 views

Why Do Textures Appear Black In OpenGL 4.5 In Windows?

I usually code in Linux, and when I ran my OpenGL program the textures displayed correctly. However, when I ran it on Windows the textures appeared black until I used old OpenGL for the textures. Is ...
0
votes
1answer
478 views

Direct3D11 Depth buffer problem

Encountered a strange error when using Direct3D11, feature level 10.0. If the depth buffer texture is created with the format DXGI_FORMAT_R24G8_TYPELESS, bind flag D3D11_BIND_DEPTH_STENCIL | ...
-1
votes
0answers
195 views

D3D11 virtual adress space usage on Windows 10

I work on a renderer framework. When I create texture with CreateTexture2D, D3D11 device immediatly allocates some memory from virtual space of the process despite there is no cpu access flags etc. or ...
-1
votes
1answer
203 views

Will any program written with XLib work on any desktop environment (Gnome, KDE, etc.)?

I'm making an application that uses Win32 API on Windows but I want to support linux distros too. Some people say linux doesn't have a native GUI API like Win32 API of Windows. But I found XLib and ...
6
votes
1answer
255 views

How can i port my OpenGL game to linux? [closed]

I made a game with OpenGL 4.3(core profile) and C++. I used GLFW3 for window and context management. I am also using bunch of third party library which are also available for linux. What things do i ...
0
votes
1answer
176 views

Kinect for Xbox One (+ adapter) and Windows 10

Can I use Kinect Xbox One (with adapter like Kinect for Windows V2 device), SDK 2.0, to build applications on Windows 10? I've read the requirements for Kinect and it lists only Win 8.0 and Win 8.1. ...