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] to complement [ChipmunkSpace addPostStepCallback:selector].
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/
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?
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.
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.
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