Squirrel Physics (codename JAMP)

Hello,

In this game, you control a squirrel with the keyboard and, if you win an object, you can then add it with the mouse. It's my first game and also my first C++ program. Libs used are OpenGL, SDL, SDL_image and SDL_mixer. It's available for Ubuntu, Windows and Mac OS X.

Download the game and the source code here!

Image

What do you think?
How you did that curve surface area..(concave shape)
Press the "d" key and you'll see that there is no magic trick, it's only a lot of 4-vertice polygons. But the shapes were made with Inkscape, so it was an easy job.
It's quite a difficult game, unless there's something I'm missing. I worked out how to do the bowling ball/seesaw trick, but it took loads of goes to get it right, and then I started pushing as many fruits as I could at the birds but nothing happened. I can't get past that bit.
Yes, you can add a lot of bowling balls but you can also push the squirrel down in the first part of the slope and then jump a few times it the second part of the slope.

The birds are only there to get the slope clean from cherries.
Hi
well its very tedious job to create all shapes according to cordinate (in order to get curve shape)..have you used them in a loop or you made each object separately ...
Here is how to draw a curve made of convex polygons with Inkscape :
  1. Draw a curve.
  2. Set its stroke the way you want.
  3. Path > Stroke to Path (Ctrl+Alt+C)
  4. Effects > Modify Path > Flatten Beziers...
  5. Cut the object.
i guess these are just graphics,,,i am asking about bodies created using box2d..(programing wise)
No, it's really the Box2D bodies which are created using Inkscape. You can see that in the shapes/ folder and in the cSVG.cpp source file.
I've updated the Ubuntu 8.10 version because there was a bug with the sound and I've added the Ubuntu 8.04 version (i386 and 64-bit as well).

Original thread: https://box2d.org/forum/viewtopic.php?t=2029