[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Chipmunk Physics • View topic - pymunk, a chipmunk python binding.

pymunk, a chipmunk python binding.

Share your projects and Chipmunk enhancements.

pymunk, a chipmunk python binding.

Postby viblo » Tue Aug 21, 2007 3:33 pm

Last edited by viblo on Sun Dec 04, 2011 1:05 am, edited 15 times in total.
http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app
viblo
 
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm

Re: pymunk, a chipmunk python binding.

Postby viblo » Fri Dec 14, 2007 9:41 am

As some people have been asking if the project is dead or not, I will write a little update on this.

I have a svn at http://pymunk.googlecode.com/ with the current code. The low level stuff, i.e. more or less the same as in the first version is now updated to use the lastest version of Chipmunk, and there is a beginning of a more high level binging (big thanks to Mark, who sent me a start on this). Don't expect anything to be set in stone at this point, anything or everything might change.. If you don't like it, need unsupported functions, like low level more, or just want to do your own stuff, the _chipmunk.py file contain the low level (semi-)automatically generated binding.

Note: The automatic dll/so/dynlib loading function wasnt perfect and is now removed from the code until I fix it. Its hard coded for the windows version dll atm. You can copy paste from the old version if you want it back.

Edit: Replaced the old svn with the new googlecode page, to prevent confusing people.
Last edited by viblo on Sun Jan 27, 2008 4:26 pm, edited 1 time in total.
http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app
viblo
 
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm

Re: pymunk, a chipmunk python binding.

Postby Ezequiel » Sat Jan 19, 2008 1:38 pm

Thank you, I easily replace my custom engine with pymunk and now the bottleneck is in the AI! :roll:

Are you still maintaining this bindings?
Ezequiel
 
Posts: 8
Joined: Thu Jan 10, 2008 1:50 pm

Re: pymunk, a chipmunk python binding.

Postby viblo » Sun Jan 27, 2008 4:24 pm

http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app
viblo
 
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm

Re: pymunk, a chipmunk python binding.

Postby alecthomas » Tue Feb 05, 2008 7:36 am

I've written against pymunk SVN that adds a setup.py and allows pymunk to work on Linux (hopefully without breaking Windows/OS/X support!).

One other question, what tool did you use to auto-generate the ctypes code from the header?

Thanks for pymunk :)
alecthomas
 
Posts: 2
Joined: Tue Feb 05, 2008 7:14 am

Re: pymunk, a chipmunk python binding.

Postby viblo » Fri Feb 08, 2008 6:52 pm

http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app
viblo
 
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm

Re: pymunk, a chipmunk python binding.

Postby alecthomas » Sun Feb 10, 2008 8:23 am

alecthomas
 
Posts: 2
Joined: Tue Feb 05, 2008 7:14 am

Re: pymunk, a chipmunk python binding.

Postby viblo » Sun Feb 10, 2008 6:33 pm

The problem was that it didn't find the library ;) I don't know the exact problem (got most of the feedback after the pyweek competition), and maybe it was just the user putting the lib in strange places or the code looking for uppercase instead of lowercase or other issues, but I have also seen other reports that it isn't perfect (for example pyglet has a custom find_library() function)

Anyway I havn't had any problems myself with either find_library() or the ctload module used now, but Im on a windows machine... If you think find_library is the best maybe I should switch back? (I added your changes to svn but as you say, the find/load functionality needs some more work before it is perfect)
http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app
viblo
 
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm

Re: pymunk, a chipmunk python binding.

Postby viblo » Sat Mar 01, 2008 9:31 am

I made an update to the first post (and this post is just to bump to make the forum mark the thread for those who might be interested).
http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app
viblo
 
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm

Re: pymunk, a chipmunk python binding.

Postby crazy-chris » Tue Mar 04, 2008 3:50 am

I think pymunk is a great work -- thanks for making chipmunk accessible for us python developers! :) I'm currently supporting the and will try to port the engine and bindings to the and see if I can get a few well running examples done.

I'd love to contribute to pymunk as well, if I anyhow could.
I'd suggest to setup some basic infrastructure for collaboration on pymunk:

* Wiki
* Forum (subforum here?)
* IRC Channel (#chipmunk or #pymunk on irc.freenode.net?)

I'd already have a few nice examples, i would like to post, and also a few questions to ask -- so some infrastructure could help a lot for sharing those as well :)

Chris

EDIT: I'll upload my pymunk examples to http://linuxuser.at/pymunk/
crazy-chris
 
Posts: 7
Joined: Tue Mar 04, 2008 3:40 am

Next

Return to Community Creations

Who is online

Users browsing this forum: No registered users and 1 guest

cron