Questions tagged [linux]
Questions about game development on Linux operating system, for Linux or any other OS.
135
questions
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 ...
0
votes
0
answers
42
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 ...
0
votes
0
answers
45
views
Getting missing prefab error in unity
Getting the following error while loading a project on unity. I'm usung ubuntu
3
votes
2
answers
2k
views
Find force feedback device for joystick device
Because SDL 1.3 is still a long way coming, I implemented native force feedback (rumble) support for Aquaria
However, I could not find a way to find the corresponding event device (force feedback ...
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 | ...
0
votes
1
answer
204
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 ...
5
votes
3
answers
871
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 ...
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 ...
0
votes
0
answers
35
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 ...
2
votes
1
answer
65
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 ...
0
votes
1
answer
179
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 ...
2
votes
1
answer
325
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 ...
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 ...
1
vote
1
answer
281
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 ...
0
votes
1
answer
131
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 ...
-1
votes
1
answer
117
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.?
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 ...
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 ...
1
vote
1
answer
93
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 ...
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 ...
0
votes
1
answer
489
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 ...
0
votes
3
answers
1k
views
Anyone can suggest some Game Frameworks for GNU/Linux? [closed]
So I've been developing a little bit with XNA + C# in Windows, not really much: just some 2D stuff, but I've found that XNA is a really good framework.
I'm a GNU/Linux user, and I'm definitely ...
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 ...
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 ...
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 ...
0
votes
1
answer
659
views
Why does my SFML game cause screen tearing on Linux? [closed]
I wrote a little game of a bouncing ball, using SFML and Box2D.
On Windows, the graphics animate smoothly. However, on my Linux machine, the animation stutters randomly. To be precise, I get a ...
0
votes
0
answers
41
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 ...
0
votes
0
answers
284
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
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 ...
14
votes
1
answer
2k
views
How can I use the Kinect as a microphone in Linux?
I am using Ubuntu 14.04 LTS, and the Kinect camera has type Microsoft_Xbox_NUI_Sensor_043367545147-02-Sensor.
I can access the Kinect's camera from a Linux program ...
0
votes
1
answer
322
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, ...
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.
...
0
votes
1
answer
121
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 ...
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 ...
31
votes
1
answer
48k
views
Freeglut vs SDL vs GLFW [closed]
I need to port my game project from Android (written in C, OpenGL ES 2.0, thanks to NDK) to Windows and Linux platforms. Of course I will need to rewrite some platform dependent code, but for now I'm ...
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 ...
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....
1
vote
4
answers
5k
views
graphical interface when using assembly language
I want to learn a framework to use in assembly. I know that's not possible without learning the framework in C first. So I'm thinking of learning SDL in C and then teach myself how to interpret the ...
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 ...
6
votes
1
answer
992
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'...
8
votes
1
answer
2k
views
Linux Game Engines [closed]
What Linux Game Engines are out there? Name, link, and intended use.
10
votes
4
answers
19k
views
Is there a sound library for C to generate sound samples from code? [closed]
I'm working on an engine for a retro-style game in C. I'm looking for a sound library that would produce chip sounds from code...I want to make my own simple chiptune tracker for the engine to create ...
-2
votes
3
answers
282
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)...
0
votes
1
answer
884
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 ...
4
votes
4
answers
5k
views
Unity 5 Standard Assets for Linux / Ubuntu
Unity recently has released Unity3D Editor for Linux machines. But in its website there is no support for Linux / Ubuntu. As of Unity 5 standard game assets have been removed from the editor itself ...
3
votes
0
answers
410
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:
...
-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.
2
votes
1
answer
960
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
...
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 ...
1
vote
2
answers
858
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 ...