2D Physics example: Line Of Sight with Chipmunk4PB
2D Physics example: Line Of Sight with Chipmunk4PB
Techdemo (at the momentl).
Screenshot:
Download:
http://www.morty-productions.de/icesoft ... fSight.zip (86.1 KB)
Screenshot:
Download:
http://www.morty-productions.de/icesoft ... fSight.zip (86.1 KB)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
This is gorgeous.
How far away is the wrapper?
How far away is the wrapper?
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
I think it is ready for take offvoid wrote:This is gorgeous.
How far away is the wrapper?
But before I reales it I want to write a small 'Angry Birds' example with the Chipmunk4PB wrapper at least.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
Runs slower and slower, after a couple of seconds the line of sight isn't recognized correctly anymore
(full circle is being displayed all the time) and the application uses almost 2GB of ram after 20 seconds.
Something seems to be wrong there...
(full circle is being displayed all the time) and the application uses almost 2GB of ram after 20 seconds.
Something seems to be wrong there...
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
May be the event loop isn't correct, and messages stack up.
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
There was a 'Memory Leak' on the MP3D engine. Fixed on the MP3D engine.
I will upload a new version (with two lights) and fixed leak (MP3D)
I will upload a new version (with two lights) and fixed leak (MP3D)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
Ok. Here is it. With two lights now.
Please try it. It should no longer leak and frozen.
And it have some more features:
You can switch on/off the displaying of objects (key: [1] and [0])
You can catch the objects and move it pressing the left mouse button:
Screenshot:
Download:
http://www.morty-productions.de/icesoft ... ght_2L.zip (93.4kb)
Please try it. It should no longer leak and frozen.
And it have some more features:
You can switch on/off the displaying of objects (key: [1] and [0])
You can catch the objects and move it pressing the left mouse button:
Screenshot:
Download:
http://www.morty-productions.de/icesoft ... ght_2L.zip (93.4kb)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
Looking good. Have you decided what kind of terms you'll be releasing the wrapper under?
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
I think the Chipmunk4PB (for Chipmunk 6.1.1) will not released for free.void wrote:Looking good. Have you decided what kind of terms you'll be releasing the wrapper under?
Only the Chipmunk4PB (for Chipmunk 5.3.5) will be still free.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
- zxtunes.com
- Enthusiast
- Posts: 375
- Joined: Wed Apr 23, 2008 7:51 am
- Location: Saint-Petersburg, Russia
- Contact:
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
6fps ...IceSoft wrote: Download:
http://www.morty-productions.de/icesoft ... ght_2L.zip (93.4kb)
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
I am less concerned about price and more concerned about whether it will be a binary-only release.IceSoft wrote:I think the Chipmunk4PB (for Chipmunk 6.1.1) will not released for free.void wrote:Looking good. Have you decided what kind of terms you'll be releasing the wrapper under?
Only the Chipmunk4PB (for Chipmunk 5.3.5) will be still free.
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
It will be delivered like the MP3D engine.void wrote:I am less concerned about price and more concerned about whether it will be a binary-only release.IceSoft wrote:I think the Chipmunk4PB (for Chipmunk 6.1.1) will not released for free.void wrote:Looking good. Have you decided what kind of terms you'll be releasing the wrapper under?
Only the Chipmunk4PB (for Chipmunk 5.3.5) will be still free.
A binary release with some demos (also binaries) and with lot of example codes.
Demos will be written by users which has used the Chipmunk4PB 5.3.3 version within his programs (e.g.: AndyLy with ForthRaider)
Examples will be the same as you can find with the Chipmunk distribution plus some more of course.
And last but not least: Chipmunk4PB will be have more additional features/helper function which willl help to write 2D (physics) games easier and faster as with the PureBasic nativ code only.
Currently it is not optimized. I got 10 FPS as you can see on the screenshot.zxtunes.com wrote:6fps ...IceSoft wrote: Download:
http://www.morty-productions.de/icesoft ... ght_2L.zip (93.4kb)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: 2D Physics example: Line Of Sight with Chipmunk4PB
That's unfortunate. I was hoping to be able to use this, but I suppose I'll have to put together my own solution.IceSoft wrote:It will be delivered like the MP3D engine.
A binary release with some demos (also binaries) and with lot of example codes.