Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
5 votes
1 answer
652 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
0 votes
1 answer
822 views

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

Preface: Linux (Ubuntu 16.04 Gnome), C++11, SDL2, GLEW 2.0, OpenGL 4.5 Hello ladies/gents, My conundrum is this: How do I handle draw a repeated texture (sprite) as a single object, at various ...
Beau B.'s user avatar
  • 139
2 votes
1 answer
288 views

Rotating a Row of Textures

Preface: In Linux, using C++11, SDL2, GLEW, and OpenGL. Hello Ladies/Gents, I am reaching out as I'm stuck on a fairly simple problem that a decade out of school has further hindered. Specifically, ...
Beau B.'s user avatar
  • 139
1 vote
2 answers
643 views

Unity not opening in Ubuntu

I installed the latest version version of Unity for Linux from the official website, but when I try to launch Unity, it displays a blank dialog box. I waited for a long time, but nothing happens. ...
KVS's user avatar
  • 111
1 vote
1 answer
1k views

How to catch basic system events (such as input) in Linux/C++

As old and as standard as Linux/C++ is now, I would imagine there's an efficient method, even a library or three, for something as elementary as catching system events. The types of events I need are ...
HTDE's user avatar
  • 113
2 votes
0 answers
375 views

Swift gamedev options for linux [closed]

I recently tried out Swift. I found it to be awesome. But I'm unable to find any libraries for game development as I'm on Linux. Everything seems to be made for MacOS & iOS development. There ...
NightMare's user avatar
0 votes
1 answer
235 views

C & SDL: Unexpected Behaviour with Renderer

I'm creating a clone of the memory testing game SIMON. My program is simply four differently colored squares that light up one at a time in a random order. I wrote some code that lights up one square, ...
azurepancake's user avatar
0 votes
2 answers
759 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 ...
GameHog's user avatar
  • 31
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
0 votes
1 answer
119 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. ...
Hathor Gaia's user avatar
1 vote
1 answer
2k 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 ...
DhP's user avatar
  • 121
2 votes
1 answer
890 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
1 vote
1 answer
195 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) ...
Alexander C. Solon's user avatar
0 votes
1 answer
712 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. ...
PlatyPi's user avatar
  • 102
-1 votes
2 answers
2k 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 ...
AniMerrill's user avatar
2 votes
1 answer
87 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 ...
Lucien's user avatar
  • 1,146
1 vote
1 answer
121 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 ...
Luis Masuelli's user avatar
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
0 votes
0 answers
137 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....
GhostRavenstorm's user avatar
-1 votes
2 answers
455 views

Why am I having these errors, when opening my Unity project in Ubuntu?

I'm experiencing some trouble with the Linux build of Unity. I suspect that my Nvidia driver is producing this error, but I'm really not sure. I have an Nvidia GTX 860M, and until 2 days ago, I was ...
Max's user avatar
  • 483
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
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
1 answer
430 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.
Jean's user avatar
  • 1
5 votes
2 answers
633 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
1 vote
1 answer
2k 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 : ...
user3385993's user avatar
2 votes
1 answer
298 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 ...
Luis Rossell's user avatar
1 vote
2 answers
4k 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 ...
saloomi2012's user avatar
0 votes
1 answer
418 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 ...
Kazzatso's user avatar
2 votes
0 answers
166 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 ...
AureliusIndus's user avatar
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 ...
Ariel's user avatar
  • 101
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
0 votes
2 answers
932 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 ...
AliveDevil's user avatar
-1 votes
2 answers
247 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 ...
Aquarius_Girl's user avatar
-1 votes
1 answer
179 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 ...
o0'.'s user avatar
  • 3,370
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
-1 votes
1 answer
390 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:...
João Borrego's user avatar
1 vote
1 answer
739 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 ...
quartz's user avatar
  • 111
0 votes
1 answer
774 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 ...
Arun AC's user avatar
  • 115
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
1 vote
0 answers
671 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 ...
RamblingMad's user avatar
0 votes
1 answer
651 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 ...
James's user avatar
  • 153
3 votes
1 answer
673 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
1 vote
2 answers
4k 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. ...
Edward A's user avatar
  • 155
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
0 votes
4 answers
3k views

What are the main requirements to port a game to Linux [closed]

Steam for Linux is out today and I was surprised to see many games already being sold, which made me wonder what are going to be the difficulties for all those games to be ported to Linux. I broke ...
Roberto's user avatar
  • 750
2 votes
2 answers
3k 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 ...
JonnyRo's user avatar
  • 121
2 votes
1 answer
361 views

Flixel Development in Ubuntu/Linux

I've been trying to setup a development environment for Flixel on Ubuntu using this guide http://forums.flixel.org/index.php?topic=4545.0 but thus far have been unsuccessful mainly due to the guide ...
Jacque006'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
1 vote
1 answer
244 views

Unity3d generating a file in iOS and saving it on a linux machine

I've done a little research and don't know if the following is possible. At the moment I have created a small application in Unity that generates an XML file. This file will be used to help set up ...
N0xus's user avatar
  • 1,001
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