PhysicsEditor

Share your projects and Chipmunk enhancements.
Post Reply
andreas.loew
Posts: 2
Joined: Thu Mar 03, 2011 1:24 pm
Contact:

PhysicsEditor

Post by andreas.loew »

Hi,

my name is Andreas Loew - and I created a new tool for chipmunk - http://www.physicseditor.de

Its a shape editor for sprites with editing capabilities for physics parameters. Simply import the sprite, press the auto trace button and edit all parameters you want.
PhysicsEditor handles convex/concave polygons and orientation for you.

Here's also a short video showing how to use it with corona sdk: http://www.youtube.com/watch?v=EZT1lrxVut4

Another key feature is the generic exporter format. You can export the data in nearly all formats your want - from source code to XML - just exactly what you need.
The default export format currently is XML/PLIST but I might also other ones on request.

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

Re: PhysicsEditor

Post by slembcke »

I've been working on some similar code to use for a few months: http://howlingmoonsoftware.com/wordpress/?p=409

It's really modular at this point. You can string together a few operations into a processing pipeline, the problem is that it's pretty low level. To trace an image you have to create a sampling function and a segment callback. This makes it configurable enough to do everything from high speed deformable bitmap terrain to dynamic creation of shapes when loading sprites. Really all I have left to do is create a few simple functions to wrap the usual cases. I really need to get that done and make some examples. Too many things to do in a day!
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
andreas.loew
Posts: 2
Joined: Thu Mar 03, 2011 1:24 pm
Contact:

Re: PhysicsEditor

Post by andreas.loew »

I updated chipmunk integration and added a sprite factory which allows to drag single bodies from a file.
Would you be interested in adding this to your Objective-C loader?
scorcher24
Posts: 4
Joined: Mon Apr 11, 2011 3:28 pm
Contact:

Re: PhysicsEditor

Post by scorcher24 »

Plugins for modifiying other functions or adding functionality would be cool.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: PhysicsEditor

Post by slembcke »

@andreas.loew: Oh shoot, I must have missed that post in the hustle and bustle of GDC. Yeah, that would be cool. I could hook you up with a copy in a couple weeks once our current contract work dies down.
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 7 guests