holomorph
January 19th, 2006, 03:16 AM
Hi,
I've been working on a game for the past 16 months or so (on and off). It's called Balder2d (http://balder.sourceforge.net/balder2d/index.php) and is a 2d shooter in zero gravity (inspired by "Ender's Game").
(Instructions for installing if you want to try it out are included at the bottom of this post)
[Edit] I have built some binary packages, which should make things a bit easier if you just want to try playing. See this (http://ubuntuforums.org/showthread.php?t=122253) thread.
[end Edit]
Balder2d is nearing completion, but is still lacking that polish which
would give it a "finished" feel. An experienced developer (or two) is
desired to help clean up, test, and add finishing touches to the code.
It would also be quite nice if someone would be willing to make packages so it's easy for people to install.
Although Balder2d is primarily for playing against your friends, there
is also the opportunity (it would be really nice to have the option of
playing alone) of adding some AI players to the game.
The current state of the code in CVS is up to the version 0.8 goals (see
the roadmap)
Anyway, here is what you'll have to do if you'd like to try Balder2d (grab a friend, it's not much fun by yourself). You'll have to build it yourself, so here's what you need:
First, you'll need SDL and SDL_image and SDL_mixer developement libraries:
$ sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev
You'll also need boost filesystem:
$ sudo apt-get install libboost-filesystem-dev
You also need the guichan (http://guichan.sourceforge.net/) library, download (http://guichan.sourceforge.net/downloads.shtml) the cvs snapshot (the 0.4 release is actually what I use, but it has a small bug that makes it fail to compile with gcc 4.0, which is fixed in cvs).
Unzip that somewhere convenient and run:
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
alternatively you can grab the 0.4 release, and add a "virtual ~ListModel() {};" to the ListModel class in include/guichan/listmodel.hpp. Then skip the autogen step in the above commands.
Also note (as pointed out by Harleen below) that you can use 'sudo checkinstall' instead of 'sudo make install' which will build and install a standard binary package, which means you can use your standard package management utilities to uninstall.
The last library that balder2d needs is GNE (which depends on HawkNL) so:
download (http://www.hawksoft.com/download/) HawkNL 1.7 beta 1 (HawkNL17b1src.zip).
Unzip that somewhere convenient and do:
$ make -f makefile.linux
$ sudo make -f makefile.linux install
$ cp include/*.h /usr/local/include/
The last step is necesarry because there is an error in the makefile; it fails to copy all of the hawknl headers. Only nl.h is copied.
now that you have HawkNL installed, you can build and install GNE:
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnelib login
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnelib co -P gnelib
$ cd gnelib
$ ./fixlinux.sh
$ make
$ sudo make install
Just press enter when prompted for a password (leave it blank).
Whew!
hopefully all that worked and I haven't forgotten anything. It's finally time to grab and build balder2d:
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/balder login
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/balder co -P balder2d
$ cd balder2d
$ jam
That should do it, though, if you don't have jam installed you will have to install that (there is a package so just apt-get install jam) before building balder.
If all went well, you should be able to run balder2d by:
$ cd bin
$ ./balder2d
That's it. If it didn't work for you I'd really like to hear about it, so I can update these instructions, make them more clear and/or add things that I missed.
I hope you enjoy it, and if you get inspired to help that's even better!
Bjørn
I've been working on a game for the past 16 months or so (on and off). It's called Balder2d (http://balder.sourceforge.net/balder2d/index.php) and is a 2d shooter in zero gravity (inspired by "Ender's Game").
(Instructions for installing if you want to try it out are included at the bottom of this post)
[Edit] I have built some binary packages, which should make things a bit easier if you just want to try playing. See this (http://ubuntuforums.org/showthread.php?t=122253) thread.
[end Edit]
Balder2d is nearing completion, but is still lacking that polish which
would give it a "finished" feel. An experienced developer (or two) is
desired to help clean up, test, and add finishing touches to the code.
It would also be quite nice if someone would be willing to make packages so it's easy for people to install.
Although Balder2d is primarily for playing against your friends, there
is also the opportunity (it would be really nice to have the option of
playing alone) of adding some AI players to the game.
The current state of the code in CVS is up to the version 0.8 goals (see
the roadmap)
Anyway, here is what you'll have to do if you'd like to try Balder2d (grab a friend, it's not much fun by yourself). You'll have to build it yourself, so here's what you need:
First, you'll need SDL and SDL_image and SDL_mixer developement libraries:
$ sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev
You'll also need boost filesystem:
$ sudo apt-get install libboost-filesystem-dev
You also need the guichan (http://guichan.sourceforge.net/) library, download (http://guichan.sourceforge.net/downloads.shtml) the cvs snapshot (the 0.4 release is actually what I use, but it has a small bug that makes it fail to compile with gcc 4.0, which is fixed in cvs).
Unzip that somewhere convenient and run:
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
alternatively you can grab the 0.4 release, and add a "virtual ~ListModel() {};" to the ListModel class in include/guichan/listmodel.hpp. Then skip the autogen step in the above commands.
Also note (as pointed out by Harleen below) that you can use 'sudo checkinstall' instead of 'sudo make install' which will build and install a standard binary package, which means you can use your standard package management utilities to uninstall.
The last library that balder2d needs is GNE (which depends on HawkNL) so:
download (http://www.hawksoft.com/download/) HawkNL 1.7 beta 1 (HawkNL17b1src.zip).
Unzip that somewhere convenient and do:
$ make -f makefile.linux
$ sudo make -f makefile.linux install
$ cp include/*.h /usr/local/include/
The last step is necesarry because there is an error in the makefile; it fails to copy all of the hawknl headers. Only nl.h is copied.
now that you have HawkNL installed, you can build and install GNE:
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnelib login
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnelib co -P gnelib
$ cd gnelib
$ ./fixlinux.sh
$ make
$ sudo make install
Just press enter when prompted for a password (leave it blank).
Whew!
hopefully all that worked and I haven't forgotten anything. It's finally time to grab and build balder2d:
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/balder login
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/balder co -P balder2d
$ cd balder2d
$ jam
That should do it, though, if you don't have jam installed you will have to install that (there is a package so just apt-get install jam) before building balder.
If all went well, you should be able to run balder2d by:
$ cd bin
$ ./balder2d
That's it. If it didn't work for you I'd really like to hear about it, so I can update these instructions, make them more clear and/or add things that I missed.
I hope you enjoy it, and if you get inspired to help that's even better!
Bjørn