color bounce

by shuall
Coolness★★★★★★★★★★22%
First game jam, and this game I think would have been better as a flash game it's so simple. Simple doesn't mean boring or unenjoyable. There's 4 difficulty levels, and your score can go infinitely (within the range of floating point numbers on your machine) high.

As per the theme, I made this game in C, using only openGL, glfw3, and cstdlib (math.h, and strings.h for memcpy). I may try out emscripten to get a web version, or compile with static libs, so I can provide.

I tried to make menus intuitive without text. I'd like to get feedback on that.

Please include your highscore in the comments. Mine so far are:
green: 2075
yellow: 742
orange: 893
red: 103

--Stuff I wish I'd done
*music.
*thought off a better name
*maybe some more 3d effects and animations with the - sweet goodness there's a lot of jumping platform games.

--Stuff I wish I hadn't done
*wrote my own mini linear algebra lib
*used glfw3 (glfw 2.7 might be better for other people, I'll try and fix it)

Updates:
windows binary is up, but finicky
linux built with static glfw3 and static glew1.9, so no problems there
linux binary now linked to static glfw3 and glew1.7
linux download is now zip file with README and launcher

Comments16

Lizzip29 Apr 2013, 16:35
I think you need some sort of file extension on your download link?
shuallauthor29 Apr 2013, 18:01
I'ts just a plain binary, I can add '.bin' if that makes it easier?
tomc
tomc30 Apr 2013, 22:39
Requires libGLEW.so.1.9. Ubuntu 12.10 only has 1.8.
shuallauthor1 May 2013, 21:38
fixed, now linked with 1.7
whilefun2 May 2013, 02:23
Regrettably, I cannot play :( The screenshots do look intriguing though
DBRalir
DBRalir2 May 2013, 02:50
Nice polygons. It's good to see another Linux developer, too. I don't fully understand the menus, but I believe my highscores are:
Red: 303
Orange: 803
Yellow: 3003
Green: too easy
oldtopman2 May 2013, 03:01
I can't get it to work:

bash-4.2$ ./bounce.sh
./bounce: error while loading shared libraries: libGLEW.so.1.7: cannot open shared object file: No such file or directory

Slackware 14.0x64 - 3.7.9 kernel.
shuallauthor3 May 2013, 01:03
yeah, I was afraid of that, I'll try statically linking glew as well. The link should work now.
SuperDisk4 May 2013, 02:52
Yup, windows binary is quite fickle. Its framerate is ridiculous on my computer.
shuallauthor4 May 2013, 13:28
That's cool that you got it running, I haven't managed that yet. I just managed to compile it. Is the framerate too low?
wademcgillis
wademcgillis6 May 2013, 18:41
vert shader compile info:
0(2) : error C0201: unsupported version 330
0(2) : error C0206: invalid token "core" in version line
0(3) : error C0000: syntax error, unexpected '(' at token "("
0(3) : error C0501: type name expected at token "("
0(3) : warning C7022: unrecognized profile specifier "layout"
0(3) : error C0000: syntax error, unexpected ')', expecting ',' or ';' at token ")"
0(3) : error C0501: type name expected at token ")"
0(3) : warning C7537: OpenGL does not allow 'inout' after a type specifier
0(4) : error C0000: syntax error, unexpected identifier, expecting '{' at token "fillColor"
0(4) : error C0501: type name expected at token "fillColor"
0(6) : warning C7532: global type mat4 requires "#version 100" or later
0(9) : error C0000: syntax error, unexpected identifier, expecting '{' at token "colorShade"
0(9) : error C0501: type name expected at token "colorShade"
0(12) : warning C7532: global variable gl_Position requires "#version 100" or later
0(12) : warning C7532: global type vec4 requires "#version 100" or later

shader creation failed
SuperlevelSebastian9 May 2013, 20:33
Sadly it doesn't start on my Win XP 32-bit laptop.
HELLO2313 May 2013, 06:39
It is pretty awesome to see a game written in C. The game is fun, and I liked that there is no text in the entire game, but I couldn't understand how the scoring works.
Sylvain.p
Sylvain.p14 May 2013, 20:32
Can you make a tuto ?
csanyk
csanyk16 May 2013, 01:04
I could run the game, but couldn't tell what I was supposed to do. I figured out moving around, and got some blocks to change color, I think, but it didn't tell me a score anywhere that I could see. It was hard to bounce where I wanted because I couldn't control the camera angle.
shuallauthor26 May 2013, 02:38
Does the readme help at all? I'm just wondering if I should update it.
csanyk: The camera is controlled by your mouse.
Found a bug?
Tell us on Discord