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

learn more… | top users | synonyms

0
votes
0answers
19 views

Issue setting a MonoGame project from scratch on linux [closed]

I'm using monodevelop 5.1, along with MonoGame 3.2. This is all in Ubuntu 14.04. Since I wasn't able to add the MonoGame template to monodevelop (maybe because my mono runtime has been compiled from ...
0
votes
1answer
55 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
59 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 ...
0
votes
0answers
58 views

Sometimes my game runs fine, other times it's shaky, why?

I'm trying to learn how to make games. I just did this very simple 3D game where you control a cube that shoots at incoming cubes. Sometimes I start the game and it runs smoothly from start to end. ...
0
votes
1answer
60 views

SFML Stuttering issue with Linux

I wrote a little game of a bouncing ball, using SFML and Box2D. When running on Windows, the graphics animate smoothly. The problem is on my Linux machine. The animation stutters randomly. To be ...
3
votes
1answer
79 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 ...
0
votes
2answers
154 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 ...
-1
votes
2answers
148 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
88 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
308 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
96 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 ...
1
vote
1answer
107 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
126 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() { ...
5
votes
3answers
252 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
vote
0answers
178 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
269 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 ...
3
votes
1answer
227 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
0answers
56 views

Appropriate 3D Framework for procedural game (linux and mobile) [closed]

I'm building a game where both gameplay AND assets are primarily based on procedural generation of rules. Asset features; like colors, meshes, and textures, are associated with game rules, which will ...
0
votes
2answers
1k views

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

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, ...
0
votes
2answers
971 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. ...
3
votes
1answer
219 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 ...
-1
votes
4answers
422 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 ...
1
vote
2answers
552 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 ...
2
votes
1answer
232 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 ...
5
votes
4answers
1k 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 ...
1
vote
1answer
137 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 ...
4
votes
1answer
107 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 ...
2
votes
2answers
166 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 ...
8
votes
1answer
272 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, ...
3
votes
2answers
1k 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 ...
1
vote
1answer
133 views

running GL ES 2.0 code under Linux ( no Android no iOS )

I need to code OpenGL ES 2.0 bits and i would like to do this and run the programs on my desktop for practical reasons. Now, i already have tried the official GLES SDK from ATI for my videocard but ...
0
votes
3answers
993 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 ...
15
votes
1answer
12k views

Freeglut vs SDL vs GLFW

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 depended code, but now i stuck ...
2
votes
4answers
1k 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 ...
0
votes
3answers
724 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 ...
0
votes
1answer
832 views

SDL mouse wheel not picking up

Running Ubuntu 11.04, SDL 1.2 trying to pickup mouse wheel up/down movement with this (stripped down) code: int main( int argc, char **argv ) { SDL_MouseButtonEvent *mousebutton = NULL; ...
6
votes
4answers
1k 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 ...
0
votes
1answer
163 views

What kind of gaming platforms for Linux are available? [closed]

Which libraries/platforms are available on Linux to start game development?
10
votes
5answers
4k views

Developing for iOS on Linux

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 ...
4
votes
1answer
3k 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 ...
1
vote
1answer
784 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 ...
8
votes
2answers
3k 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 ...
4
votes
2answers
2k 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 ...
10
votes
2answers
302 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 ...
1
vote
1answer
166 views

optimal pixel-read back strategy

I need to render certain scenes and read the whole image back in main memory for further processing which is not suitable for rewriting into shaders of CUDA, and saving to disk. I've search for this ...
-4
votes
1answer
2k views

C# vs Java for Cross-Platform Game Dev [closed]

What would be better for PC (Windows, Linux, Mac) games? I know Java is more mature/older and has a giant user base, but I see C# (Mono) slowly rising and showing that it has a growing user base as ...
2
votes
1answer
589 views

How can I convert .X files from text to binary form?

Is there a tool for Linux (preferably a command-line tool) that can convert from the .x text format to the binary format? I wish to use this format with Irrlicht but the text format is loading very ...
4
votes
2answers
2k 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 ...
3
votes
1answer
3k 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 ...
1
vote
0answers
202 views

Does anybody know any Twitch FPS games that allow you to extensively customize individual bot profiles (OpenArena is one example) [closed]

Specifically I would like to mess with the idea of giving each bot a specific "personality" so to speak. Open Arena provides this functionality, and I'm assuming that Warsow/Nexiuz (Xonotic?) may ...