Author Topic: Cubes on Steroids  (Read 4752 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Cubes on Steroids
« 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's a screenshot. I uploaded the full source code here on Github.

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?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Cubes on Steroids
« Reply #1 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.

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Cubes on Steroids
« Reply #2 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
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Cubes on Steroids
« Reply #3 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
« Last Edit: March 10, 2013, 05:35:34 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.