Linux - GamesThis forum is for all discussion relating to gaming in Linux.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

It's not finished. Most of the game has been tested pretty well, however, I'm having trouble testing the network gameplay portion. I really just started working on the network part, and I suspect that there will be some race conditions that will mess things up. I can only run it on one of my machines at the moment, since one machine is a dinosaur with video card/opengl issues, and the other is being used for an experimental Linux distro that I am working on, and at the moment it only has kdrive xserver (no OpenGL). So, anybody that can test the network portions of my game would be a big help.
Also, I have released the source, so you can look at it if you want, but be warned that I wrote most of it in highschool, so its kinda sloppy. It's licensed under the beerware license.
Here is the link:http://www.betteros.org/games/download.html

when i click ignore it fails to install. However my software center seems to be broken somehow.

Oh.. huh, how about that. Well, that's another reason why testing things by myself isn't good enough. I assume its a permission problem, since you don't have a user prushik with uid 1000 on your system. I'll fix the permissions and upload again soon, however, now I have to get to Korean class, so I can't fix it until I get home.
If you are determined to test it, you can try to compile it from source. It's quite easy, just:
gcc ut1l.c -lGL -lGLU -lglut -DAUDIO -lalut -lopenal -o UntitledOne
You can leave out the -DAUDIO part if you don't have openAL or if the sound is too annoying (its not done yet).

I think that is either a freeglut problem, or a glx problem. That's the error I get on my old HP laptop (the beast). I'll see if I can debug the problem, but I assumed it was a bug in the very old fglrx drivers that are running on that machine.

Quote:

Originally Posted by manu-tm

Maybe you should provide more detailled info about required dependencies or how to build and run the program, or a functional debian package.

Yep, that's a good idea. What I did was pretty slapdash, but now I have time, so I'll see about fixing the debian package.
The dependencies are:
libGL
libGLU
FreeGLUT or GLUT or OpenGLUT (OpenGLUT is untested)

Ok, I uploaded a new .deb package, the files are now owned by root instead of prushik, so it should work.
I also added a list of dependencies on the webpage. I also changed the source package to a little tarball with a makefile and a pseudo-configure script. Although just compiling with gcc is still just as easy, ./configure && make is more familiar to many folks.http://www.betteros.org/games/download.html

Ok, just uploaded my updated source code. It should fix the glXCreateContextAttribsARB problem, and network play should also work.
Debian packages have been fixed again (hopefully).

Changes:
-missile sound has been changed to something less obnoxious
-explosion sounds are in place, but they suck
-network play connection fixes
-added a (hopefully) more accurate method of measuring time (which can be compiled out by passing -DSLOPPYTIME to gcc)

Did you compile from source or use a deb package? I'm pretty sure that the problem is not due to mesa or GLX but rather your video card driver. What video card do you have? Is it an ATI Radeon by any chance?
Nevermind... I checked my source again and I seem to have added the problem code back in...

If you want to get it working, remove line 307 and recompile it and it should work.
The line that says:

Code:

glutInitContextVersion (3, 1);

is the problem, just comment it out or delete it completely and it will compile and run.

I could run the game but it's very slow and keys are not working as expected.

Very interesting... I haven't had any trouble with speed. If I disable the timing, then it runs too fast on my machines, even my 6 year old hp laptop (the beast).
However, I have not yet tested the new timing mechanism on more than one machine, so next time I will revert to the old timing mechanism.

Where did you see speed as an issue? During solo gameplay, network gameplay, or in the menus? Are you using 32 bit or 64 bit?

It's really not a very resource intensive game, speed shouldn't be an issue (except in network games).