Questions tagged [windows]

Topics about games made for Microsoft Windows products.

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

Beginner seeking advice: Questions regarding SDL2 setup on Windows using MSYS2 and MinGW, plus concerns about deployment

I'm currently developing a game on Windows using the MSYS2 environment and mingw64. I've successfully installed SDL2 using the msys package manager (pacman) and using CMake, was able to get it up and ...
nz881's user avatar
  • 21
0 votes
0 answers
85 views

Cmakelists.txt with sfml/glew/glm .exe doesn't work

I am working on a game in c++, i want to make a Cmakelists.txt file for build a .exe file. ...
Gaëtan S's user avatar
0 votes
0 answers
43 views

How do I obtain an accurate measure of latency/ping?

I'm writing some C++ on a Windows system to extract latency from Win32 API so that I can make a ubiquitous ping/latency overlay for windows/DX apps, but the values I receive from Windows do not ...
Zeluok's user avatar
  • 1
0 votes
1 answer
81 views

Is DirectX 12 or lower just an API?

I am programming a game using DirectX 12. Shall it support all GPUs? Or just newer GPUs? What about the version of the Windows OS supported? What changes when a new DirectX version comes?
Praveen Kumar's user avatar
0 votes
0 answers
10 views

Unreal Engine FDirectoryWatcherModule catching multiple events per file operation

I followed this post to implement a delegate on a directory that notifies me when a change has happened (add file, delete file or remove file). This works fine, though the issue is that for each ...
afarre's user avatar
  • 111
2 votes
1 answer
110 views

Can I delete UnitySetup .exe files from AppData Temp folder?

Can I safely delete the following Unity-related files in order to clear up space? %APPDATA%\Local\Temp\unityhub......\UnitySetup64-2022.3.7f1.exe %APPDATA%\Local\Temp\unityhub.......\UnitySetup64-...
A__'s user avatar
  • 163
1 vote
1 answer
361 views

How to get Keyboard working with GameInput on PC in C++

I need some help here. I try this for a while now but it won't work and I can't find anything online. I want to write my own input handling. At first I used XInput for gamepads and Win32 callbacks for ...
Fragrantius's user avatar
0 votes
0 answers
43 views

Stripe IAP Plugin Breaks on Build

I apologize in advance, I'll try and explain this the best i can, but i really don't know what's causing this. I have a project I'm building for UWP, I'm using Stripe IAP for in app purchases. The ...
Mashimaro7's user avatar
0 votes
0 answers
383 views

How to combine 2 splines from different spline container in unity spline 2.3.0?

I'm working on with Unity Spline 2.3.0, I realize that the splines cannot be touch and combine with other splines that exits in different spline container. Is there any way to connect them? I tried to ...
Duy Hạnh Trần's user avatar
2 votes
1 answer
124 views

How to deal with different version of Direct3D12 interfaces?

Let's say I want to enable debug layers for a Direct3D 12 renderer, for which I need to create a ID3D12Debug object. Problem is, there are 6 different version of ...
marked-off-topic's user avatar
1 vote
0 answers
62 views

Why opengl code in a lib doesn't renderer?

I am experimenting with opengl using c99 on windows and vs 2022 i tried to create an window using glfw in one project and put a function that supposed to generate a texture in another project that is ...
Abn Alsrag's user avatar
0 votes
1 answer
29 views

How can I load symbols for Composure?

I'm trying to load symbols so I can use breakpoints in Composure scripts and see how they control the PostProcessing of the SceneCapture2D component (because of this problem), but breakpoints hit. I'...
starphan's user avatar
0 votes
0 answers
94 views

How to know fps of game running on Mesa 3D on Windows 10

I am running some old OpenGL 3D application. I don´t have source code from the application but I assume it was implemented with OpenGL 2.0 or 2.1. I am running it on Windows 10 on Intel UHD graphics ...
david's user avatar
  • 1
0 votes
2 answers
2k views

error creating a c++ project in unreal

I was working on some test project since I'm beginner in unreal engine, and I suddenly started getting this: ...
mleu's user avatar
  • 13
0 votes
1 answer
183 views

Mouse input accumulates different number points at different frame rates

I'm working on a basic Vulkan renderer that's presently relying on Win32 raw mouse input for camera pitch and yaw. It's all very basic, but what I've noticed is that at higher frame rates, I'm ...
pdm's user avatar
  • 103
0 votes
1 answer
304 views

C++ Chess Game Program sending/receiving UCI commands from Stockfish.exe using CreateProcess()?

...
I_Keep_Trying's user avatar
0 votes
0 answers
45 views

How do i get this web app to use the up joystick button as an input

There is this reaction time test app that calculates the reaction time from the time you press a button, it works with the joystick buttons except for the directional buttons, this is the app: https://...
Amine Messai's user avatar
0 votes
0 answers
365 views

Message pump and D3D11 DXGI in separate threads

I have read: https://learn.microsoft.com/en-us/windows/win32/direct3darticles/dxgi-best-practices#multithreading-and-dxgi https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/d3d10-graphics-...
Peter's user avatar
  • 1
1 vote
0 answers
413 views

Why is processing the Windows message queue so slow?

PeekMessage, TranslateMessage, and DispatchMessage often take a long time (sometimes more ...
KTC's user avatar
  • 480
1 vote
1 answer
364 views

How to add a fallback font to an existing Unity game?

I am trying to make a mod that will fix a game that failed to ship all used fonts with it. For example, this code point displays in Windows but not under Wine: ✔ U+2713 (The reason seems to be a ...
user2771324's user avatar
3 votes
1 answer
213 views

How Can I Match the Windows Cursor Latency with a DirectX Rendered Cursor?

My Win32/DirectX 11.1 project requires that I render the mouse cursor myself rather than use the system cursor. This is easy enough; however, I've found that there is a human-perceptible latency when ...
Matthew Elkins's user avatar
0 votes
1 answer
160 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 ...
AivanF.'s user avatar
  • 101
0 votes
0 answers
516 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: ...
crackanddie's user avatar
0 votes
0 answers
1k 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-...
Jason C's user avatar
  • 137
2 votes
2 answers
301 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 ...
StackBuddy's user avatar
2 votes
0 answers
121 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 ...
Seth Lamancusa's user avatar
1 vote
2 answers
924 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 ...
Kyto's user avatar
  • 31
0 votes
2 answers
8k 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 ...
Quantum Guy 123's user avatar
1 vote
2 answers
3k 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?
Roberto's user avatar
  • 11
0 votes
1 answer
3k 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 ...
Tomáš Zato's user avatar
0 votes
0 answers
470 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: ...
Tudvari's user avatar
  • 731
0 votes
0 answers
172 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: ...
Daros911's user avatar
  • 101
0 votes
0 answers
26 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 ...
Lizzie Yarwood's user avatar
0 votes
1 answer
253 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, ...
DerekLu's user avatar
0 votes
1 answer
200 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 ...
CodeMonkey's user avatar
0 votes
0 answers
67 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 ...
Nork's user avatar
  • 1
0 votes
1 answer
777 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 ...
Charanor's user avatar
  • 7,840
0 votes
0 answers
305 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 ...
AnkilP's user avatar
  • 1
0 votes
0 answers
83 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 ...
Jeffrey Witty's user avatar
0 votes
1 answer
262 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 ...
derek911's user avatar
0 votes
1 answer
202 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 ...
exuvo's user avatar
  • 1
1 vote
1 answer
113 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 ...
john_shreds's user avatar
1 vote
1 answer
316 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 ...
cwhakes's user avatar
  • 31
2 votes
1 answer
1k 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 ...
formatc2013's user avatar
2 votes
0 answers
1k 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 ...
Erel Segal-Halevi's user avatar
1 vote
1 answer
59 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....
tmighty's user avatar
  • 919
1 vote
4 answers
3k 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 ...
Erel Segal-Halevi's user avatar
0 votes
0 answers
140 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: ...
ruiyl's user avatar
  • 11
1 vote
1 answer
2k 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 ...
D-RAJ's user avatar
  • 113
0 votes
2 answers
4k 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, ...
Saturn's user avatar
  • 1,771

1
2 3 4 5
7