Physics engines: Difference between revisions
Jump to navigation
Jump to search
Crazy-chris (talk | contribs) m (+ build instructions) |
Crazy-chris (talk | contribs) (+license link + build instructinos) |
||
Line 10: | Line 10: | ||
| '''License''' |
| '''License''' |
||
| [http://www.linuxuser.at/elements/infos/chipmunk_license.txt MIT] |
| [http://www.linuxuser.at/elements/infos/chipmunk_license.txt MIT] |
||
| [ |
| [https://box2d.svn.sourceforge.net/svnroot/box2d/License.txt zlib] |
||
| Proprietary |
| Proprietary |
||
|- |
|- |
||
Line 63: | Line 63: | ||
== Download & Build Instructions == |
== Download & Build Instructions == |
||
''''' Chipmunk ''''' |
|||
# http://files.slembcke.net/chipmunk/release/ChipmunkLatest.tgz |
# http://files.slembcke.net/chipmunk/release/ChipmunkLatest.tgz |
||
⚫ | |||
⚫ | |||
# http://www.linuxuser.at/elements/elements.zip |
# http://www.linuxuser.at/elements/elements.zip |
||
⚫ | |||
⚫ | |||
# svn co https://box2d.svn.sourceforge.net/svnroot/box2d box2d |
# svn co https://box2d.svn.sourceforge.net/svnroot/box2d box2d |
||
# Download and apply this patch: http://pippin.gimp.org/tmp/box2d-build-diff.txt |
# Download and apply this patch: http://pippin.gimp.org/tmp/box2d-build-diff.txt |
||
Line 78: | Line 76: | ||
CXXFLAGS= -g -O2 -fPIC |
CXXFLAGS= -g -O2 -fPIC |
||
''''' Phun ''''' |
|||
⚫ | |||
=== Phun === |
|||
Binaries for Windows and Linux can be found here: |
|||
⚫ | |||
Revision as of 09:47, 14 March 2008
This is a short comparison of 2d physics engines.
Chipmunk | Box2d | Phun | |
---|---|---|---|
License | MIT | zlib | Proprietary |
Forums | [1] | [2] | [3] |
irc.freenode.net | #pymunk | #box2d | - |
Latest Release | March 08 | March 08 | March 08 |
Language | C | C++ | C++ |
Library Size | 48 kb | 1.7 mb | ~ 1.5 mb |
Platforms | All | All | All |
Python Bindings | pymunk | via SWIG | - |
XO Compatible | yes (with max. 20 elements) | probably (not yet tested) | not yet (only with OpenGL) |
Notes | Fast | Feature-Rich | Feature-Rich |
Download & Build Instructions
Chipmunk
Chipmunk, Python API & Examples
Box2d
- svn co https://box2d.svn.sourceforge.net/svnroot/box2d box2d
- Download and apply this patch: http://pippin.gimp.org/tmp/box2d-build-diff.txt
- run 'make'
If it fails with a suggestion to use the -fPIC flag, add it to Source/Makefile, line 13. So it looks like this:
CXXFLAGS= -g -O2 -fPIC
Phun
- http://phun.cs.umu.se/wiki/Download (Binaries for Windows and Linux)