Rendering issue with polygon
Posted: Thu Sep 26, 2019 4:28 am
So I'm trying to make some sort of message box with an arrow pointing to a square.
I'm using to render this. I'm rendering a rectangle-shaped polygon, and if some character were to be talking, then there would be more vertices to turn that rectangle into a speech bubble shape.
So in the bottom image, I clicked on the character on the right, the left part of the arrow is way off to the left, so I assumed my math was wrong. However, when I used the SAME vertices with, it works as intended
Is there any caveat or something wrong with my implimenation of
I'm using
Code: Select all
love.graphics.polygon
So in the bottom image, I clicked on the character on the right, the left part of the arrow is way off to the left, so I assumed my math was wrong. However, when I used the SAME vertices with
Code: Select all
love.graphics.points
Is there any caveat or something wrong with my implimenation of
Code: Select all
love.graphics.polygon