Skip to main content
7 votes
Accepted

How Many Threads is 'Too Many'?

What matters is not the number of threads, but their CPU time Probably you do not need your threads to have full utilization. If you do, get better hardware. In fact, you can use CPU utilization as ...
Theraot's user avatar
  • 27.3k
5 votes
Accepted

What is the shortcut to rename stuff in Unity on Linux?

There's a way to just custom make what you need to do. Put the following code inside a script with the same name (doesn't have to be on a game object). ...
John Hamilton's user avatar
5 votes
Accepted

How to install game with dependencies on Linux?

Standalone game For Linux, SDL suggests to download the source code, compile it, and include the relevant files as part of your game. The main information can be found on the official site SDL2 - ...
Tom Tsagkatos's user avatar
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

Unity not opening in Ubuntu

You report a 128Mb ATI Radeon 3400 HD. While I find that model did have the DirectX capabilities required as per the official system requirements page, the Linux version appears to be listed with ...
Gnemlock's user avatar
  • 5,283
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.3k
3 votes
Accepted

Memory usage of simple SDL2 program grows linearly

Oh looks like all this happened just because I compiled this in address sanitizer mode. The program is keeping track of every block of memory ever allocated or freed for as long as the program is ...
SuperNoob's user avatar
2 votes

Using Smartphone as a steering wheel on Linux

Check out node-virtual-gamepads. It does almost what you want (doesn't seem to have accelerometer support yet). From its blurb: This nodejs application provides the possibility to use your ...
congusbongus's user avatar
  • 14.9k
2 votes

OpenGL: Better Approach to Repeating Sprites (e.g. terrain)?

I'm about 2 questions ahead of you in my own OpenGL journey, but I'm starting to get a handle on things now. My project started in Python and then I ported to Javascript, and I'm not using SDL so it's ...
MalphasWats's user avatar
2 votes

Is there a stable Unity release for linux?

No. At this time the Unity site still refers to the Linux editor as an "experimental" Beta feature. There is not a stable release. The latest Linux builds, release notes, and known issues are ...
DMGregory's user avatar
  • 136k
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

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

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

Why Epic don't release a pre-compiled binary tarball for Linux?

I don't know Epics specific reasoning, but the usual reason for not making binaries for "Linux" is that there is to much variation in the ecosystem and making one makes people think it should work out ...
CKLucifel 's user avatar
2 votes

How to make the player unable to change some of the game elements?

You can use cryptography. But doing that in a way that actually prevents people from creating spells requires that you do not ship the private key to users, which implies either an internet server, or ...
Ryan1729's user avatar
  • 714
2 votes

How can I remove Unity Hub in Ubuntu?

from https://docs.unity3d.com/hub/manual/InstallHub.html#install-hub-linux Uninstalling the Hub: To remove the Unity Hub from the system, run the following command: ...
Maciek Woźniak's user avatar
2 votes
Accepted

Linux Game Development - Dependency Management

Is bundling legal? That depends on the license terms of the library. For example, the GPL says that if you use a GPL-licensed library then your whole game must be licensed under the GPL, while a LGPL-...
Philipp's user avatar
  • 121k
2 votes

How to temporarily set additional system environment variable only in 'play' mode inside godot editor?

Seems the solution that works so far is to write my own shell script. Here's the script: ...
ArchBug's user avatar
  • 21
2 votes

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

One workaround for Wine is to copy Segoe fonts (Segoe UI symbol for this code point) to Wine. Unity Editor manual mentions "hard-coded global list of fallback fonts" but does not tells the ...
user2771324's user avatar
2 votes
Accepted

Unity on Linux dosen't show editor panels

I have found the problem. The panels are out of the screen, that's why I can't see them. I you use Kubuntu, you can hold your mouse to the top left corner of your screen and see all open windows. ...
scientist man's user avatar
2 votes

How to install game with dependencies on Linux?

AppImage A possible cross-distro solution is to use AppImage format, which allows to easily bundle all your resources and dependencies into a single directly executable file needing no installation. ...
val - disappointed in SE's user avatar
2 votes
Accepted

Running a standalone Godot application on a Yocto 2.6 system with OpenGL3.0/ES2.0 hardware

Based on this article from the Godot devs in 2021, you might be better off with Godot 3: So, GLES2 support is effectively dead in Godot? Not necessarily. It will be kept alive in two ways: Godot 3.x ...
Pikalek's user avatar
  • 12.5k
1 vote
Accepted

Linux Mint Godot window when ran very small

I needed to enable DPI in my display menu
John Tobey's user avatar
1 vote

Unreal Engine Linux Support

The Unreal Engine supports Linux OS. The official UE4 documentation contains a section that describes the installation procedure for Linux OS.
Marino Klisovich's user avatar
1 vote

Creating a game on Linux with SDL and distributing it

If you need a single executable file for the game that doesn't rely on other shared libraries being present, then what you want to do is to create a 'static' compilation. Whether or not this is ...
ttbek's user avatar
  • 111
1 vote

How can I remove Unity Hub in Ubuntu?

Try deleting the following directories: /home/{your_user_name}/.config/UnityHub /home/{your_user_name}/.config/Unity Hub
Rishi Rajput's user avatar
1 vote

Unity3d crash on Launching on Ubuntu

"Running without SUID sandbox" -- I've had this too. You need to make sure you have full permissions (777) of the Unity folder and its subfolders and files contained within them.
Tony's user avatar
  • 46
1 vote
Accepted

Linking Unreal Engine with OpenCV libraries built with RTTI on Linux

I wasn't able to mix the RTTI and non-RTTI definitions but I was able to get Unreal to work with OpenCV on Linux. I did this by disabling the FLANN features. This can be done via a cmake switch. ...
DubiousPusher's user avatar
1 vote
Accepted

Can DDS be used in OpenGL in Linux without license/patent issue?

There is no disk texture format that is standard for OpenGL, but the DDS data format is relatively easy to read in and use in OpenGL since DDS is essentially a wrapper for compressed textures and the ...
Jack Aidley's user avatar
  • 2,146

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