Dingoonity.org

GCW Zero => Development => Topic started by: jxv on January 23, 2013, 09:44:44 pm

Title: Ported Chipmunk Physics Engine
Post by: jxv on January 23, 2013, 09:44:44 pm
(https://raw.github.com/jxv/Chipmunk-Physics/master/doc/images/logo1_med.png)

Chipmunk is an open source physics engine under the MIT license. It's written in C (C99).
Evaluations are deterministic which is good for supporting wireless multiplayer.

Official website: http://chipmunk-physics.net

Download, build, and installation for gcw0 toolchain:
Code: [Select]
#git clone https://github.com/jxv/Chipmunk-Physics.git
#cd Chipmunk-Physics
#make -f Makefile.gcw0
#make -f Makefile.gcw0 install

Build Demo program:
Code: [Select]
#cd Chipmunk-Physics/DemoSDL
#make -f Makefile.gcw0

(https://raw.github.com/jxv/Chipmunk-Physics/master/DemoSDL/screenshot.png)

To build on your desktop, you must have CMake installed with further instructions inside  README.textfile.
Title: Re: Ported Chipmunk Physics Engine
Post by: Optimus on January 26, 2013, 10:20:43 am
Cool! I'd like to see how it performs on GCW.
Title: Re: Ported Chipmunk Physics Engine
Post by: Senor Quack on March 27, 2015, 07:41:06 pm
The github link is no longer valid and jxv (original poster) has given me these new instructions and github repo link in IRC and told me to post them here. Note that I have not tried these myself, this is just a favor for another IRC user who was having trouble:
Code: [Select]
#git clone https://github.com/slembcke/Chipmunk2D.git
#cmake -DCMAKE_TOOLCHAIN_FILE=/opt/gcw0-toolchain/usr/share/buildroot/toolchainfile.cmake -DBUILD_DEMOS=OFF -DBUILD_SHARED=OFF -DCMAKE_INSTALL_PREFIX=/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr
#make
#sudo make install
Title: Re: Ported Chipmunk Physics Engine
Post by: David Knight on March 27, 2015, 08:04:27 pm
tar