Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
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 ...
user avatar
27 votes
14 answers
10k views

Why is there a lack of games for Linux? [closed]

What is wrong with the Linux/*nix family for games? What makes the development of games for this platform too slow compared to Windows or even OS X?
uray's user avatar
  • 517
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 ...
the_naive's user avatar
  • 241
12 votes
1 answer
872 views

Finding asset files in Linux games

What is the usual method of storing 3D models, textures, sounds and scripts (e.g. Lua files) during development and in a release? I am developing a game with my friends in mainly C++; in the ...
Kristóf Marussy's user avatar
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 ...
rzrscm's user avatar
  • 160
10 votes
5 answers
5k views

Developing for iOS on Linux [closed]

I am looking for an engine or library to develop a game for iOS on Linux. High level, low level, GUI, no GUI, does not matter too much. I am really looking for anything. I'm not actually talking ...
user avatar
9 votes
6 answers
13k views

Library to load images into textures, Linux, C and OpenGl

I am looking for simple, self-contained C library for Linux to load images from files into OpenGL textures. The licence should be quite liberal: zlib, bsd, mit or something. I have found SOIL, however ...
8 votes
3 answers
5k views

How do game developers target multiple platforms (Xbox 360, PS3, PC and Linux)?

How do game developers target multiple platforms at once? For example, Xbox 360, PS3, PC and Linux. For 2D games, is it possible to also target the iPhone? I'm be interested in engines used (2D/3D, ...
sean2078's user avatar
  • 243
8 votes
4 answers
1k views

Why nearby triangles tend to disappear?

I've just enabled back face culling and I'm noticing a weird behavior: when all vertices of my triangle is outside the view and 2 of them is behind me (I think) the triangle disappears. So to see it, ...
Calmarius's user avatar
  • 661
8 votes
2 answers
5k views

GLSL Shader Editors for Linux

Are there any good IDE's for linux that lets us edit GLSL shaders and visualize their effect? Note : Shader Designer By Typhoon Labs is a good option but I am looking for alternatives as this ...
snape's user avatar
  • 699
8 votes
8 answers
4k views

What language and tools are good to start with for Linux game development? [closed]

I would like to start learning about game development and I would like to do it using Linux. My main experience has been with Java and a bit of C++, but that was for applications and not games. Now ...
oli206's user avatar
  • 189
8 votes
1 answer
2k views

Getting OpenGL hardware acceleration with SDL on Linux

I'm trying to use SDL + OpenGL but I don't believe hardware acceleration is working because the framerate for around 18000 polys is about 24fps on a quad core machine but is a hopeless 1-2fps on an ...
Robin Elvin's user avatar
8 votes
1 answer
2k views

Linux Game Engines [closed]

What Linux Game Engines are out there? Name, link, and intended use.
8 votes
1 answer
448 views

Architectural approaches to creating a game menu/shell overlay on PC/Linux?

I'm am working on a collection of games for a custom digital tabletop installation (similar to Microsoft Surface tables). Each game will be an individual executable that runs full-screen. In addition, ...
Ghopper21's user avatar
  • 185
7 votes
4 answers
3k views

Is there a sprite sheet creator that satisfies these requirements? [closed]

I'm looking for a decent sprite sheet packer. Features: Command line interface for Linux. Effective packing algorithm. Configurable padding between sprites in the sheet. Configurable fixed sprite ...
Alexander Gladysh's user avatar
6 votes
4 answers
4k views

Should the main game object be static in c++

I am creating a 2d platformer using SDL and I was thinking that my game object could be static, but I wasn't sure if this was a good idea. The pros (that I can see): Accessing settings options (such ...
Som_kun's user avatar
  • 63
6 votes
2 answers
7k views

How does one write to another process's OpenGL/DirectX context?

I want to write a short of chat client that display the messages in-game (OpenGL/DirectX), but I really don't know how to handle this. It is easy to write my client in my graphic context... but what ...
tyoc213's user avatar
  • 163
6 votes
1 answer
988 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
5 votes
3 answers
767 views

First Person Shooter game agent development

I would like to apply (program) the Artificial intelligence methods to create game bots for first person shooter games. Do you have any knowledge from where can I start to develop as a Linux user? Do ...
pacodelumberg's user avatar
5 votes
3 answers
863 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
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
5 votes
2 answers
631 views

Monogame [Linux] cannot resize screen

While working on a Monogame project on Linux (Arch to be exact), I found that I could not change the screen height away from the default 800 px, while I could easily, perfectly change the width to ...
Pip's user avatar
  • 1,454
5 votes
1 answer
8k views

Why does my GLSL 1.20 shader not work with an OpenGL 4.0 driver?

I'm just starting out with OpenGL on Linux. In order to write future-proof code, I explicitly wrote code for OpenGL 4.0 Core Profile in the first place, thus the shaders are GLSL 4.0. That worked ...
Stefan Majewsky's user avatar
5 votes
2 answers
658 views

Linux OgreXML model viewer

Is there an OgreXML model viewer for Linux? I know about OgreMax but apparently that's Windows only.
Bart van Heukelom's user avatar
5 votes
2 answers
5k views

How to hide assets from user? ( e.g.: a png file )

I think the title is quite self-explaining, still this is a big area I think, so let me drop a few words: I've got a simple experiment game project going, and I want to make sure, that the user isn't ...
p1100i's user avatar
  • 155
5 votes
1 answer
1k views

What is a reasonable terminal size across Linux distributions?

I'm working on a Curses-based roguelike; it should (and does) work in both Linux and Windows (various flavours of each). Currently, I'm enforcing a hard requirement of "your terminal size must be <...
ashes999's user avatar
  • 11.3k
5 votes
3 answers
2k views

Build a Unity asset bundle on linux?

I'm trying to generate an asset bundle on a remote linux machine and stream the bundle to a running Unity instance. Is it possible to download the same libraries Unity uses and compile on Linux?
Josh Elias's user avatar
5 votes
1 answer
649 views

How can i port my OpenGL game to linux? [closed]

I made a game with OpenGL 4.3(core profile) and C++. I used GLFW3 for window and context management. I am also using bunch of third party library which are also available for linux. What things do i ...
Ankit singh kushwah's user avatar
4 votes
2 answers
624 views

Linux Game Development Resources [closed]

Do you have any Linux-specific game development resources?
Dr. Snoopy's user avatar
  • 5,105
4 votes
2 answers
5k views

What Java library provides a high-level communication interface suitable for use in an action-game server?

I need to write a server for an action game, which needs fast communication with the client. There will only be one server, and I'll split the world in zones. The client will be written in Java using ...
Viktor's user avatar
  • 143
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 ...
frogatto's user avatar
  • 191
4 votes
1 answer
7k views

How can I resize SDL2 windows efficiently?

I guess resizable windows are not being optimized for in game development but still... The following piece of code demonstrates a problem I'm having: resizing the window is very slow. Basically the ...
cptG's user avatar
  • 43
4 votes
1 answer
138 views

Key events outside of an SDL application

I'm developing an app under C++ and SDL running in Ubuntu. I'm using the SDL events to handle the keypad buttons. My problem is that my app launch other programs and it should close they with a key ...
amusero's user avatar
  • 91
3 votes
1 answer
672 views

small independent game development on a virtual machine

I've been learning about OpenGL and SFML with c++ now for about 6-8 months, and would like to work on a small little personal game to put some of my skills to the test. Now I want to kill two birds ...
Need4Sleep's user avatar
3 votes
1 answer
5k views

Getting started with cross-platform game development [closed]

I am looking for a starting place to develop a crossplatform OpenGL game that runs on Mac, PC and potentially Linux. The difficulty is that I don't want to use an existing graphics library. I've ...
Josh Brown'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
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 ...
panzi's user avatar
  • 131
3 votes
1 answer
360 views

Packaging a Java game for Linux

I'm just about finished developing a small Java/Lwjgl-based game. For Windows users, I intend to use Launch4J to package the game into a nice .exe. For Mac users, I'll be using JarBundler to produce a ...
Zarkonnen's user avatar
  • 164
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: ...
Qubyt's user avatar
  • 53
3 votes
0 answers
208 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
3 votes
0 answers
484 views

hosting a windows game on a linux server [closed]

there! I am currently working on a game on Unreal 4, and although im still in early production(barely any code written, mostly visual assets at this point), i want to ask this now, so that i know how ...
Reaper9806's user avatar
2 votes
5 answers
4k views

How to make a simple escape the room game?

I want to make a very simple "escape the room" game. I was hoping for something that looks something like this. You would see images of some room and you click around to move or to add things to ...
User1's user avatar
  • 121
2 votes
2 answers
276 views

Web application interacts bi-directional with server program?

I want to write a web application to play chess against the engine Crafty. I'm not new to PHP and javascript, but must learn how to interact with a server process : how can a web application and/or (...
Roelof Berkepeis's user avatar
2 votes
1 answer
884 views

Is glxinfo saying that the 980 GTX doesn't support a 32 bit depth buffer?

I've been using the glxinfo command (glxinfo -v) to explore the supported framebuffer configurations. There are two values relating to depth, "depth" and "depthsize." According the source, it appears ...
Shadow503's user avatar
  • 178
2 votes
2 answers
802 views

A good beginners' game engine to run on linux [closed]

I am involved with a research that deals with 3D graphics. I am very new to 3D graphics. In my research I have to move a 3D object based on some information queried by processing a video. Viewer's ...
Niroshan's user avatar
  • 133
2 votes
1 answer
323 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
2 votes
1 answer
1k views

How can I fix these errors with Panda3D's sample projects?

I just installed the latest Panda3D packages on a Mint 12 32-bit virtual machine. Then I downloaded and configured Eclipse and tried to run the Asteroids sample project. The window is created properly....
lhk's user avatar
  • 408
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 ...
scientist man's user avatar
2 votes
1 answer
957 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
2 votes
1 answer
656 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