It is currently Mon Nov 12, 2018 7:04 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: [Chipmunk4PB] 7.01 Preview (2D Physic Engine Wrapper)
PostPosted: Mon Aug 14, 2017 7:09 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
Here the Chipmunk2D port to [2D]Gravity&Bounce:
http://www.purebasic.fr/french/viewtopic.php?f=2&t=16250

Image

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/?download=Gravity_Bounce_Chipmunk.zip (133.5 KB)

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...


Last edited by IceSoft on Mon Aug 14, 2017 8:06 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.01 Preview (2D Physic Engine Wrapper)
PostPosted: Mon Aug 14, 2017 7:39 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 661
Location: Berlin and Ibiza
IceSoft wrote:

ICEsoft Homepage wrote:
Error 404: Not found

_________________
ImageImageImageImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.01 Preview (2D Physic Engine Wrapper)
PostPosted: Mon Aug 14, 2017 8:06 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
RSBasic wrote:
IceSoft wrote:
Executable:
ICEsoft Homepage wrote:
Error 404: Not found

Fixed. Thanks!

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.01 Preview (2D Physic Engine Wrapper)
PostPosted: Wed Aug 16, 2017 1:55 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
Here the Chipmunk2D demo example "Tumble":

Image

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/?download=Chipmunk2D4PB_Demo_Tumble.zip (133.5 KB)

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.01 Preview (2D Physics Engine Wrapper)
PostPosted: Thu Aug 31, 2017 10:27 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
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)

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Thu Aug 31, 2017 2:27 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 2:46 pm
Posts: 1747
Location: Pas-de-Calais, France
Windows defender : Trojan:Win32/Sprisky.A!cl detected ... Maybe you're using some packer ?


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Thu Aug 31, 2017 4:47 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
djes wrote:
Windows defender : Trojan:Win32/Sprisky.A!cl detected ... Maybe you're using some packer ?

You should ask Fred.
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,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Mon Sep 04, 2017 5:42 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Sep 18, 2013 11:54 am
Posts: 319
Location: France
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)


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Tue Sep 05, 2017 5:04 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
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
viewtopic.php?f=16&t=69013

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Tue Sep 05, 2017 6:10 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Sep 18, 2013 11:54 am
Posts: 319
Location: France
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Tue Sep 05, 2017 9:19 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
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?

I think you mean the mouse (with an object picked) is left the window?
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,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Tue Sep 05, 2017 10:44 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Sep 18, 2013 11:54 am
Posts: 319
Location: France
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Wed Sep 06, 2017 6:21 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
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.

I see it too. Thanks.

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Wed Nov 08, 2017 5:44 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1433
Location: Germany
IceSoft wrote:
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.

I see it too. Thanks.

Fixed.
Actually porting the C++ examples to PB wrapper source examples.

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...


Top
 Profile  
Reply with quote  
 Post subject: Re: [Chipmunk4PB] 7.0.2 Preview (2D Physics Engine Wrapper)
PostPosted: Wed Nov 08, 2017 10:00 am 
Offline
Addict
Addict
User avatar

Joined: Mon Oct 26, 2015 2:55 am
Posts: 892
Location: Ukraine
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)

_________________
Time beyond time

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Exabot [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye