Chipmunk 6.0.2 released.

Official forum for the Chipmunk2D Physics Library.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Chipmunk 6.0.2 released.

Post by slembcke »

Get the goods: http://chipmunk-physics.net/release/Chi ... -6.0.2.tgz
Get the Docs: http://chipmunk-physics.net/release/Chi ... .0.2-Docs/
Try out the new Demo App: http://chipmunk-physics.net/release/ChipmunkDemoOSX.tgz

What's New?

A few bug fixes and a lot of minor improvements in this version. Especially for Objective-Chipmunk. The Angry Chipmunks Objective-Chipmunk/Cocos2D tutorial has also been updated to take advantage of the new features in Objective-Chipmunk such as smartAdd: and smartRemove:.
  • API: Added cpSpaceIsLocked() to check if you are in a callback or not.
  • API: Removed the long deprecated [ChipmunkSpace addShapeAHandler:] and [ChipmunkSpace addShapeBHandler:] methods.
  • API: The ChipmunkObject protocol now can return any NSFastEnumeration object instead of just an NSSet.
  • API: The largely useless [ChipmunkSpace addBaseObjects:] and [ChipmunkSpace removeBaseObjects:] methods were removed.
  • API: Added [ChipmunkSpace smartAdd:] and [ChipmunkSpace smartRemove:] methods for a consistent API to remove objects inside and out of callbacks.
  • API: Added [ChipmunkSpace addPostStepBlock:key:] to complement [ChipmunkSpace addPostStepCallback:selector:key:].
  • API: Added [ChipmunkSpace addPostStepAddition:].
  • API: Objective-Chipmunk collision handlers no longer retain their target to avoid reference cycles.
  • BUG: Soft errors (only checked when debug mode is enabled) and warnings were disabled. Whoops.
  • BUG: cpShapeIsSensor() was incorrectly named in chipmunk_ffi.h.
  • BUG: It should be safe to call cpActivateBody() from an space iterator callback now.
  • MISC: Very nice bouyancy demo added based on callbacks.
  • MISC: Player demo updated and greatly enhanced by Chipmunk 6 features.
  • MISC: Changed adding a static body to a space from a warning to a hard error.
  • MISC: cpGroup and cpCollisionType now default to uintptr_t so you can safely use pointers instead of ints for these types.
  • MISC: Updated the MSVC10 project file.
  • MISC: Updated the FFI defs.
I haven't integrated the auto geometry (video demonstration: http://www.youtube.com/watch?v=QObxwXH6Ri8) code yet, as I need to rearrange a bunch of my projects to do that. I figured it would be better to get the release done than hold it up more as I do that. Objective-Chipmunk or Chipmunk Pro owners can still get the code separately in the Chipmunk Pro downloads directory.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
aisman
Posts: 145
Joined: Tue Mar 04, 2008 2:21 am
Contact:

Re: Chipmunk 6.0.2 released.

Post by aisman »

chipmunk_ffi.h:

Small bug:
MAKE_PROPERTIES_REF(cpSpace, SleepTimeThreshold);
MAKE_PROPERTIES_REF(cpSpace, SleepTimeThreshold);
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Chipmunk 6.0.2 released.

Post by slembcke »

Mmm. Copy pasta errors. My favorite kind of pasta.
/me facepalm

Fix pushed to github.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
PDiTO
Posts: 2
Joined: Wed Oct 05, 2011 11:29 am
Contact:

Re: Chipmunk 6.0.2 released.

Post by PDiTO »

Cannot build the AngryChipmunks project...for some reason there is a build error in CCLayer to do with sending ccColor4B to incompatible type of CIColor*.

Is it using an old build of cocos2d? I have 1.01 installed, but regardless, the compatible build should be included within the project?

Sorry if i'm asking a noob question!
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Chipmunk 6.0.2 released.

Post by slembcke »

I think the project was bundled with 0.99.something? I guess I'll have to update it if there are compile issues on newer versions of Xcode.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
lvminh2k
Posts: 1
Joined: Tue Dec 06, 2011 10:17 pm
Contact:

Re: Chipmunk 6.0.2 released.

Post by lvminh2k »

Forgive me for annoying you.
Still I have a bug while compile Chipmunk 6.0.2 with MSVC 9.
fatal error LNK1104: cannot open file 'chipmunk.def'
I cannot find this file in the project.
Help me.
Bunkum
Posts: 2
Joined: Sun Dec 11, 2011 4:17 am
Contact:

Re: Chipmunk 6.0.2 released.

Post by Bunkum »

The auto-geometry looks great.

Also is it possible to get the recent build of Objective-Chipmunk for Mac OS X? Since it says the wrapper is free for Mac OS X. Unless I completely missed where it was in the downloads.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Chipmunk 6.0.2 released.

Post by slembcke »

Sure, I usually just build it on demand for Mac. There have been very few people interested in using it for Mac which is why it's free I guess.

http://files.slembcke.net/temp/Objectiv ... 6.0.3b.tgz
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Bunkum
Posts: 2
Joined: Sun Dec 11, 2011 4:17 am
Contact:

Re: Chipmunk 6.0.2 released.

Post by Bunkum »

Thanks. And wow I find that kind of surprising. Anyway I'll remember to ask in the future ^^.
jcmeyer5
Posts: 89
Joined: Thu Dec 15, 2011 9:18 am
Contact:

Re: Chipmunk 6.0.2 released.

Post by jcmeyer5 »

Hi!

I am attempting to install 6.0.2. I have an older version (not sure which, came bundled with cocos2d-iphone). I am looking at the files involved, and I see that 4 header files are missing:

cpArray.h
cpSpaceHash.h
cpHashSet.h
cpCollision.h

I read in an old cpArray.h that it might be going away, but not in the other 3. So... is the build incomplete or ??

Also, I tried 6.0.3 as well, and when I tried to compile it, I got a dependancy error. Dunno if 6.0.3 is a WIP or if it was just an oversight.

Thanks!

Jim
Chipmunk Pro and cocos2D 2.x branch for iOS development
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests