Page 1 of 4

Chipmunk 6.0.1 and new example content!

Posted: Mon Jul 25, 2011 5:30 pm
by slembcke
Get it all right here: http://chipmunk-physics.net/downloads.php
Release notes on the updates feed here: feed://chipmunk-physics.net/updates.rss

There are a couple of bug fixes since 6.0.0, but mostly I've been working on expanding the example content for Chipmunk. There are now a bunch of code snippets in the documentation itself for some of the more advanced functions. I've added a number of new demos to the Demo app that show of how to use some of the new 6.0 features like breakable joints, the contact graph, and using constraints as servos. I've also created a number of standalone projects that you can find on the downloads page above.

Jelly physics example:
http://www.youtube.com/watch?v=McvG32qEoSo

Multi-touch physics example:
http://www.youtube.com/watch?v=m5nO1bcvyTY

Re: Chipmunk 6.0.1 and new example content!

Posted: Tue Jul 26, 2011 5:47 am
by aisman
Visual Studio 2010 told me:
error C1083: Cannot open source file: '..\..\..\Demo\UnsafeOps.c': No such file or directory
error C1083: Cannot open source file: '..\..\..\Demo\Simple.c': No such file or directory
error C1083: Cannot open source file: '..\..\..\Demo\Sensors.c': No such file or directory
error C1083: Cannot open source file: '..\..\..\Demo\MagnetsElectric.c': No such file or directory
error C1083: Cannot open source file: '..\..\..\Demo\drawSpace.c': No such file or directory
error C1083: Cannot open source file: '..\..\..\Demo\Bounce.c': No such file or directory

Re: Chipmunk 6.0.1 and new example content!

Posted: Tue Jul 26, 2011 10:10 am
by slembcke
Oh shoot. I always forget about Visual Studio. I'll poke around and see if I can fix the project for it today and push the fixes to Git.

Re: Chipmunk 6.0.1 and new example content!

Posted: Tue Jul 26, 2011 2:58 pm
by diegor
Is the SVN repo the best way to get the latest version? The tar file is 6.0.1 while the SVN version is 6.0.0.

Thanks!

Re: Chipmunk 6.0.1 and new example content!

Posted: Tue Jul 26, 2011 5:17 pm
by slembcke
I'm considering switching repositories over to GitHub due to popular demand. So I've developing out of that for the last couple weeks to give it a fair try. https://github.com/slembcke/Chipmunk-Physics

I got my sensor based buoyancy demo working finally last night, so you can get that too if you check it out from there. ;)

Re: Chipmunk 6.0.1 and new example content!

Posted: Wed Jul 27, 2011 4:42 am
by aisman
slembcke wrote:Oh shoot. I always forget about Visual Studio. I'll poke around and see if I can fix the project for it today and push the fixes to Git.
Be I am right? You had no time to fix it until yet?

Re: Chipmunk 6.0.1 and new example content!

Posted: Wed Jul 27, 2011 9:21 am
by slembcke
Haven't had time yet no. I should have time tonight though.

Re: Chipmunk 6.0.1 and new example content!

Posted: Sat Jul 30, 2011 5:45 pm
by sanotehu
slembcke wrote: I got my sensor based buoyancy demo working finally last night, so you can get that too if you check it out from there. ;)
about that:

Code: Select all

builds/Chipmunk-6.0.1/Demo/Buoyancy.c: In function ‘waterPreSolve’:
builds/Chipmunk-6.0.1/Demo/Buoyancy.c:88:2: warning: implicit declaration of function ‘sprintf’ [-Wimplicit-function-declaration]
builds/Chipmunk-6.0.1/Demo/Buoyancy.c:88:19: warning: incompatible implicit declaration of built-in function ‘sprintf’ [enabled by default]
builds/Chipmunk-6.0.1/Demo/Buoyancy.c:132:9: error: ‘TRUE’ undeclared (first use in this function)
builds/Chipmunk-6.0.1/Demo/Buoyancy.c:132:9: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [Demo/CMakeFiles/chipmunk_demos.dir/Buoyancy.c.o] Error 1
make[1]: *** [Demo/CMakeFiles/chipmunk_demos.dir/all] Error 2
make: *** [all] Error 2
This happened when I tried ot build 6.0.1. I'm on ArchLinux.

Re: Chipmunk 6.0.1 and new example content!

Posted: Mon Aug 01, 2011 8:20 am
by slembcke
Ah, I missed an import. I'll fix that up soon.

Re: Chipmunk 6.0.1 and new example content!

Posted: Mon Aug 01, 2011 9:20 am
by slembcke
Fixed and pushed to GitHub. (Still haven't officially announced that I'm moving the project to GitHub.)