Questions tagged [windows]
Topics about games made for Microsoft Windows products.
325 questions
0
votes
0
answers
79
views
0
votes
1
answer
221
views
Need help on structuring my window class and game class
I'm trying to create a simple-ish game/engine/framework thing in C++, and I'm trying to come up with my own code instead of following a tutorial so I can learn to do it in a freer and more hands-on ...
0
votes
1
answer
334
views
How to deploy SDL2 game on Steam/Windows — what do I do with the dll?
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 ...
1
vote
1
answer
320
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?
2
votes
1
answer
344
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-...
1
vote
1
answer
1k
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 ...
0
votes
0
answers
90
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 ...
0
votes
0
answers
972
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 ...
2
votes
1
answer
474
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 ...
1
vote
0
answers
77
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 ...
0
votes
1
answer
55
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'...
0
votes
0
answers
228
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 ...
0
votes
2
answers
3k
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:
...
0
votes
1
answer
318
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 ...
0
votes
1
answer
477
views
0
votes
0
answers
61
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://...
0
votes
0
answers
614
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-...
1
vote
0
answers
793
views
Why is processing the Windows message queue so slow?
PeekMessage, TranslateMessage, and DispatchMessage often take a long time (sometimes more ...
1
vote
1
answer
523
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 ...
3
votes
1
answer
384
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 ...
0
votes
1
answer
272
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 ...
0
votes
0
answers
723
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:
...
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-...
2
votes
2
answers
391
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 ...
2
votes
0
answers
177
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 ...
2
votes
2
answers
1k
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
2
answers
10k
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 ...
1
vote
2
answers
4k
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
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 ...
0
votes
0
answers
566
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
0
answers
212
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
0
answers
28
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
1
answer
324
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
1
answer
267
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
0
answers
115
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
1
answer
1k
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
0
answers
356
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
0
answers
99
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
1
answer
355
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
1
answer
276
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
1
answer
177
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
1
answer
465
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
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
...
2
votes
0
answers
2k
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
1
answer
103
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
4
answers
4k
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
0
answers
184
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:
...
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 ...
0
votes
2
answers
5k
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
1
answer
94
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 ...