Questions tagged [windows]

Topics about games made for Microsoft Windows products.

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

How to Resize SwapChain in DirectX12?

I am trying to resize the swapChain following the method provided in the following link. I am also flushing the GPU before resizing using the ...
user avatar
  • 1
0 votes
0 answers
25 views

How do you load bitmap data into an array?

Here is what I currently have: ...
user avatar
0 votes
0 answers
33 views

How to force Unreal Engine 5 not to save anything on (C:) local main hard drive?

I've installed UE5 on Windows10, on my secondary F hard drive (SSD), and set the save file paths to it, but UE is adding Program data in the C main system hard drive, which is getting full. Is there a ...
user avatar
0 votes
1 answer
68 views

Ads in a desktop game?

For my Destiny Garden project, which is a desktop game, I want to use freemium monetisation strategy, so I plan to publish both free demo version and a paid full version, and I'm wandering is there ...
user avatar
  • 101
0 votes
0 answers
53 views

How to get Windows identifiers in Unity?

I'm trying to get an unique computer (Windows) id in Unity. I can get it in .net Framework using this code, that I found somewhere: ...
user avatar
0 votes
0 answers
29 views

How can I build Ogre3D source files without errors?

I am using CMake Gui along with a windows OS to build Ogre3D source files from github. I am running into issues while I am building the source file. How would i fix the two installations below? ...
user avatar
0 votes
0 answers
220 views

Fully exiting HoloLens Unity apps, including closing the window

On both the HoloLens 1 and 2, with Unity at least from 2019.x LTS through 2020.x LTS, with at least 2D windows/fullscreen and 3D immersive apps, with any XR plugin (or no XR at all), run-in-...
user avatar
  • 137
2 votes
2 answers
49 views

Can't install Unity after Hub froze during installation - where to find Unity files and delete them?

I'm struggling to reinstall Unity after Hub crashed halfway through installing an editor version. I have tried to delete the partially installed Unity - but I don't know all the locations to look, as ...
user avatar
0 votes
0 answers
43 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 ...
user avatar
  • 121
2 votes
0 answers
31 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 ...
user avatar
0 votes
0 answers
21 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 ...
user avatar
  • 19
1 vote
2 answers
206 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 ...
user avatar
  • 21
0 votes
2 answers
3k 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 ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
  • 2,502
0 votes
1 answer
1k 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?
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
188 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: ...
user avatar
  • 627
0 votes
0 answers
103 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: ...
user avatar
  • 101
0 votes
0 answers
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 ...
user avatar
0 votes
1 answer
107 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, ...
user avatar
0 votes
1 answer
47 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 ...
user avatar
0 votes
0 answers
51 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 ...
user avatar
  • 1
0 votes
1 answer
330 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 ...
user avatar
  • 7,650
0 votes
0 answers
184 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 ...
user avatar
  • 1
0 votes
0 answers
63 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 ...
user avatar
0 votes
1 answer
194 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 ...
user avatar
0 votes
1 answer
123 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 ...
user avatar
  • 1
1 vote
1 answer
70 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 ...
user avatar
1 vote
1 answer
176 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 ...
user avatar
  • 21
2 votes
1 answer
392 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 ...
user avatar
2 votes
0 answers
690 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 ...
user avatar
1 vote
1 answer
23 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....
user avatar
  • 819
1 vote
4 answers
2k 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 ...
user avatar
0 votes
0 answers
86 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: ...
user avatar
  • 11
0 votes
1 answer
765 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 ...
user avatar
  • 103
0 votes
2 answers
3k 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, ...
user avatar
  • 1,579
0 votes
1 answer
55 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 ...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
0 votes
1 answer
768 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. ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
-1 votes
1 answer
153 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 ...
user avatar
0 votes
1 answer
123 views

Problem with nested if elements in batch file (text rpg)

...
user avatar
  • 1
1 vote
1 answer
395 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 ...
user avatar
  • 271
0 votes
0 answers
122 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 ...
user avatar
1 vote
0 answers
73 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 ...
user avatar
1 vote
0 answers
118 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 ...
user avatar
6 votes
1 answer
284 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 ...
user avatar
4 votes
0 answers
995 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 | ...
user avatar
  • 83
0 votes
2 answers
267 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 119

1
2 3 4 5
7