Questions tagged [windows]

Topics about games made for Microsoft Windows products.

Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

Override PS4's Dualshock Controllers in system controls (Windows 10) [closed]

Windows 10. PS4 Dualshock controller. This is not for Unity but for the operating system as a whole. I want the "O" to be "pressed" if it's y-axis measures more than 6m/s². (PS4's ...
0
votes
1answer
91 views

How can I change the game executable name to something other than UE4.exe?

I have a game and when I export it it is called Bounced! but in windows task manager the process appears as UE4.exe but with the logo of my game, how can I change this to Bounced.exe?
1
vote
1answer
27 views

How can I install Unreal engine on a PC with metered connection or completelly offline?

I need to get Unreal Engine 4 as soon as possible on my desktop PC, in order to complete a task. However, the computer is on a metered connection and downloading it there would cost me about 3 pizzas ...
0
votes
0answers
37 views

Unity Video Player: Resolution exceeds the Microsoft Media Foundation decoder limit

I'm using Unity's Video Player component to play a short intro video before the main menu. The problem is that its resolution is 2560x1440, and on Windows 7 or earlier operating systems it says: ...
0
votes
0answers
60 views

Game loop design

I'm developing a simple Win game. Here is my 2 similar implementations of the game loop (in c++): approach #1: ...
0
votes
0answers
22 views

How to detect two different mice at the same time, and record their separate movements? [duplicate]

I would like to use two computer mice simultaneously, and to record data their separate movements on windows. I have successfully used TeamPlayer to create two cursors, but the software that I am ...
0
votes
1answer
65 views

Why the mouse doesn't move in mouse-look feature of RPG/FPS games?

Description The mouse look (or free look, i.e., move the mouse to change the view/camera) is common in RPG and FPS games. In my cloud game project, I tried to achieve this feature. Before programming, ...
0
votes
1answer
15 views

SteamVR No Longer Opening With Unity Projects

I'm trying to get Unity to open/utilize SteamVR for development. Everything was working fine until today, but now Unity does not use SteamVR. I did not make any changes to SteamVR recently, and I get ...
0
votes
0answers
63 views

Simulate mouse input message for free look in fps games

This question was previously asked in stackoverflow where no one gives an answer. I also found a similiar question here, but in my situation, I hook and simulate mouse inputs and send them to the game ...
0
votes
0answers
36 views

Single Array Texture, multiple wrap modes

I have a array texture of which I would like some of its sub-images have wrap modes of GL_REPEAT and others to be ...
0
votes
0answers
7 views

DirectWrite and Set Character Spacing - Trouble using extended DW functionality

I'm having a hard time grasping the problem getting the newer/extended functions in dwrite_1.h to work with my existing code and hope that someone here can shed some light. This is my existing set up.....
0
votes
1answer
63 views

Window handle is invalid

I'm trying to implement an input listener for FNA (modern version of XNA). Since FNA does not supply any sort of way to listen to native input this has to be done through the windows API and native ...
0
votes
0answers
87 views

Ideal scheduler on the operating system for games?

In linux, the preferred scheduler is CFS (correct me if I'm wrong), I'm not sure what the preferred scheduler is on Windows. It's possible to change the scheduler in linux, even after you boot. I'm ...
0
votes
0answers
40 views

How do I edit this texconv “IMGtoBC3.bat” file so it “READS FROM & PRESERVES the directory structure when writing the ”resulting" dds files

Like the title says: How do I edit this texconv "IMGtoBC3.bat" file so it "READS FROM & PRESERVES the directory structure when writing the "resulting" dds files? THIS IS ...
0
votes
1answer
106 views

Which version of Quake 2 source code do I need to compile to work with version 3.20 map packs?

I'm a big fan of Quake 2 game. Recently I've decided to spend some of my free time for digging into the Quake 2 src code. There ...
0
votes
1answer
85 views

Parts of OpenGL rendering area missing/transparent until resize

I am having a weird transparency issue when running my game in windowed mode. Parts of the window, left and top parts in normal window mode, right and bottom when in maximised window, become ...
1
vote
1answer
48 views

What is the process for porting my game SFML from Windows to Mac

I've recently finished version one of a simple arcade game I've been making in SFML. I've already spent months on the physics engine and game, and I'm wondering how much time it will take to port it ...
1
vote
1answer
152 views

SetFullscreenState not returning

When I call the IDXGISwapChain::SetFullscreenState method, it does not return. The window goes fullscreen, but accepts no further input. A ...
2
votes
1answer
154 views

How to get Unreal find headers needed for my code to work?

I am trying to open a dialog to select files under UE4, using OpenFileDialog. I added this to my build.cs ...
1
vote
0answers
165 views

How to publish a Unity desktop game without a security warning?

When I build a Unity game as a Windows Desktop application, zip the folder, and upload the zip to itch.io, then anyone downloading the zip from itch.io and running the game gets a security warning ...
1
vote
1answer
16 views

How do I use a script located not in the Assets folder?

I'm developing several games at once, and they all use the same helper C# class which I have named "Helpers.cs". This script contains common helper functions. I'm still making changes to this Helper....
0
votes
3answers
655 views

Cannot open a package from the Unity Asset Store website

Yesterday I found an asset on the Unity Asset Store website, clicked the button "Open in Unity", and it was opened in Unity. Today, when I did the same thing, I got the error message below: I opened ...
0
votes
0answers
68 views

How to create an instance of Windows Firewall interface object in Unity

I am trying to make the game add itself into the Firewall rule. I already referenced NetFwTypeLib.dll into the project. It led me to this line of code here: ...
0
votes
1answer
365 views

Is Windows window creation faster / more efficient than GLFW window creation?

Are there any benefits to using Windows window for OpenGL or Vulkan rendering, rather than using GLFW window? Is there any performance hits when using C++ Window creation over GLFW since it provides ...
0
votes
2answers
2k views

What does the “DXGI Flip Model Swapchain” setting in Unity do exactly?

I'm preparing a Standalone Unity game for Windows and Mac. There is a checkbox in Player Settings called "Use DXGI Flip Model Swapchain for D3D11", which seems disabled by default. Needless to say, ...
0
votes
1answer
44 views

<Missing LoadingScreenManager.LoadScene> even though it's not?

What was once a smooth loading screen, is now a frozen screen. From my main menu, it usually skips the loading screen and dives into the gameplay (which isn't too bad) but the real issue, is if you're ...
0
votes
2answers
745 views

Implementing a main loop with rendering in a Windows Desktop Application

I'm writing the beginnings of a small game engine in Visual C++. What I have so far doesn't seem to be updating the rendering each frame, but I don't understand where I'm going wrong with it. The ...
0
votes
1answer
500 views

Synchronizing with monitor refreshes without vsync

What is the preferred way of synchronizing with monitor refreshes, when vsync is not an option? We enable vsync, however, some users disable it in driver settings, and those override app preferences. ...
1
vote
1answer
736 views

Windows 10 GPU Engine Performance Counters - Phys / Eng Meaning

For performance tracing of intermittent degredation in performance I wanted to use the Performance Counters available in Windows 10 1809 under GPU Engine -> Utilization percentage. This particular ...
-1
votes
1answer
125 views

OpenGL performs very bad on laptop

I'm trying to write a game using C and OpenGL, I wrote some rendering code and camera, but the game is very laggy, framerate is so low (probably around 10-15fps), however, if I launch the game through ...
0
votes
1answer
83 views
1
vote
1answer
322 views

Can games be made with Win32 for Windows 10?

Based on the news today of Microsoft allowing Win32 games on the Windows store, what does it mean that Win32 can be used for games now? Couldn't Windows 10 already play Win32 games? or is this ...
0
votes
0answers
93 views

How can I handle mouse input and cursor in a WinAPI window?

Hello I'm studying game engine programming, but I got stuck with mouse input. As for now I have only WinAPI window, which has a message pump and processing. For the mouse I used RAWINPUT, but there ...
1
vote
0answers
58 views

Unity standaolne Exe crashes dxgi.pdn not loaded?

I couldn't find this exact issue so I apologize if I missed it and created a duplicate question. The only possibilities I could find said that it might be Unity or a DLL. I'm using Unity 2018.2.21f1 ...
1
vote
0answers
80 views

Preventing Unity from writing to the registry?

I see that Unity automatically writes some info to registry when it launches the game. Several people have this problem too: Preventing Unity from writing to the registry. How to disable writing to ...
6
votes
1answer
162 views

How can I make Unity run fast when it's not focused?

I'm using Unity3D. I have an automated test suite that takes 1-2 minutes to run. When Unity has focus, these tests seem to run at least 2x as fast as when Unity is in the background. But, it's very ...
4
votes
0answers
887 views

Game built uses a lot of GPU processing, in the editor uses very little

I am building my project in Unity 2018.2.21f1 for Windows in architecture x86_64, with: Copy PDB files | false Create Visual Studio Solution | false Develoment Build | false Autoconnector Profile | ...
0
votes
2answers
177 views

Full-screen window hangs when debug break or crash (Windows/GLFW/Cocos2D)

I run into an issue if my game application becomes unresponsive when running in fullscreen on Windows. This mostly applies when I want to use breakpoints in Visual Studio, however if the application ...
2
votes
1answer
753 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
253 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 ...
1
vote
1answer
4k 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
51 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
208 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
185 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
736 views

Vibration/Rumble with PS4 Pad and LPDIRECTINPUTDEVICE8

I actually try to make my PS4 Pad rumble. I get the pad capabilities with ...
1
vote
0answers
54 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
2answers
610 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
191 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
95 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 ...
0
votes
1answer
247 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 ...

1
2 3 4 5
7