Skip to main content
6 votes

How can I make an update patch for a Unity game on Windows?

Specifically for Unity, you're correct that AssetBundles cannot update script code. You can use bundles for updating data, but any actual code changes will require a new version of the main game .exe ...
Sean Middleditch's user avatar
5 votes
Accepted

Avoid unreachable rooms in duengons

It depends on what algorithm you are using to generate your dungeon. There are algorithms which by their very nature ensure that everything is reachable: Algorithms which start with one room and then ...
Philipp's user avatar
  • 120k
5 votes

If Windows 10 store games aren't crackable, why continue to publish on Steam?

The current operating system stats on Steam tell us that only 35% of Steam users even use Windows 10. And of those who do use Windows 10, not everyone regularly use the Windows store to shop for new ...
Philipp's user avatar
  • 120k
5 votes
Accepted

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

It depends GLFW is just a wrapper around the Windows API calls, so whether you create a window using GLFW or create one using the API, the same calls are ultimately being made. However, a wrapper ...
Maximus Minimus's user avatar
3 votes

Is it possible to detect two different mice at the same time, and have their movements recorded separately?

Looks like it can be done using calls to user32.dll to the GetRawInput* methods. There is an example of how to do this in rawinput-sharp. I apologize for the link-...
HackSlash's user avatar
  • 131
3 votes

Game loop on windows

No, you are not wrong. Actually that's true - if there are too many events the else will never be run, or at least will not be run quickly enough. If your UI methods take too much time to process the ...
Marcin Skoczylas's user avatar
3 votes

Accessing DualShock 4 motion sensor in Windows (ideally Unity)

I've created a solution to this myself. It's called JoyShockLibrary, and reads from DualShock 4, Switch Pro Controller, and Joy-Cons. It's open source, MIT license, and works well, although Bluetooth ...
Jibb Smart's user avatar
  • 2,460
3 votes
Accepted

Publishing an XNA project on Windows Store

XNA games aren't directly support in the Windows Store. The "appx" file types are generated when building a Windows Store app (it's one of the project options when you are creating a new project). As "...
SaviorXTanren's user avatar
3 votes

How OpenGL works with Windows GDI in order to produce output image on computer screen?

The video adapter sends to the monitor a video buffer stored somewhere in video memory. This is something the adapter does, and it is responsibility of the device driver. I am talking about a single ...
Theraot's user avatar
  • 27.2k
3 votes

Will any program written with XLib work on any desktop environment (Gnome, KDE, etc.)?

Short answer: yes, XLib will work for the foreseeable future. Although in some enviroments there will be additional libraries required. You don't need to worry about that. Long answer: XLib XLib ...
Theraot's user avatar
  • 27.2k
3 votes

Is the Windows 10 Game Bar extensible?

make a product that starts alongside all games that support the game bar If you try to the open the Game Bar on somehting Windows doesn't recognize as a game, Windows will ask you if it is a game and ...
Theraot's user avatar
  • 27.2k
3 votes

is if statements important or do I need them

#if isn't the same as a regular if statement, it is what's called a preprocessor directive. In C & C++, preprocessor ...
Pikalek's user avatar
  • 12.4k
3 votes

Why there are more games in windows than linux?

81.76% of worldwide computers run Windows 13.49% of worldwide computers run macOS 1.68% of worldwide computers run Linux 3.07% - Other/ChromeOS Take a guess why developers prefer ...
Steve's user avatar
  • 31
3 votes

Synchronizing with monitor refreshes without vsync

In OpenGL you can control the swap interval of your application, which will limit the frame swap to the refresh rate of the monitor (v-sync). However, the user can override this by disallowing ...
Ian Young's user avatar
  • 2,649
2 votes

Kinect for Xbox One (+ adapter) and Windows 10

Yes, I can confirm that the second generation Kinect works with Unity on Windows 10. I've worked on two game projects that use this setup: Glimpse and Pixelate (both were originally developed on ...
DMGregory's user avatar
  • 135k
2 votes

How do I change a LÖVE2D game executable's icon?

The steps below are also covered in a video tutorial (icon topic starts at 2:22). Create an .ico file using GIMP, you can use the game.ico or ...
qubodup's user avatar
  • 124
2 votes

Can I build cross platform executables with Unity?

I think the actual answer you are looking for is "sort of ... in a way". The way that C# works is less like normal (native) executables that you would run on your Linux or windows machine, and more ...
prushik's user avatar
  • 186
2 votes
Accepted

How to handle Japanese on Windows and Linux using SDL_ttf and C++?

I'm an idiot. In C++, the compiler knows what a u8"" string literal is, and will convert that string literal appropriately to an UTF-8 compatible string. And ...
tom_mai78101's user avatar
2 votes

How can I port my Gear VR app (Java, OpenGL ES) to Unity?

Using native OpenGL functionality in Unity is going to be tricky. You might be able to get this to work on one platform with some dirty hacking, but I doubt you will manage to do it in a portable way. ...
Philipp's user avatar
  • 120k
2 votes
Accepted

Why are Mac versions of games larger in filesize than Windows versions?

I'd suspect that many of these games are using Unity, as it's a popular choice for indie developers on itch.io (my own itch games included) Scripting in Unity uses Microsoft's .NET framework, a ...
DMGregory's user avatar
  • 135k
2 votes

Vibration/Rumble with PS4 Pad and LPDIRECTINPUTDEVICE8

Windows lacks DirectInput support for DS4 gamepads. In general there's no standard way to do haptics for HID gamepads, and the DS4 isn't even really a standard HID gamepad. To get this working in ...
nondebug's user avatar
  • 156
2 votes
Accepted

Why there are more games in windows than linux?

Windows has tranditionally been, and still is, highly attractive for Game developers while Linux (except for mobile phones) is highly unattractive. Love Windows or hate it, but Windows has the ...
Damon's user avatar
  • 1,384
2 votes

Do I need multiple exports from Game Maker to support Windows versions above 7?

I believe windows includes all the versions of windows, Windows 8 build is for functions specific to the windows 8 platform
Miroslav's user avatar
2 votes

FormatMessage not working for HRESULTs returned by Direct3D 11

TL;DR: The short answer is that you should be using FormatMessage, but you should also be using Windows 8 or later. With Windows 7, the OS was never updated to ...
Chuck Walbourn's user avatar
2 votes
Accepted

Cannot open a package from the Unity Asset Store website

I did not find a solution, but I found a workaround: In the Unity website, click "Add to My Assets"; Go to the Unity editor; Open the Asset Store window; Click my initials (at the top-right corner; ...
Erel Segal-Halevi's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible