LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-13-2012, 12:14 AM   #16
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 351

Original Poster
Rep: Reputation: 28

Ok, that's strange. Could you describe the problem you are having? Both of my computers have no keyboard issues, although, since the keyboard code was ported from Windows to GLUT, there definitely could be problems with it.
 
Old 04-13-2012, 02:08 PM   #17
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 239

Rep: Reputation: 23
Pressing left and right arrow keys do nothing. On which distro have you tested it?

Last edited by manu-tm; 04-13-2012 at 02:28 PM.
 
Old 04-13-2012, 09:12 PM   #18
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 351

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by manu-tm View Post
Pressing left and right arrow keys do nothing. On which distro have you tested it?
All testing so far has been done on Lubuntu Precise Pangolin and Ubuntu Maverick Meercat. However, the distribution should make no difference, as I know of no distribution that doesn't use the same combination of Mesa/Xorg/Xinput-drivers, except maybe some of the tiny distros that are still based on the 2.4 kernel series (DSL).
The left and right keys do not have any functionality during the menu, and also while the player is on the ground. A minimum test case for testing those keys would be navigating through the menu to some gameplay mode (Classic, Asteroids, or Targets; Using up and down keys), Selecting that mode (Return key), Leaving the ground (Up key), and then turning either left or right (left and right keys).
Also, it could be helpful to note if the problem is limited to the special keys, or if the problem is also apparent in the wasd keys as well (select classic mode)
 
Old 04-13-2012, 09:41 PM   #19
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 239

Rep: Reputation: 23
Ok, the up key must be used first. But it's still very slow. Maybe you should make the program more configurable (at run time or by allowing command line arguments). I'm on Natty BTW.

Last edited by manu-tm; 04-13-2012 at 09:46 PM.
 
Old 04-14-2012, 09:49 AM   #20
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 351

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by manu-tm View Post
Ok, the up key must be used first. But it's still very slow. Maybe you should make the program more configurable (at run time or by allowing command line arguments). I'm on Natty BTW.
What kind of configuration are you thinking of? Something like changing the key mappings? or something else?
Currently, entering a command line argument causes the game to jump into a network game with whatever IP address you entered on the command line, I would like to keep that on the command line even when I consider the game complete, however, I could easily parse other types of arguments if necessary, maybe change to a more GNU getopts argument style, if it was desirable.
 
Old 04-14-2012, 10:18 AM   #21
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 239

Rep: Reputation: 23
Quote:
Originally Posted by prushik View Post
What kind of configuration are you thinking of? Something like changing the key mappings? or something else?
Something like --speed=N (form slow to max speed) or anything that's interesting to tweak/test (although I don't know what.) BTW, the key mapping is ok.
 
Old 04-16-2012, 03:43 AM   #22
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 351

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by manu-tm View Post
Something like --speed=N (form slow to max speed) or anything that's interesting to tweak/test (although I don't know what.) BTW, the key mapping is ok.
I'm hesitant to allow users to configure the speed on runtime, things could get especially hairy in network games if players use different settings.
That being said, I am sure your speed issues are not a resources issue, the game uses very little resources (not even any textures, and sounds are less than 1000 bytes each), so your speed issues must be due to something wrong with my timing system. If you compile with the -DSLOPPYTIME flag, I think your problems will be resolved.
I like the idea of compile-time configuration better than runtime configuration, just from a stance of not wasting resources.
 
Old 04-16-2012, 08:28 AM   #23
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 239

Rep: Reputation: 23
When compiling with -DSLOPPYTIME, I got errors. I could fix them but I still find the game not responsive enough on my box.

Do you have a windows version? I could give it a try on xp and see the original game behaviour.
 
Old 04-17-2012, 12:40 AM   #24
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 351

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by manu-tm View Post
When compiling with -DSLOPPYTIME, I got errors. I could fix them but I still find the game not responsive enough on my box.

Do you have a windows version? I could give it a try on xp and see the original game behaviour.
There wasn't one besides the old outdated Windows version, but it took me like 5 minutes to cross compile a new executable. I had to disable the sound and network though. I don't have Windows on any of my machines, so note that these builds are not tested at all.
I just uploaded them to the website, there is a regular version and a sloppy timings version.
http://betteros.org/games/download.html
 
Old 04-17-2012, 12:13 PM   #25
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 239

Rep: Reputation: 23
Unfortunately, there was some missing dll (libglut-0.dll) and when I finally could grab this one, it was still broken (bad version probably) so...
 
Old 04-17-2012, 06:36 PM   #26
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 351

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by manu-tm View Post
Unfortunately, there was some missing dll (libglut-0.dll) and when I finally could grab this one, it was still broken (bad version probably) so...
Oops, sorry about that. It should be fixed now, I compiled it statically so that it shouldn't depend on any dll's.
However, for reference, I used FreeGLUT instead of GLUT, although I thought they were binary compatible.
If you re-download, hopefully it will work.
 
Old 04-17-2012, 07:20 PM   #27
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 239

Rep: Reputation: 23
I still got the same error (missing libglut-0.dll).
 
Old 04-18-2012, 03:03 AM   #28
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 351

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by manu-tm View Post
I still got the same error (missing libglut-0.dll).
Interesting.... Cross compiling for Windows is weird.. I'll package my libglut-0.dll with the executable and upload it again soon.
 
Old 04-18-2012, 09:59 AM   #29
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 351

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by manu-tm View Post
I still got the same error (missing libglut-0.dll).
Ok, I replaced the exe file on the download page with a zip file containing both executables and the dll needed to run them. Still not sure why the executables are linked to that dll, since I never even installed that dll in my toolchain...
http://betteros.org/games/download.html
 
Old 04-18-2012, 02:38 PM   #30
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 239

Rep: Reputation: 23
I got a crash (bsod). For which version of windows is it compiled?

Maybe you should make a portable version including all required dll's to avoid that. Anyways, if you're cross-compiling, it's not that easy...
 
  


Reply

Tags
alpha, beerware, network, opengl, testing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] OpenGL? Or a lib? Error when starting the game Sauerbraten. kasumi Slackware 5 12-15-2010 12:19 PM
Looking for testers for indie game: Air Forte Brendon Chung Linux - Games 3 07-04-2010 09:01 PM
Simple Linux OpenGL game Starch Programming 3 03-17-2005 10:32 AM
Oddlabs looking for beta testers for new 3D RTS game Oddlabs Linux - Games 0 07-06-2004 07:41 AM
Starting a non OpenGL game in Linux. Need advice! Mega Man X Programming 3 03-09-2004 04:00 PM


All times are GMT -5. The time now is 10:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration