This library is amazing

Official forum for the Chipmunk2D Physics Library.
Post Reply
MarkR
Posts: 3
Joined: Sun Nov 11, 2007 5:23 am
Contact:

This library is amazing

Post by MarkR »

I have to say, I am enjoying using Chipmunk a lot. It is very easy to use and makes a lot of sense (even though I don't understand the maths behind it).

Currently I'm looking (almost certainly) at making a Thrust-type 2d cavern spaceship game- this will be ludicrously easy, compared with my previous one, "Jellyattack" (as joint-winner of the TINS2003 competition)

I'm currently using Allegro for my graphics, this is a no-brainer.

I wonder why, we have a "data" void * field in cpShape, but not in cpBody ? It would be extremely convenient for things like collision callbacks?

I'm using C++ not C, and I have problems with your definition of INFINITY - but that's easily overridden by my own.

Mark
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: This library is amazing

Post by slembcke »

Thanks! I wrote a Thrust clone a couple of years ago using a really primitive version of Chipmunk. It was for the iDevGames OMG contest. I never finished it as much as I would have liked to, but it was a lot of fun to write.

http://wiki.slembcke.net/main/published/Antimatter

Why no data pointer in cpBody? I guess I had never thought of it. I've always stored a reference to the body from my game object, and not the other way around.

Infinity. (sigh) That has caused me no end of grief... There is no "nice" way of making an infinity constant that is well liked across all compilers.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
X-0ut
Posts: 28
Joined: Tue Oct 02, 2007 5:02 am
Contact:

Re: This library is amazing

Post by X-0ut »

Hi MarkR, havent seen you in #ludumdare for a while.
Oh and yeah this lib is awesome :)
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: This library is amazing

Post by slembcke »

MarkR wrote:I wonder why, we have a "data" void * field in cpShape, but not in cpBody ? It would be extremely convenient for things like collision callbacks?
I've added a data pointer to body now. You can get the latest code from SVN or just wait until the next release. I'm hoping to do an incremental release shortly.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests