[Chipmunk2D4PB] 2D Physics Engine

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [Chipmunk4PB] 7.0.2_1.0 (2D Physics Engine) is released

Post by IceSoft »

Chipmunk4PB] 7.0.2_1.0 (2D Physics Engine) is released,
For more info see the first entry.

Interaction on the demo:
[F12] = Switch between the examples
[Mouse] can catch the "objects"

Have fun!

VERY IMPORTANT:
Dont forget to install the MP3D subsystem if you want to develope your own 2D pysics stuff with PureBasic.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [Chipmunk4PB] 7.0.2_1.0 (2D Physics Engine) IS RELEASED

Post by IceSoft »

Chipmunk4PB_7.02 is available as UserLib written in C++:
Thanks to @Lunasole also for his version too!

Download:
https://www.rsbasic.de/backupprogramme/ ... 180730.zip (188 KB)

Content:
PB example folder with some examples
Residents file: ...\Residents\Chipmunk4PB.res
UserLibrary: ...\UserLibraries\Chipmunk4PB
Howto add it to PureBasic:
1) unzip the package
2) Copy the whole "PureBasic" folder over the existing PureBasic folder of your PureBasic installation
=> All Chipmunk2D4PB files will be copied into the PureBasic folder
3) Start PureBasic and run the 'Chipmunk2D4PB_Demo_20180718.pb' demo
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: [Chipmunk2D4PB] 2D Physics Engine

Post by Mijikai »

Im curious but the download links for Chipmunk2D4PB seem to be invalid?
Also, is it x86 only?
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [Chipmunk2D4PB] 2D Physics Engine

Post by IceSoft »

Mijikai wrote:Im curious but the download links for Chipmunk2D4PB seem to be invalid?
Also, is it x86 only?
x64 only!
Chipmunk2D4PB download updated:
http://backup.rsbasic.de/?file=__Chipmu ... 180730.zip
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
superadnim
Enthusiast
Enthusiast
Posts: 480
Joined: Thu Jul 27, 2006 4:06 am

Re: [Chipmunk2D4PB] 2D Physics Engine

Post by superadnim »

hi this looks nice but it wont compile any reason i get these errors on x64?
---------------------------
PureBasic - Linker error
---------------------------
POLINK: warning: Invalid machine type in object 'PBwrapper_7.03_plus.obj'.

POLINK: warning: Unrecognized option 'FAILIFMISMATCH:_MSC_VER=1800'; ignored.

POLINK: warning: Unrecognized option 'FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0'; ignored.

POLINK: warning: Unrecognized option 'FAILIFMISMATCH:RuntimeLibrary=MD_DynamicRelease'; ignored.

POLINK: warning: Invalid machine type in object 'cpBody.obj'.

POLINK: warning: Invalid machine type in object 'cpSpace.obj'.

POLINK: warning: Invalid machine type in object 'cpSpaceQuery.obj'.

...

POLINK: fatal error: 100 unresolved external(s).
---------------------------
OK
---------------------------
Maybe im doing something wrong they seem like mismatch cpu architecture errors

:lol: should I bash the keyboard and give up?
:?
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [Chipmunk2D4PB] 2D Physics Engine

Post by IceSoft »

superadnim wrote:hi this looks nice but it wont compile any reason i get these errors on x64?
---------------------------
PureBasic - Linker error
---------------------------
POLINK: warning: Invalid machine type in object 'PBwrapper_7.03_plus.obj'.

POLINK: warning: Unrecognized option 'FAILIFMISMATCH:_MSC_VER=1800'; ignored.

POLINK: warning: Unrecognized option 'FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0'; ignored.

POLINK: warning: Unrecognized option 'FAILIFMISMATCH:RuntimeLibrary=MD_DynamicRelease'; ignored.

POLINK: warning: Invalid machine type in object 'cpBody.obj'.

POLINK: warning: Invalid machine type in object 'cpSpace.obj'.

POLINK: warning: Invalid machine type in object 'cpSpaceQuery.obj'.

...

POLINK: fatal error: 100 unresolved external(s).
---------------------------
OK
---------------------------
Maybe im doing something wrong they seem like mismatch cpu architecture errors
I will look on it next week. Sorry for long delay.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
superadnim
Enthusiast
Enthusiast
Posts: 480
Joined: Thu Jul 27, 2006 4:06 am

Re: [Chipmunk2D4PB] 2D Physics Engine

Post by superadnim »

no problem im glad you responded and there is no rush
i ask because im not sure maybe im doing something wrong im not up to par with you guys so i have to ask first.

:lol: should I bash the keyboard and give up?
:?
superadnim
Enthusiast
Enthusiast
Posts: 480
Joined: Thu Jul 27, 2006 4:06 am

Re: [Chipmunk2D4PB] 2D Physics Engine

Post by superadnim »

seems the library is x86 only
any chance of a x64 update or the sources so we can compile our own? since the links are down :(
thank you!

:lol: should I bash the keyboard and give up?
:?
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [Chipmunk2D4PB] 2D Physics Engine

Post by IceSoft »

Small update:
I tested this (actual) version of Chipmunk4PB wrapper with 32bit PB6.01B2 and hurray...it works!

See first entry for explaination like this (download link is updated):
Chipmunk4PB_7.02 is available as UserLib written in C++:
Thanks to @Lunasole for his version too!

Home of the great Chipmunk2D physics library:
http://chipmunk-physics.net

Documentation of Chipmunk2D (You can use it 100% for the PB wrapper too):
http://chipmunk-physics.net/documentation.php


Chipmunk2D4PB download:
https://backups.rsbasic.de/__Chipmunk2D ... 180730.zip


Content:
PB example folder with some examples
Residents file: ...\Residents\Chipmunk4PB.res
UserLibrary: ...\UserLibraries\Chipmunk4PB
Examples:
  • Chains.pbi
    DoublePendulum.pbi
    GrainsDeSable.pbi
    GravityBounce.pbi
    LogoSmash.pbi
    OneWay.pbi
    Plink.pbi
    PyramidStack.pbi
    PyramidTopple.pbi
    Tank.pbi
    Tumble.pbi

[F12] = Step through the examples
[Mouse button] Left catch an object/ right uncatch it.
[D] Debug Draw modus on/off

Howto add it to PureBasic:
1) unzip the package
2) Copy the whole "PureBasic" folder over the existing PureBasic folder of your PureBasic installation
=> All Chipmunk2D4PB files will be copied into the PureBasic folder
3) Start PureBasic and run the 'Chipmunk2D4PB_Demo_20180718.pb' demo
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Post Reply