Questions tagged [linux]

Questions about game development on Linux operating system, for Linux or any other OS.

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

Godotsteam initialization on Linux

I have a problem in getting godotsteam running on my linux OS (Zorin OS). Here is what I have done so far: I have downloaded godosteam addon for using it on godot 4.1.2 from the github official page ...
MAGS94's user avatar
  • 157
0 votes
0 answers
22 views

How can I map controls of an existing Unity application, when no UI is provided?

I have an Unity application, that someone made for me in the past. It is provided as single binary file for Linux in this case. It features a very simple "launcher" which let me select the ...
dronus's user avatar
  • 101
0 votes
0 answers
46 views

Unreal 5.3 ignores changes in Visual Studio Code

I’m using Unreal 5.3 on Ubuntu 23.04 “Lunar.” I’m not using Windows (I really can’t stand it), and there is no Visual Studio on Linux. (It's not even supported by Wine.) But we have VS Code, the ...
eje211's user avatar
  • 101
0 votes
0 answers
48 views

Getting missing prefab error in unity

Getting the following error while loading a project on unity. I'm usung ubuntu
Vamsi Shankar's user avatar
5 votes
3 answers
882 views

How to install game with dependencies on Linux?

I am creating a game using C and some libraries. I wish to not require my users to download anything but the game as most games are self contained. What is the usual process for compiling and ...
Lead Vaxeral's user avatar
0 votes
0 answers
36 views

I am unable to launch unreal engine with epicassetmanager

When I first installed epic asset manager on my linux machine I could use unreal engine perfectly, but now when I launch nothing happens. It says it has launched and nothing appears in the log. I have ...
sprostopia's user avatar
2 votes
1 answer
66 views

Unity on Linux dosen't show editor panels

I've recently installed Unity Hub on my Kubuntu 22.04 installation with the unofficial Appimage. I have tried this with the unityhub package too, and still have the ...
scientist man's user avatar
0 votes
1 answer
181 views

How to debug Unity/mono code on Linux/VsCode

I am new to Unity and I have been fighting with VSCode and debugging. I am trying to attach a debugger to Unity to test some code that run in the editor without running the app ( kind of Unity ...
Francesco's user avatar
  • 127
1 vote
0 answers
58 views

Garbled text and music - due to Steam Linux runtime change?

My team and I released our game on Steam last year for Windows, Mac, and Linux. The game is written in C++ and uses SDL2, including SDL2_image, SDL2_ttf, and OpenGL for graphics. Around the middle of ...
Nicolas Ford's user avatar
1 vote
1 answer
287 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
0 votes
1 answer
134 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
2 votes
1 answer
330 views

Memory usage of simple SDL2 program grows linearly

I am a newbie in SDL2 and I was testing an example code of Lazy Foo SDL tutorial just out of curiosity. The program renders an image named x.bmp living in the same folder as the program. Here’s the ...
SuperNoob's user avatar
-1 votes
1 answer
119 views

Can I use Libgdx to create a game that runs on multiple platforms?

I created my first game using Libgdx and Android Studio. The game runs smoothly on my Android phone. How can I run it on an Apple phone with IOS or a computer with Linux etc.?
Luca Leone's user avatar
0 votes
1 answer
57 views

How can I make pygame use a specific input device as the mouse?

I am working on (not really a game, but it's using pygame so I hope my question is on topic here). The program appears to be looking at /dev/input/event0, which is ...
Omar and Lorraine's user avatar
1 vote
1 answer
99 views

Linux Game Development - Dependency Management

I'm working on a game that I'm trying to build for Linux and distribute via Steam. At present, there are some dependency issues and I'm wondering about the best approach: Bundling .so files with the ...
thesupersoup's user avatar
0 votes
1 answer
490 views

Unity Hub on Linux "Not enough space" download error

I just downloaded and installed the official Unity Hub app on my Ubuntu machine. However, when I try to download the latest version of the editor, an error message pops up: ⚠ There is not enough ...
liggiorgio's user avatar
  • 4,597
0 votes
1 answer
206 views

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

I'm learning godot with a laptop that has AMD discrete GPU. My OS is Arch Linux so if I want to use discrete GPU I have to set system environment variable ...
ArchBug's user avatar
  • 21
0 votes
0 answers
80 views

High Frequency Polling And Handling Fuzzy Inputs

I'm developing a FPS game and I'm considering polling at a high frequency on a separate thread. This decouples the game loop and reading input. I get sub-frame samples and can process those samples ...
Jesse Lactin's user avatar
0 votes
0 answers
42 views

How do I install the Unity Editor on Linux?

I have installed Unity trough the Hub but still need the editor. I cannot for the life of me figure out how to do that? I'm running a Ubuntu based Linux system. I already have MonoDevelop installed I ...
Neil Meyer's user avatar
0 votes
0 answers
286 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
2 votes
1 answer
315 views

Water shader in Unity3D not working on some Linux distributions/some Mac OS?

I've got reports from some Linux users that the game's water isn't rendered on his machine. 3 example operating systems: Ubuntu 20.04 (with kernel 5.4.0-54-generic x86_64 Linux 4.15 Linux Mint 19.2 ...
Tudvari's user avatar
  • 721
0 votes
1 answer
63 views

Linux Mint Godot window when ran very small

I am running my game on Linux Mint 20 Cinnamon. When I run my game I get a very small window that is about 1 pixel tall. This happens across all projects. I have tried uninstalling Godot and ...
John Tobey's user avatar
0 votes
1 answer
325 views

How to make this C++ game server cross platform? [Focusing on Ubuntu compatibility right now] [closed]

The question's description will evolve depending on requested information or evolution of answers. I made this C++ server for a game, which works on Windows, and would like to make it cross-platform, ...
Mithrandir's user avatar
1 vote
1 answer
97 views

Unreal Engine Linux Support

I use multiple game Engines, but havn't used Unreal engine for quite a while, Now with the recent changes in Unreal Engine there are quite some interesting features which would be interesting to use ...
TeD van Loon's user avatar
1 vote
1 answer
2k views

Creating a game on Linux with SDL and distributing it

TL, DR: Will I be able to get a single .exe file which will work smooth in a PC which does not have SDL or so installed ever. If not, how close will be the closest ...
muyustan's user avatar
  • 111
1 vote
0 answers
70 views

Irrlicht Code::Blocks project fails to build on Linux machine

After downloading the latest Irrlicht version (1.8.4) and setting it to compile for Linux machines, I decided to try it out in Code::Blocks IDE. The build failed. ...
Marino's user avatar
  • 11
0 votes
1 answer
122 views

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

On linux, the 'recommanded' way of installing ue4 on linux is building the engine from github source. It is very time comsuming. For each new version, I need serveral hours to rebuild it. Why don't ...
Tianchen Tang's user avatar
0 votes
0 answers
130 views

Fresh new MonoDevelopment install "assembly not found for framework .NET Framework 4.5"

I'm using Ubuntu 18.04.4 LTS and I went through the instructions on this page: https://www.monodevelop.com/download/ very specifically, (yes, I made sure to use the steps for the correct operating ...
user136358's user avatar
0 votes
0 answers
2k views

Running Unity Build through Command line

I recently developed a game in unity and would like to build it to a standalone application using the command line. Is there a way to do that? Specifically, without opening the Unity Editor how can ...
Apoorv Jain's user avatar
3 votes
1 answer
107 views

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

I am making a text turn based RPG fighting game in which you create your own spells. You also share them as JSON files with your friends. Sharing is required to win. The game is designed so that it ...
Spowmtom's user avatar
1 vote
2 answers
9k views

How can I remove Unity Hub in Ubuntu?

I installed Unity Hub 1.4.0 and it works well. For now I want to update the version of Unity. I need to install hub 2.0.0. But when I download the 2.0.0 hub and intsall it always link to 1.4.0 and I ...
daohu527's user avatar
  • 133
0 votes
1 answer
1k views

Game runs in UE4Editor but not standalone

I have just completed these instructions to build and run UE4Editor for Linux. I created a new C++ project and in the editor I hit the Launch button and after a while it compiled and ran successfully....
spraff's user avatar
  • 105
0 votes
1 answer
1k views

Unity3d crash on Launching on Ubuntu

I have a problem that bugged me for quite some time now I'm trying to Install Ubity3d on Ubuntu I Followed some instructions that i've found after some research I downloaded and installed UnityHub and ...
Mohamed Gaber's user avatar
6 votes
1 answer
993 views

Linking Unreal Engine with OpenCV libraries built with RTTI on Linux

Unreal Engine has a plugin for integrating with OpenCV. Currently that plugin works on Windows. I'm trying to modify this plugin to work on Linux. I've worked through many issues but I have one I can'...
DubiousPusher's user avatar
-2 votes
3 answers
283 views

Why there are more games in windows than linux? [duplicate]

I cannot comprehend why there are so many games available for windows and so few for linux in comparison. Why is the main reason, is it a technical or business reason ? Are Windows libraries (directx)...
eli.rodriguez's user avatar
0 votes
1 answer
886 views

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

Is there a 'standard' for OpenGL game creation intended for both Windows and Linux? I understand DDS is the DirectX standard (or, at least, it appears to be). Is there one that does not have potential ...
Beau B.'s user avatar
  • 139
3 votes
0 answers
411 views

SFML.NET DLLNotFoundException with dll.config files in project

I am trying to run SFML.NET on arch linux and I have two dll.config files in my project called sfmlnet-graphics-2.dll.config and sfmlnet-window-2.dll.config. sfmlnet-graphics-2.dll.config: ...
Qubyt's user avatar
  • 53
-1 votes
1 answer
55 views

Is there a stable Unity release for linux? [closed]

I am doing some machine learning and need to run unity on linux but didn't come across the stable release, if anyone is working on unity on linux, please point me towards a stable release.
NAnn's user avatar
  • 339
2 votes
1 answer
964 views

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

In SDL_ttf, there are a few functions provided that handles non-ASCII string literals, such as: TTF_RenderUNICODE_Solid ...
tom_mai78101's user avatar
3 votes
0 answers
210 views

timing rendering to monitor screen update

I have an application with a very light rendering loop, taking a predictable and small time to execute. Right now, I have two solutions. The first solution uses Vsync: after a screen update, my ...
low latency's user avatar
1 vote
2 answers
860 views

Can I build cross platform executables with Unity?

If I create a C# console application in Monodevelop and build it I can run it by typing: ./executableName.exe or using Wine. (I am using Ubuntu Linux) I assume that this means that C# .exe files ...
xuwenbuwer's user avatar
0 votes
2 answers
169 views

Is there a way to do local multiplayer on a combination of Windows/Ubuntu computers?

So far I've tried Bluetooth but it doesn't appear to work on either windows or Ubuntu (for this use-case; it can connect to printers fine). I've also looked up USB-bridge-cables, but from what I’ve ...
some idiot's user avatar
0 votes
1 answer
1k views

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

I am using Unity on Ubuntu 16.04 and I can't rename objects or assets using the F2 key as I could when I was using Windows. What is the shortcut on Linux then?
xuwenbuwer's user avatar
2 votes
1 answer
127 views

C++11 & Efficient Networking Client<->Server<->"Zone(s)"

I am building both an engine and a networked game at once because I'm completely insane. The original design/plan was to use internal Unix sockets for each "zone" for server<->zone communication, ...
Beau B.'s user avatar
  • 139
1 vote
0 answers
211 views

Linux: blit image on screen without stuttering at a stable frame rate

I'm working on a very simple game, and one of the project goals is to minimise the use of libraries. I'm drawing every frame into a buffer, which is then displayed using ...
Ivan Ivanov's user avatar
0 votes
1 answer
637 views

Function call time

I'm making a game and I want an update method to be called every 120th of a second. I've looked up timers but they start the timer after the function has returned, but I want the timer to start when ...
William Thompson's user avatar
5 votes
1 answer
3k views

How Many Threads is 'Too Many'?

I writing this as I have run into a dilemma that I cannot readily answer. Specifically, how many threads is too many? Background tl;dr: Writing a game (Surprise.) C++11, all server-side bits ...
Beau B.'s user avatar
  • 139
0 votes
1 answer
1k views

Direct3D11 Depth buffer problem

Encountered a strange error when using Direct3D11, feature level 10.0. If the depth buffer texture is created with the format DXGI_FORMAT_R24G8_TYPELESS, bind flag D3D11_BIND_DEPTH_STENCIL | ...
vlad's user avatar
  • 1
2 votes
1 answer
659 views

Using Smartphone as a steering wheel on Linux

I am making a car simulation game, however, I find it being inefficient and difficult to test the simulation realism and accuracy via keyboard or even joystick control. I need a steering wheel ...
Adrians Netlis's user avatar
0 votes
1 answer
827 views

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

I'm making an application that uses Win32 API on Windows but I want to support linux distros too. Some people say linux doesn't have a native GUI API like Win32 API of Windows. But I found XLib and ...
2. Elmırettin's user avatar