box2d playground

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
player_258
Prole
Posts: 9
Joined: Thu Jun 20, 2013 3:37 pm

box2d playground

Post by player_258 »

hi!

i made a box2d playground a while back but eventually got bored and it sat on my hard drive for a year or something.
the export function will write a .lua in "AppData\Roaming\LOVE\box2d_editor"

buttons are not labeled (too lazy) so this is what they do:

Code: Select all

 -Selection 

 -Rectangle
 -Polygon
 -Circle
 -Edge
 -Chain

 -Show/hide grid
 -Smaller grid
 -Bigger grid
 -Disable snap

 -Export
controls:

Code: Select all

 -T: enable/disable test mode
 -del: delete shape selected
 -left mouse button: drag shapes around in test mode
 -middle mouse button: move camera
 -right mouse button: place last vertex in polygons and chainshapes
pic1.png
pic1.png (38.63 KiB) Viewed 2219 times
pic3.png
pic3.png (36.86 KiB) Viewed 2219 times
feel free to do whatever you want with it :awesome:
Attachments
box2d.love
(11.04 KiB) Downloaded 221 times
sorry if i make any english mistake, not my native language
User avatar
hairy puppy
Prole
Posts: 29
Joined: Tue Apr 22, 2014 3:34 pm

Re: box2d playground

Post by hairy puppy »

thats very nice, its just lovely to see physics at work ;)
i just gotten to box2d for love2d, ive used ofxbox2d with openframeworks for a while so it should be easy to convert the ideas over
lewis lepton
------
http://smokingbunny.net
Post Reply

Who is online

Users browsing this forum: No registered users and 63 guests