Hi everybody,
I'm trying to make some rectangular shapes to drag in the space.
The thing i want to achieve is like the "Drag me" Gideros default example, but i don't want the shapes to overlap (I want to make a puzzle-like game so the pieces don't have to intersect).
I tried with box2d dynamic bodies but the gravity is driving me crazy (even if i set it to 0 the bodies will keep going after I release the finger while moving).
Ideas/tips/suggestions?
Thanks
Comments
or at the time of mouse_down you can calculate minimum and maximum x and y position and then move accordingly assuming you are trying to make game like unblock me.
b2.Body:setLinearDamping(linearDamping)
Likes: Diego_85
http://www.tntparticlesengine.com/?cat=15