Hi everyone,
I've thus far managed to integrate Box2D into my top down engine, as well as getting it to work and so forth. I'm still thinking exactly how to handle the physics world so that Box2D performs well and I get the results that want. This is as far as I got (within 24 hours).

I made a basic convex hull using a few triangles spread around the star. This was hand done, so I didn't make an algorithm to do it mainly because I knew this idea wouldn't work. It was mainly just to test Box2D and to get it working.
As this game is top down, there is space that is defined as the play area, and space that is simple void. Most of the time I see Box2D being used for platform side scrolling type games, but I don't think that this will stop it from working in this particular case.
The hard part now, is to figure out how to generate the convex hull that will be suitable for levels. I had one idea of inversing the playable space and triangulating the triangles which represents the void space with extents just slight larger the the entire play area. This could lead to very large Box2D simulation worlds, which I read is quite bad on performance.
I could potentially split up the level into several small Box2D worlds instead, but unless I do per major sector then I would still have issues of how to generate convex hulls properly.
Anyways, I'm still thinking about it generally, and I was just branching out to this community as you guys would have used this library a lot more than I have currently... I did find a few posts about convex hull generation, but I haven't found any solid examples just yet.
I've thus far managed to integrate Box2D into my top down engine, as well as getting it to work and so forth. I'm still thinking exactly how to handle the physics world so that Box2D performs well and I get the results that want. This is as far as I got (within 24 hours).

I made a basic convex hull using a few triangles spread around the star. This was hand done, so I didn't make an algorithm to do it mainly because I knew this idea wouldn't work. It was mainly just to test Box2D and to get it working.
As this game is top down, there is space that is defined as the play area, and space that is simple void. Most of the time I see Box2D being used for platform side scrolling type games, but I don't think that this will stop it from working in this particular case.
The hard part now, is to figure out how to generate the convex hull that will be suitable for levels. I had one idea of inversing the playable space and triangulating the triangles which represents the void space with extents just slight larger the the entire play area. This could lead to very large Box2D simulation worlds, which I read is quite bad on performance.
I could potentially split up the level into several small Box2D worlds instead, but unless I do per major sector then I would still have issues of how to generate convex hulls properly.
Anyways, I'm still thinking about it generally, and I was just branching out to this community as you guys would have used this library a lot more than I have currently... I did find a few posts about convex hull generation, but I haven't found any solid examples just yet.