2D Physik Engine: Chipmunk 4.0.2

Advanced game related topics
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

Demivec wrote:I wanted to test parts of the wrapper for proper functioning. I've been working on this at the same time as you have. And wanted to seem if the parts I had completed worked, or if the portions you had completed worked. I'm not able to get that far because I can't get the above code to succeed. :cry:
My wrapper is finished at 70%. I'm not a wrapper expert :roll:
But someone did a staticlib version, I'll support his version.
Some news ASAP :P

Purebasic will have its chipmunk lib, don't worry.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
Demivec
Addict
Addict
Posts: 4282
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

eddy wrote:My wrapper is finished at 70%. I'm not a wrapper expert :roll:
But someone did a staticlib version, I'll support his version.
Some news ASAP :P

Purebasic will have its chipmunk lib, don't worry.
I'm impatient but not worried. I am frustrated at the moment because I can't get any version of the chipmunk library to load yet. What version are you working with? The example for loading the library I obtained from your code, but it doesn't seem to work. I'm guessing this is due to the library used. For clarification and to assist me in some parallel development, what version are you working with that you have successfully loaded (OpenLibrary()=success)?
User avatar
Demivec
Addict
Addict
Posts: 4282
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

I found a link for a working version of chipmunk-4.0.2.dll here.

It can be loaded with OpenLibrary().
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

I received a complete wrapper for the static lib version (not for DLL version).

I'll post a news tonight.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Sample code using this would be good... A simple example of a sprite and a boc collision etc. 8)
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

I am getting the error:
  • PureBasic.asm [5438]:
    dd SM_I
    error: undefined symbol 'SM_I'
In a messagebox, when I run the chipmunkDemoMain.pb

I think I have everything in all the required places.


Good work so far, eddy, to you and Cpl.Bator (and you mentioned someone else, so to them to).
Dare2 cut down to size
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

1- there are some examples in this package. 8)

2- I'll try to compile an other staticlib if you have time to test it.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
BriceManuel
Enthusiast
Enthusiast
Posts: 195
Joined: Thu Nov 29, 2007 8:23 am

Post by BriceManuel »

Ralph have you got any of the examples working yet?
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Actually no. I am sure it is me though... I have been focusing on the Restaurant POS since integration with the credit card server program has been finicky!!! I plan to play mor this weekend though! Assuming we have power... Houston, Seattle of the South and raining again!!! :D
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
BriceManuel
Enthusiast
Enthusiast
Posts: 195
Joined: Thu Nov 29, 2007 8:23 am

Post by BriceManuel »

Rook Zimbabwe wrote: Houston, Seattle of the South and raining again!!! :D
Will trade ya, we had an ice storm earlier in the week.
Post Reply