I hope everyone is having a fun time with the LPC programming competition. My submission is titled Traps and Treasures (not to be confused by an Amiga game with the same name).
The code will be found at the following address: http://code.google.com/p/gqp-tnt/
Keep in mind that my game is/was designed for my kids to play (ages 4 and 5) but I hope to add new features to the game well past the LPC competition. With that being said, the following are the current features that can be played today!
* Single player and multiplayer (LAN) supported! (as many as your computers can handle for now)
* Multiple choices to characters to choose from (all from LPC artwork, currently 11 characters offerred)
* Lots of treasures and treasure chests (all from LPC artwork)
* Easy to edit and create new maps (and add new Tilesets) without changing code base
Traps and Treasures (or TnT - its dynamite!) makes use of the following open source programs:
SFML, http://www.sfml-dev.org/index.php, (license MIT)
GQE, http://code.google.com/p/gqe/ (license MIT, my game engine base)
GQP, http://code.google.com/p/gqp/ (license MIT, my quick and easy IDE solution tool)
TmxParser, http://code.google.com/p/tmx-parser/ (license New BSD, for parsing Tiled TMX files)
zlib, http://zlib.net/ (license zlib, used by TmxParser)
tinyXml, http://www.grinninglizard.com/tinyxml/, (license zlib, used by TmxParser)
Tiled, http://www.mapeditor.org/ (license ???, open-source tile editor)
The following is a screen shot taken today from my PC showing that
Hey there.
I'm trying to build your game on Fedora 17, but I'm stuck with this error: http://pastebin.com/uqm5pL6z
Could you help me figure it out? Thanks!
You should be able to solve this fairly obscure bug by changing line 34 in the onullstream file as follows:
OLD LINE:
init(&m_sbuf);
NEW LINE:
this->init(&m_sbuf);
The reason is because the C++ spec has tightened up its rules on calling protected member functions defined in base classes as explained in this bug report on gcc:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43282
Which apparrently has either been fixed or declared as something everyone needs to change in their own code. The above version will work in either case. I never came across this when I did compiling under Kubuntu so thank you for giving me a chance to provide a correction.