Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Munchor on November 22, 2012, 12:00:11 pm

Title: Cubes on Steroids
Post by: Munchor on November 22, 2012, 12:00:11 pm
Hello everyone,

I was learning OpenGL and I came up with a game like Cube Runner where you have to avoid incoming spinning colorful cubes. Here (http://i.imgur.com/xRi0e.png)'s a screenshot. I uploaded the full source code here (https://github.com/davidgomes/cubes-on-steroids) on Github (https://github.com/).

For GNU/Linux users, it should be easy enough to build it yourself:

Code: [Select]
git clone [email protected]:davidgomes/cubes-on-steroids.git
cd cubes-on-steroids/
make

You just need a few dependencies (Vala, OpenGL, SDL and SDL_gfx).

For Windows users, a friend made me a build, which is attached as cubes-on-steroids.zip. It's a .zip because you need some .DLLs.

I made this game mostly to learn and I ended up discovering that Vala+SDL+OpenGL is a great and easy way to make cross-platformly native games.

Any feedback? Maximum high scores?
Title: Re: Cubes on Steroids
Post by: DJ Omnimaga on March 09, 2013, 10:57:26 pm
The procedure entry point g-atomic_int_dec_and_test could not be located in the dynamic link library libglib-2.0-0.dll.

I tried running it both unzipped and zipped. Do I have to put the dlls somewhere in particular? Or are they excluded from the zip file?

Also this looks kinda fun to play. It would be nice if future versions required no separate dependencies, though.
Title: Re: Cubes on Steroids
Post by: ben_g on March 10, 2013, 04:20:32 pm
On windows I had the same problem as DJ_O, and on linux it didn't work either.
A screenshot of the problem is included
Title: Re: Cubes on Steroids
Post by: Juju on March 10, 2013, 05:32:16 pm
Code: [Select]
git clone https://github.com/davidgomes/cubes-on-steroids.git should do.

Otherwise, it's pretty cool :D