Page 2 of 6

Re: [lib] Box2D Helper

Posted: Sun Apr 17, 2016 3:57 pm
by Alexar
soft.gif
soft.gif (489.12 KiB) Viewed 7120 times
abc.gif
abc.gif (386.78 KiB) Viewed 7120 times

Re: [lib] Box2D Helper

Posted: Sun Apr 17, 2016 8:45 pm
by Guard13007
I'd glimpsed at this briefly, but didn't even scroll down... WOW! This is really neat. I don't have a use for it at the moment, but I think it will definitely come in handy when I do. Thank you!

Re: [lib] Box2D Helper

Posted: Sun Apr 17, 2016 9:05 pm
by airstruck
It does look pretty flippin awesome, been meaning to say that for a while. Would really love to see a github project for this.

Re: [lib] Box2D Helper

Posted: Mon Apr 18, 2016 3:03 am
by Beelz
airstruck wrote:It does look pretty flippin awesome, been meaning to say that for a while. Would really love to see a github project for this.
Seconded! This reminds me of Incredibots a few years back.

Re: [lib] Box2D Helper

Posted: Wed Apr 20, 2016 8:41 am
by Alexar
and new update with fixture bounded callbacks. for example, spark particles, smoke and breakable effect.

Re: [lib] Box2D Helper

Posted: Thu Apr 21, 2016 4:38 am
by AntonioModer
Alexar, breakable box it awesome WOW. :awesome:
Please give sources! :)

My suggestions:

Code: Select all

-- different colors for physics body types (https://love2d.org/wiki/BodyType)
physicsBodyDrawColor = {
    static = {0, 155, 0},
    dynamic = {255, 128, 0},
    kinematic = {50, 50, 255}
}

Re: [lib] Box2D Helper

Posted: Thu Apr 21, 2016 6:19 am
by zorg
I hope the breakability is scriptable, i.e. i could define a function that defines lines that branch and break the object in predictable ways. :3

Re: [lib] Box2D Helper

Posted: Fri Apr 22, 2016 1:15 pm
by Alexar
new update with buoyancy effect.
3.gif
3.gif (1.15 MiB) Viewed 6975 times
boat.gif
boat.gif (1.8 MiB) Viewed 6975 times

Re: [lib] Box2D Helper

Posted: Tue Apr 26, 2016 9:40 am
by Alexar
update: magnet field
magnet.gif
magnet.gif (387.91 KiB) Viewed 6894 times

Re: [lib] Box2D Helper

Posted: Tue Apr 26, 2016 10:46 am
by AntonioModer
Alexar, why you don't give us sources?