views:

186

answers:

3

Hi,

Crayon Physics is a wonderful game because of the real motion of all the objects. Gravity and collision are two very important things in that game. I know that is the reason why it costs $19.95

Damn, this is quite difficult to write down my question!!
But, is/are there (an) equivalent open source project(s)? I'm very interested in the code and all the physical laws. Or do I still have to go to school for a few years and then write it by my own....
Only 14 years, currently

Here is another example (in Flash) where this is pretty good succeeded.
I don't know with which words I should search for a project like this.

Thanks

+3  A: 

There are lots of open source physics engines. For example, have a look at the engines listed in this wikipedia article.

Adrian Grigore
Thank you very much!
Martijn Courteaux
+2  A: 

There are quite a few open-source physics libraries depending on what language you plan on using and if you need them for 3D/2D, but the best I know of are bullet for 3D and Box2D for 2D

kiwi
you can always shoehorn a 3D engine into a 2D space with constraints, but I don't know about if it'd be as effective than a 2D only engine.
Gary
+1  A: 

Martijn, I'll bite.

Numpty Physics, (released open-source, GPL, here: http://numptyphysics.garage.maemo.org/ ) is a free game similar to Crayon Physics. It uses the Box2D physics engine (box2d.org) and has a built-in level editor.

In addition to the source code, you will also find binary packages for many popular operating systems.

Here's a shortcut to the code if you are impatient... 8)

https://garage.maemo.org/scm/?group_id=638

Hope that helps you out... -Alan

vizionary