Hot answers tagged

7 votes
Accepted

How Many Threads is 'Too Many'?

What matters is not the number of threads, but their CPU time Probably you do not need your threads to have full utilization. If you do, get better hardware. In fact, you can use CPU utilization as ...
  • 18.9k
6 votes
Accepted

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

It's important to note that glxinfo -v only reports the supported values for the default OpenGL framebuffer, the one that represents the visible screen itself. It'...
5 votes
Accepted

What is the shortcut to rename stuff in Unity on Linux?

There's a way to just custom make what you need to do. Put the following code inside a script with the same name (doesn't have to be on a game object). ...
4 votes
Accepted

Monogame [Linux] cannot resize screen

It seems that my bug report on Github has been responded to. If this is being read before the next official version is released, this fix will most likely contained in the development branch of the ...
  • 1,444
3 votes

Unity not opening in Ubuntu

You report a 128Mb ATI Radeon 3400 HD. While I find that model did have the DirectX capabilities required as per the official system requirements page, the Linux version appears to be listed with ...
  • 5,175
3 votes
Accepted

How can I resize SDL2 windows efficiently?

First, on Linux it appears to matter what Window Manager and Compositor you are using. WindowMaker with opaque windows enabled (not the default) was still fast, the wire windows are always fast ...
3 votes

Will any program written with XLib work on any desktop environment (Gnome, KDE, etc.)?

Short answer: yes, XLib will work for the foreseeable future. Although in some enviroments there will be additional libraries required. You don't need to worry about that. Long answer: XLib XLib ...
  • 18.9k
3 votes

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

I'll interpret your question this way: In the context where I want to produce stuff, should I keep on making games with Flash given the current situation? From experience, if the publisher of an ...
  • 15.8k
3 votes

Unity 5 Standard Assets for Linux / Ubuntu

I had the same problem using Unity3D for Linux. I installed the Standard Assets by downloading the Window version of the standart assets (.exe), installed it with Wine and then copy the folder ...
  • 31
3 votes
Accepted

Unity 5 Standard Assets for Linux / Ubuntu

According to that article, the link to the download is there. The link is: Unity Editor 5.1.0f3 For Linux. It is considered 'experimental'. there are only options for Windows and OS X, nothing for ...
  • 148
3 votes

Why there are more games in windows than linux?

81.76% of worldwide computers run Windows 13.49% of worldwide computers run macOS 1.68% of worldwide computers run Linux 3.07% - Other/ChromeOS Take a guess why developers prefer ...
  • 31
2 votes
Accepted

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

It's possible that you're running the executable in a different directory than the one that contains your resources folder. If you need to change the directory ...
  • 4,863
2 votes

Monogame [Linux] cannot resize screen

I thinks this is the same bug I found when experimenting with MonoGame to decide if I will use C#/MonoGame rather than C++/Various Libraries. I suggest the following work around: try to change the ...
2 votes

Unity and Linux

I dealt with this issue and found out that at the moment Unity3d is not coming on Linux. I'm using Ubuntu Trusty Tar, running unity 5.02 with Wine under PlayOnLinux. It works perfectly. I will quote ...
  • 1,444
2 votes

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

I'm about 2 questions ahead of you in my own OpenGL journey, but I'm starting to get a handle on things now. My project started in Python and then I ported to Javascript, and I'm not using SDL so it's ...
2 votes

Using Smartphone as a steering wheel on Linux

Check out node-virtual-gamepads. It does almost what you want (doesn't seem to have accelerometer support yet). From its blurb: This nodejs application provides the possibility to use your ...
  • 14.6k
2 votes

Can I build cross platform executables with Unity?

I think the actual answer you are looking for is "sort of ... in a way". The way that C# works is less like normal (native) executables that you would run on your Linux or windows machine, and more ...
  • 186
2 votes
Accepted

How to handle Japanese on Windows and Linux using SDL_ttf and C++?

I'm an idiot. In C++, the compiler knows what a u8"" string literal is, and will convert that string literal appropriately to an UTF-8 compatible string. And ...
2 votes

Is there a stable Unity release for linux?

No. At this time the Unity site still refers to the Linux editor as an "experimental" Beta feature. There is not a stable release. The latest Linux builds, release notes, and known issues are ...
  • 117k
2 votes
Accepted

Why there are more games in windows than linux?

Windows has tranditionally been, and still is, highly attractive for Game developers while Linux (except for mobile phones) is highly unattractive. Love Windows or hate it, but Windows has the ...
  • 1,364
2 votes

How to make the player unable to change some of the game elements?

You can use cryptography. But doing that in a way that actually prevents people from creating spells requires that you do not ship the private key to users, which implies either an internet server, or ...
  • 694
2 votes

Why Epic don't release a pre-compiled binary tarball for Linux?

I don't know Epics specific reasoning, but the usual reason for not making binaries for "Linux" is that there is to much variation in the ecosystem and making one makes people think it should work out ...
2 votes

How to temporarily set additional system environment variable only in 'play' mode inside godot editor?

Seems the solution that works so far is to write my own shell script. Here's the script: ...
  • 21
1 vote

Is there a way to do local multiplayer on a combination of Windows/Ubuntu computers?

What language are you using? You said you are not using Unity or Unreal, are you using any engine or are you doing everything yourself? These details will be more important than the operating systems ...
  • 186
1 vote
Accepted

Rotating a Row of Textures

You need to rotate the images as a unit instead of separately. This means, you need to apply the rotation after local transformation. Like this: ...
  • 3,182
1 vote

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

Here is the proper format: https://gist.github.com/02f1566736b10e3796d148eb4084bb15 I was missing a '.', thanks to @didrocks in #snappy on freenode for clarifying what I needed to do. Since the bug ...
1 vote
Accepted

SDL2 linux fullscreen issue at lower-than-desktop resolution

The flag called SDL_WINDOW_INPUT_GRABBED seems to prevent the problem from happening. But still not sure if that is the, or a, correct solution. ...
  • 21
1 vote

Unity not opening in Ubuntu

The Linux version of Unity is still far from fully stable, as the Windows & Mac OS X versions are. It's still not recommended to use the Linux build for production purposes, though you may use it ...

Only top scored, non community-wiki answers of a minimum length are eligible