Friday, January 17, 2014

Beta Testers Wanted for GNU/Linux buggy combat simulator game.

So... I've done a lot of work to port my game Six Wheels and a Gun from Android to ASM.JS javascript in a browser. Just when everything was working, and only networking was left, I found out that Javascript cannot do UDP communication. This means that online play in a browser is not going to work. TCP is too high latency and too slow for running a distributed physics simulation.

I don't want my porting effort go to waste, so I made a derivative port to the 64 bit linux platform. (The Javascript version is built on SDL1.2 and the linux version on SDL2.) Everything works just fine as far as I can tell, and I am preparing a release on the portal. Before I release it, I could use some testing and feedback. Grab a copy of the game here: swaag-1.5-linux64.tar.gz or swaag-1.5-linux32.tar.gz

No installation necessary, just run ./swaag on the command line. It is dynamically linked and requires libSDL2 to be installed on your machine. (apt-get install libsdl2-2.0 on Ubuntu 13.10) In case of problems, please send me the console output.


  1. Posted on reddit here:

  2. Looks like a great game, hope it gets some more beef- (something a bit more then 6 wheels and a gun (maybe 6 wheels and a gun meaning any SINGULAR turret.)) -I think that'd be a great idea, but other than that, I'll be giving it a once over an testing itout. :)

  3. Version 1.1 is up, with a fix for vsync.

  4. Time to dust off my linux box and get some updates going. Very Excited to test this.

  5. Ubuntu 13.10 NVIDIA: OK
    Ubuntu 13.10 Intel: OK

  6. console output:
    Unable to create window: Couldn't find matching GLX visual

    on Intel GMA 4500 MHD
    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset
    OpenGL version string: 2.1 Mesa 10.1.0-devel (git-2dc35a6 saucy-oibaf-ppa+curaga)
    OpenGL shading language version string: 1.20

    every other games works such as Doom3, Half Life 2, Portal...

    1. Emam.... I've put up v1.3 which probably fixes that error. Could you please try again? Thanks!

  7. Thanks Emam,
    I suspect an issue with MSAA.
    I will get a new version out that tries non AA if MSAA window creation fails.
    Thank you for testing.

  8. I like it. My only thing, and this is just my preference, is for the gun to track the mouse rather than having to drag the screen and remove the on screen controls.

  9. Ben, good point. It would probably be more natural, yes.
    However, I think this only works if the game is full screen.
    If it is in a window, the mouse pointer will leave the window, and the window loses focus.
    I may add it in a full screen mode.

  10. New version 1.5 has full screen support.
    Also, uses proper game speed on machines that render at 30fps.

  11. Debian 64bit:

    OPTIMIZED build
    ERR Could not load ./ (./ cannot open shared object file: No such file or directory)
    ERR ASSERT FAILED at ../PI/soundkeeper.cpp(127): numLoaded == sz
    swaag: ../PI/soundkeeper.cpp:127: void soundkeeper_init(): Assertion `numLoaded == sz' failed.

    1. Thanks. Is the file '' there?
      If so, somehow the dynamic library loader will not look in the current directory?