polly-b-gone Screenshot a 3D physics platform game

POLLY-B-GONE is a 3D physics platform game that tells the story of a plucky wheeled robot named Polly, who has been imprisoned by the nefarious Dr. Nurbs in his laboratory. Polly must overcome a series of increasingly-elaborate obstacles to escape and regain her freedom.

Polly won the grand prize in the 10th annual CS 248 video game competition!

License: free
Requirements: libsdl sdl-image sdl-mixer glew tinyxml opengl

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnononoyesyes
Suggest an update

Comments

The license for this game is GPL. Here's a quote from the website (at the bottom of the page)

"Source code is provided "as-is" under the GNU LGPL. If you do something cool with it, please let me know!"
Re: License posted by Wolven on Mar 30 2009 3:49 AM
I mean LGPL... Wish there was an edit function here.
Re: License posted by nath on Mar 30 2009 6:44 AM
Thanks, license field changed.
Re: License posted by frostwork on Mar 30 2009 7:32 AM
sorry, if I missed that field when suggesting!

I can't compile it... I changed some file using GL/gl.h instead OpenGL/gl.h and GL/glut.h instead GLUT/glut.h

But now I have an error that i don't know how to fix... look:

g++ -c -O2 -I/System/Library/Frameworks/GLUT.framework/Headers -I/System/Library /Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/SDL.framework /Headers -I/System/Library/Frameworks/SDL_image.framework/Headers -I/System/Library /Frameworks/SDL_mixer.framework/Headers -I/System/Library/Frameworks/TinyXML.framework /Headers -o obj/shader.o shader.cpp
shader.cpp: In destructor ‘virtual mbostock::GlslShader::~GlslShader()’:
shader.cpp:61: error: ‘glDeleteProgram’ was not declared in this scope
shader.cpp: In member function ‘virtual void mbostock::GlslShader::initialize()’:
shader.cpp:67: error: ‘glDeleteProgram’ was not declared in this scope
shader.cpp:69: error: ‘glCreateProgram’ was not declared in this scope
shader.cpp: In member function ‘void mbostock::GlslShader::attach(const char*, GLenum)’:
shader.cpp:76: error: ‘glCreateShader’ was not declared in this scope
shader.cpp:78: error: ‘glShaderSource’ was not declared in this scope
shader.cpp:80: error: ‘glCompileShader’ was not declared in this scope
shader.cpp:81: error: ‘glAttachShader’ was not declared in this scope
shader.cpp: In member function ‘void mbostock::GlslShader::link()’:
shader.cpp:85: error: ‘glLinkProgram’ was not declared in this scope
shader.cpp: In member function ‘virtual void mbostock::GlslShader::display(mbostock::Model&)’:
shader.cpp:90: error: ‘glUseProgram’ was not declared in this scope

Re: polly-b-gone posted by frostwork on Mar 30 2009 7:31 AM
you need the linuxpatches from my gentoo ebuild in the additional url above!
You require at least the "1.0-libs.patch", but can also use the patched makefile from
"1.0-Makefile.patch". good luck!
Re: patches posted by Mone on Mar 30 2009 9:59 PM
To be precise, I needed to apply both patches, compile tinyxml from source, and add the .o object files to the Makefile. Then remove the -ltinyxml dependency, as it is not currently distributed as a library.
But it runs fine now. Thanks a lot! :D
First of all, it's a PITA to compile from source, but here is how I did it:

First apply the two patches in the ebuild: 1.0-libs.patch and 1.0-Makefile.patch using 'patch -p1 < *.patch'

Next download and compile tinyxml from sourceforge. Copy the .h and .cpp files into the main directory and the .o files into ./obj (make this directory in the main polly directory).

Finally, edit the makefile, remove '-ltinyxml' from LIBS=, and under 'obj/main.out' add the following to the list of .o files:
	obj/tinyxml.o \
	obj/tinyxmlparser.o \
	obj/tinystr.o \
	obj/tinyxmlerror.o
Run 'make' and it should compile. Note: do NOT include 'xmltest.o', as this will cause it to fail. You may also want to edit main.cpp if you're not using a qwerty keyboard, as the keys are hardcoded as wasd.

Log in or register to rate this game or post a comment.