How would I draw this for my game. The blue is supposed to be physics bodies. Normal Black background. I was thinking Something like…
function setup()
e1=physics.body(EDGE,vec2(0,0),vec2(0,HEIGHT))
e2=physics.body(EDGE,vec2(0,HEIGHT),vec2(WIDTH,HEIGHT))
e3=physics.body(EDGE,vec2(WIDTH,HEIGHT),vec2(WIDTH,0))
end
function draw()
background(0,0,0,255)
end
I don’t want the bottom and top physics.body to be the full width of the screen I want a gap as seen in the picture.
http://m.imgur.com/Th6dK5E
P.S Sorry for Upside Down Picture
Any Help Appreciated,
Griffin