Questions tagged [windows]

Topics about games made for Microsoft Windows products.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

How to control Ragdoll joint movement programatically with C# in Unity

I have a 3D ragdoll created from a Dummy model and the ragdoll prefab. When I press play, this ragdoll falls on the ground as a ragdoll is supposed to do, the ragdoll part is working correctly I am ...
2
votes
0answers
13 views

Pygame RESIZABLE display flag not working as expected on display re-initialization

I'm working on a simple script to be used as a personal code skeleton for pygame projects (making this primarily for practice with Python, PyGame, and game design) but I'm running into an issue with ...
0
votes
0answers
14 views

Can't Install Windows Export Module From Unity Hub On Manjaro Linux

So when I try to download the windows export module for the newest version of unity, it looks like its working but then after it looks like its finished, It doesn't tell me anywhere and I can't see ...
1
vote
2answers
75 views

D3D11 wrong full screen resolution

I am currently writing a Directx 11 engine and have problems with the resolution when switching to exclusive fullscreen on my 1440p monitor. If i call SetFullscreenState(TRUE, NULL), the screen ...
0
votes
2answers
671 views

Low FPS in Unreal engine, but GPU usage is low as well

I am running an Unreal Engine 4 project which has many high quality assets. My computer is fairly strong: CPU: AMD Ryzen 5 3600 6-Core GPU: GeForce RTX 3060 SSD: Lexar 500GB NM610 M.2 NVMe SSD RAM: 2 ...
0
votes
0answers
12 views

Can I bring the Game View window to front together with the main window on Mac?

I come from Windows environment and I was pretty fast with development and just working with Unity. When I clicked on the Unity icon on Windows to bring it to front, it immediately brought the Game ...
0
votes
1answer
446 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?
0
votes
1answer
596 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
107 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
69 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
23 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
81 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
24 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
162 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
41 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
20 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
195 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
148 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
52 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
149 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
101 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
56 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
164 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
207 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 ...
2
votes
0answers
384 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
21 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....
1
vote
3answers
1k 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
78 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
537 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
49 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
955 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
643 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
936 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
130 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
103 views
1
vote
1answer
370 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
110 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
69 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
103 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
211 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
956 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
226 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 ...
1
vote
1answer
926 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
271 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
52 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
221 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
200 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
753 views

Vibration/Rumble with PS4 Pad and LPDIRECTINPUTDEVICE8

I actually try to make my PS4 Pad rumble. I get the pad capabilities with ...

1
2 3 4 5
7