[Chipmunk2D4PB] 2D Physics Engine
Re: [Chipmunk4PB] 7.01 Preview (2D Physic Engine Wrapper)
Here the Chipmunk2D port to [2D]Gravity&Bounce:
http://www.purebasic.fr/french/viewtopi ... =2&t=16250
what can you do:
- Mouse is working (mouse picking)
- Player (red square) can be controlled with left/right arrow key and space
- Debug draw (press the "D" for on/off)
Executable:
http://www.morty-productions.de/icesoft ... ipmunk.zip (133.5 KB)
http://www.purebasic.fr/french/viewtopi ... =2&t=16250
what can you do:
- Mouse is working (mouse picking)
- Player (red square) can be controlled with left/right arrow key and space
- Debug draw (press the "D" for on/off)
Executable:
http://www.morty-productions.de/icesoft ... ipmunk.zip (133.5 KB)
Last edited by IceSoft on Mon Aug 14, 2017 8:06 am, edited 1 time in total.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
- RSBasic
- Moderator
- Posts: 1218
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: [Chipmunk4PB] 7.01 Preview (2D Physic Engine Wrapper)
IceSoft wrote:Executable:
http://www.morty-productions.de/icesoft ... ipmunk.zip (133.5 KB)
ICEsoft Homepage wrote:Error 404: Not found
Re: [Chipmunk4PB] 7.01 Preview (2D Physic Engine Wrapper)
Fixed. Thanks!RSBasic wrote:IceSoft wrote:Executable:ICEsoft Homepage wrote:Error 404: Not found
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: [Chipmunk4PB] 7.01 Preview (2D Physic Engine Wrapper)
Here the Chipmunk2D demo example "Tumble":
what can you do:
- Mouse is working (mouse picking)
- Player (red square) can be controlled with left/right arrow key and space
- Debug draw (press the "D" for on/off)
Executable:
http://www.morty-productions.de/icesoft ... Tumble.zip (133.5 KB)
what can you do:
- Mouse is working (mouse picking)
- Player (red square) can be controlled with left/right arrow key and space
- Debug draw (press the "D" for on/off)
Executable:
http://www.morty-productions.de/icesoft ... Tumble.zip (133.5 KB)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: [Chipmunk4PB] 7.01 Preview (2D Physics Engine Wrapper)
what can you do:
- Mouse is working (mouse picking)
- Debug draw (press the "D" for on/off)
[update]
- Chipmunk2D 7.0.2
- PureBasic 5.61 Beta1
Demos (switch between the demos = F12):
- Tank
- Pyramid Stack
- Pyramid Topple
- Gravity&Bounce
Executable:
http://www.morty-productions.de/icesoft ... 2_demo.zip (135KB)
- Mouse is working (mouse picking)
- Debug draw (press the "D" for on/off)
[update]
- Chipmunk2D 7.0.2
- PureBasic 5.61 Beta1
Demos (switch between the demos = F12):
- Tank
- Pyramid Stack
- Pyramid Topple
- Gravity&Bounce
Executable:
http://www.morty-productions.de/icesoft ... 2_demo.zip (135KB)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
Windows defender : Trojan:Win32/Sprisky.A!cl detected ... Maybe you're using some packer ?
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
You should ask Fred.djes wrote:Windows defender : Trojan:Win32/Sprisky.A!cl detected ... Maybe you're using some packer ?
It is only the PureBasic (5.61 beta1) executable zipped (winzip)
But I will make a you tube video.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
You seem to have put a lot efforts into that, and PureBasic really needs a 2D physics engine, so thank you for that. However, this utterly lacks documentation! The title of the thread mentions a 7.0.2 version, but I can only find the 7.0.1. Your examples seem interesting, but as a developer, I would like to have the source code instead of .exe files
(Windows Defender is stupid)
(Windows Defender is stupid)
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
Documentation is the same as the original Chipmunk2D has.
Only some cp*(...) functions will have an additional first parameter in front of the original parameters.
I added the latest changes from Chipmunk2D GitHub.
What's new in Chipmunk2D 7.0.2:
+* MISC: Merging pull requests. Build fixes and the like.
Of course! You all will get the Lib and the source examples/demos too for writing own physics games
I have to fix a memory leak first and add some more missing/interesting stuff.
Also I want try to make a PureBasic Chipmunk4PB wrapper game for this:
Game Programming Contest
http://www.purebasic.fr/english/viewtop ... 16&t=69013
Only some cp*(...) functions will have an additional first parameter in front of the original parameters.
I added the latest changes from Chipmunk2D GitHub.
What's new in Chipmunk2D 7.0.2:
+* MISC: Merging pull requests. Build fixes and the like.
Of course! You all will get the Lib and the source examples/demos too for writing own physics games
I have to fix a memory leak first and add some more missing/interesting stuff.
Also I want try to make a PureBasic Chipmunk4PB wrapper game for this:
Game Programming Contest
http://www.purebasic.fr/english/viewtop ... 16&t=69013
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
Good luck with that
Did you notice that in the pyramid demo, if you take the very top square and drop it to make it roll over all the other squares to the bottom, it has a very strange behavior? Is it a problem with Chipmunk2D or Chipmunk4PB?
Did you notice that in the pyramid demo, if you take the very top square and drop it to make it roll over all the other squares to the bottom, it has a very strange behavior? Is it a problem with Chipmunk2D or Chipmunk4PB?
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
I think you mean the mouse (with an object picked) is left the window?Joubarbe wrote:Good luck with that
Did you notice that in the pyramid demo, if you take the very top square and drop it to make it roll over all the other squares to the bottom, it has a very strange behavior? Is it a problem with Chipmunk2D or Chipmunk4PB?
Fixed! Thanks for info (I saw it too but it was not so important for me to fix it ;-P)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
No I mean the square teleports itself to the bottom, or at least several squares down instead of smoothly rolling over all other squares. I'm talking about the Pyramids demo here. Please see this screenshot and try to reproduce it. The square is not falling in a coherent way.
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
I see it too. Thanks.Joubarbe wrote:No I mean the square teleports itself to the bottom, or at least several squares down instead of smoothly rolling over all other squares. I'm talking about the Pyramids demo here. Please see this screenshot and try to reproduce it. The square is not falling in a coherent way.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
Fixed.IceSoft wrote:I see it too. Thanks.Joubarbe wrote:No I mean the square teleports itself to the bottom, or at least several squares down instead of smoothly rolling over all other squares. I'm talking about the Pyramids demo here. Please see this screenshot and try to reproduce it. The square is not falling in a coherent way.
Actually porting the C++ examples to PB wrapper source examples.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
Hi Icesoft, your wrapper now is really cool (much more usable than my previous), nicely done.
Still Chipmunk is best 2D engine to use with PB (and probably, best one at all)
Still Chipmunk is best 2D engine to use with PB (and probably, best one at all)
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"