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

learn more… | top users | synonyms

0
votes
2answers
36 views

Irrlicht engine game wont compile on linux. Undefined refrences(opengl and xfree)

I'm trying to port over my game I'm developing to Linux. But when i compile i get a lot of undefined references to mostly functions that look like they belong to OpenGL. Most are titled gl... But one ...
1
vote
1answer
112 views

OpenGL Applications Bring computer to halt

Whenever I run any application that utilizes the OpenGL interface, my entire computer comes to a halt, but it doesn't do this when it utilizes the DirectX interface. I run both Linux (Ubuntu 15.10) ...
2
votes
2answers
2k 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
1answer
36 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 ...
5
votes
3answers
676 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 ...
1
vote
1answer
56 views

SDL2 linux fullscreen issue at lower-than-desktop resolution

Having a problem trying to get proper fullscreen in linux. I'm using 1440x900 on desktop. When i set SDL to use 1280x720 as fullscreen, it does change screen resolution. But if i drag the mouse ...
0
votes
1answer
24 views

How do I create an Ubuntu snap for a MonoGame application?

I've been going through the snapcraft documentation and examples and I'm still really confused about how to go about creating my snapcraft.yaml file. Basically I have a folder with my game in it. ...
0
votes
0answers
18 views

Can't alt tab back to SDL2 window with SDL_WINDOW_FULLSCREEN_DESKTOP flag set in Ubuntu

Good evening. I'm trying to build a fullscreen borderless game to run on Ubuntu using SDL2. I'm currently at a loss as to why I can't ALT+TAB back into my SDL2 program after I switch out of it. The ...
0
votes
1answer
91 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 ...
0
votes
1answer
30 views

MinGW Windows Cross-Compile Error

While I was developing my game on Linux (I'm using an ARM system), I decided that I want to cross-compile it to Windows. Yet, I get an error while I try to link Allegro (version 4.2) to the compiler. ...
0
votes
0answers
21 views

Why does LWJGL's CLPlatforms interface return null, and how can I change this?

I'm running Jeff Heaton's OpenCL example from https://github.com/jeffheaton/opencl-hello-world ; in hopes of using the information for terrain generation for another Java program later. I'm also ...
-2
votes
2answers
204 views

C++ Multi-Platform (Windows, Linux, Android) OpenGL(ES) Solutions or Tutorials? [closed]

I'm sorry if this has been asked recently and I'm not Googling it right, but I've been digging all week for something. I've got a game prototype I made in Unity, and I have some decent experience ...
0
votes
0answers
93 views

Monogame Vertex Shader Hassle

I'm currently creating a game in Monogame 3.4. I've written a relatively simple pixel shader in HLSL which works perfectly fine under Windows DX. When I use the same shader under Linux (OpenGL), ...
0
votes
0answers
31 views

Packaging JARs for Linux

I realise that this question exists but the answer doesn't explain how to create DEB packages and whether they're suitable. I'd like to package my Java 8 game for Linux. Most people don't have Java 8 ...
1
vote
1answer
86 views

Is Flash (Flash/Flex/AIR) a still maintained technology (either officially / 3rd party) suitable for Web Player (linux) and mobiles? [closed]

Today I use Flash Player 11 since it's the last one released by Adobe, for linux-based OSs. The same applies to Flex/AIR platforms: I use Flex 4.1.4 and AIR 2.6, while Windows and Mac systems have ...
5
votes
0answers
84 views

How can I record voice through using Kinect camera as the microphone?

Originally I intend to use kinect camera as the device for voice communication. But at least now I want to use it as the input device for recording a voice and play that voice in the same pc. How can ...
1
vote
0answers
25 views

Unreal Engine Ubuntu: Failed to import video, unknown file extension

I've been reading tutorials and guides on getting video file playback in Unreal. I have media player materials created and textures. I'm having issues importing video files to Content/Movies directory....
0
votes
0answers
46 views

Unity3d impossible to open / create project

i'm experience some trouble with the linux build of Unity3d. I suspect that my Nvidia driver give me some conflict, but i'm really not sure of this, so i'm asking: this is the error that i get in ...
0
votes
0answers
54 views

Ogre3d Code:Blocks Linux

I want to create a Ogre3d project at CodeBlocks at Linux. But the tutorial from OgreWiki doesn't show how to do it, it only shows how to compile Ogre3D at Linux. So anybody created project at Linux ...
0
votes
0answers
17 views

JavaX Package - GNU/Linux

When I run my JAR in GNU/Linux (Linux Mint), the following stack trace is returned. Exception in thread "main" java.lang.NoClassDefFoundError: javax/vecmath/Tuple3f at my.class.path.main(MyClass....
2
votes
0answers
176 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 ...
-2
votes
1answer
123 views

Unity and Linux [closed]

Is it slow to run unity with wine? And are there any plans for unity coming to the Linux platform. Since i now that it can create a build for Linux i wish it was coming for Linux as well.
8
votes
7answers
9k 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 ...
10
votes
1answer
441 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 ...
4
votes
2answers
4k 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 ...
5
votes
2answers
216 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 ...
0
votes
3answers
2k views

A good 2D game creator to Linux which requires no language knownledge? [closed]

Pardon me, I know it's important know a programming language to develop games, however I'm looking for a game creator to make games for Linux. Construct Classic from Scirra is a nice 2D game creator, ...
1
vote
1answer
953 views

Problem setting up OpenGL dev environment in Ubuntu 14.04

Currently I'm using this tutorial to get started with opengl.So when I try to compile the example program : #include <GLFW/glfw3.h> #include <thread> int main() { glfwInit(); std:...
0
votes
1answer
348 views

Why does my SFML game cause screen tearing on Linux?

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 ...
9
votes
4answers
7k 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 ...
3
votes
1answer
414 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 ...
1
vote
1answer
149 views

Input processing performance

I'm building a game using SDL in Linux platform. Now I want to read user input with SDL_GetKeyboardState, but my doubt is wich is the best way using a thread or a timer. I tried both and I think ...
1
vote
2answers
615 views

Why can't I load an image with a relative path in SDL2 on Linux?

When loading a texture in SDL2 the general procedure is this: SDL_Texture* texture = IMG_LoadTexture(renderer, "resources/images/image.png); However this doesn't work and I have to supply the WHOLE ...
0
votes
2answers
539 views

OpenGL UseProgram() fails

I have a rather strange exception on my application using OpenTK on Linux (ArchLinux with Mono 3.2.8) with GL.UseProgram(). I wrote a class to combine multiple files to one program: public sealed ...
0
votes
1answer
171 views

Fullscreen FPS slowdown in Linux [closed]

I've got a homemade game engine that supports both Windows and Linux using Win32 and Xlib, respectively. By default, the engine will create the window and then switch it into fullscreen mode. When ...
2
votes
0answers
98 views

How to create a custom installer for my game for PC/Linux/Macs? [closed]

How can I create a custom installer that integrates a product key unlocking feature or tells the distributor that the customer was able to access the product like the BMT Mirco payment processor. Or ...
3
votes
1answer
188 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 ...
1
vote
2answers
1k views

How do I bind a display from XCB to EGL with eglGetDisplay [closed]

I have been trying to set up an EGL session with a window that I created using XCB. I am not having much success. I keep getting the error: An EGLDisplay argument does not name a valid EGL display ...
5
votes
3answers
683 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?
-1
votes
2answers
168 views

Do I need threads in Hangman game? [closed]

I wish to implement a simple multiplayer Hangman game with the rule slightly bended. Rule: All the players have to guess the alphabets in the word at the same time. Whoever player guesses a correct ...
-1
votes
1answer
149 views

How can I use a Unity C# script simultaneously in a non-Unity Linux program?

I have a C# script inside a Unity project. I'd to both keep using the script in this Unity project, and to use it to compile a non-Unity Linux daemon. So I would basically need to create a new Main ...
8
votes
4answers
572 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, ...
-1
votes
1answer
191 views

Starting game development on linux [closed]

So I'm considering beginning doing some game development using Ubuntu, however I'm a bit lost when considering how I'm going to start. When I begun doing it on Windows, the choice was kind-of obvious:...
1
vote
1answer
251 views

opengl offscreen rendering in linux is slow [duplicate]

My opengl application runs at about 110 fps. The moment I add off-screen rendering, it slows down to 15 fps. I am using frame buffer objects and glReadPixels to render off-screen. I have searched on ...
0
votes
1answer
275 views

Timing Calculations for Opengl ES 2.0 draw calls

I am drawing a cube in OpenGL ES 2.0 in Linux. I am calculating the time taken for each frame using below function #define NANO 1000000000 #define NANO_TO_MICRO(x) ((x)/1000) uint64_t getTick() { ...
27
votes
14answers
3k 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?
1
vote
0answers
298 views

GLX/X11 Changing the rendering resolution

I have made a simple application that creates a window with an OpenGL 4.2 context and takes user input. I have implemented making the window go fullscreen with XRandR and can change the display ...
0
votes
1answer
498 views

Basic shadow mapping fails on NVIDIA card?

Recently I switched from an AMD Radeon HD 6870 card to an (MSI) NVIDIA GTX 670 for performance reasons. I found however that my implementation of shadow mapping in all my applications failed. In a ...
1
vote
2answers
2k views

Setting up openGL on Linux

I am trying to figure out how to set up openGL on Linux based operating systems (Ubuntu 12.10) without using any *GLUT libraries. I don't have much experience with developing on Linux distributions. ...
1
vote
1answer
996 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....