Page 4 of 6

Re: [lib] Box2D Helper

Posted: Sat May 07, 2016 1:19 am
by Alexar
update:new ui and view options
view.gif
view.gif (934.24 KiB) Viewed 8474 times

Re: [lib] Box2D Helper

Posted: Sat May 07, 2016 8:58 am
by cval
Looks fantastic! May i ask, does it support World:queryBoundingBox ? If it doesn't, this is sort of suggestion for you. It could be a neat feature. Idk, like, maybe it should highlight all intersecting fixtures that are in AABB? Because in my practice, sometimes it's cheaper and faster to use this function instead of making big static sensor box for area testing. You can also add category filters to query callback so that only selected categories or types of bodies are included or excluded from query list.

Re: [lib] Box2D Helper

Posted: Sat May 07, 2016 11:21 am
by Alexar
cval wrote:does it support World:queryBoundingBox ?
yes ,I used this function for mouse drag
selecting. but I wanted to make it suitable for different situations. so i didn't use that in updating fixtures. instead I put all interactive functions in world callbacks which are sorted already by the b2d. thanks I do think there rest a lot of things to do to make it better.
the only situation I used static fixtures is simulating buoyancy force. which I need exact vertex to calculate the area in water.

Re: [lib] Box2D Helper

Posted: Wed May 11, 2016 5:18 am
by Crono
THIS IS F*CKING AWESOME MATE!
Keep up the good work!
Any plans on implementing Tiled maps?


PS: I'll use it when it comes out regardless c:

Re: [lib] Box2D Helper

Posted: Thu May 12, 2016 8:44 am
by Alexar
Crono wrote:THIS IS F*CKING AWESOME MATE!
Keep up the good work!
Any plans on implementing Tiled maps?
thanks man, for objects from tiled map, I think I will put it into my todo list, but not now.

Here comes the new update: you can define some build in behaviors by just selecting from ui, no code needed.
makejump.gif
makejump.gif (1.04 MiB) Viewed 8350 times

Re: [lib] Box2D Helper

Posted: Thu May 12, 2016 10:36 am
by Jack5500
Alexar, what's the plan for this editor? Is it supposed to spit out lua code at the end, or is it supposed to be integrated like a library?
I really looks like something that could improve my workflow though.

Re: [lib] Box2D Helper

Posted: Thu May 12, 2016 10:50 am
by Alexar
Jack5500 wrote:Alexar, what's the plan for this editor? Is it supposed to spit out lua code at the end, or is it supposed to be integrated like a library?
I really looks like something that could improve my workflow though.
it will include 3 parts.
a library for easy box2d draw data saving and loading and behavior design
an editor to edit objects and scenes. output by luatable or json. which can be loaded by a loader.
a physics sandbox game. totally free to build a physic world.

Re: [lib] Box2D Helper

Posted: Mon May 16, 2016 8:51 am
by Alexar
so, here is the new update, and I am glad to say the test version of this editor is coming soon
fight.gif
fight.gif (2.52 MiB) Viewed 8244 times
and a video.
http://www.filedropper.com/makingman

Re: [lib] Box2D Helper

Posted: Mon May 16, 2016 11:46 am
by pgimeno
Awesome tool!

One question. Is the library going to be CC BY-NC-ND 3.0, or just the editor?

Re: [lib] Box2D Helper

Posted: Mon May 16, 2016 1:16 pm
by Alexar
pgimeno wrote:Awesome tool!

One question. Is the library going to be CC BY-NC-ND 3.0, or just the editor?
the library for now is the same as the editor cc3.0,but after realeasing the editor, i think the lib will be a cc-by or mit, and i hope someone could add the cocos version and giderose version of loader for the lib. i hope my editor can be more easy and funny to use then "physics editor".