Page 1 of 1

where can I learn about Polygons

Posted: Fri Oct 18, 2013 2:54 pm
by kingslovelua
Hello I'm searching the internet on how to create polygons, but can't find anything good. I want to learn how to do this for the shape = love.physics.newPolygonShape( x1, y1, x2, y2, x3, y3, ... ) in the love2d Documentation. so does anyone know any good website on polygon creations/ tutorial.

Re: where can I learn about Polygons

Posted: Fri Oct 18, 2013 3:38 pm
by Ensayia
Are you looking to create just a visual polygon shape or a complete physics object?

If you just want to render the shape you need http://www.love2d.org/wiki/love.graphics.polygon.

If you're looking for an object with physics, you'll have to learn a bit about how Box2D works.