No, I'm not making another one of those threads (God forbid that happens). I'm actually pointing out some problems that I've noticed:
When filling a concave polygon, the filling is done incorrectly.
When using tab or /t in conjunction with love.graphics.print it give the unknown character.
This may be computer specific, so here we go:
As far as I know, I have everything on the recommended side of the column (except for the multi-touch display screen. I only wish I had that ).
Last edited by davisdude on Sun Feb 02, 2014 9:50 pm, edited 1 time in total.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
When filling a concave polygon, the filling is done incorrectly.
Filled concave polygons aren't supported by [wiki]love.graphics.polygon[/wiki] (its wiki page mentions it.) You could use [wiki]love.math.triangulate[/wiki] to convert your concave polygon into a bunch of triangles which can be rendered properly.
davisdude wrote:
When using tab or /t in conjunction with love.graphics.print it give the unknown character.
slime wrote:Filled concave polygons aren't supported by love.graphics.polygon (its wiki page mentions it.) You could use love.math.triangulate to convert your concave polygon into a bunch of triangles which can be rendered properly.
My bad. I guess I just figured it would work.
slime wrote:This is fixed for version 0.9.1.
That's good!
On a side note, why not have love.math.triangulate automatically put in the framework for LÖVE with filled polygons? Any reason in particular?
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
davisdude wrote:On a side note, why not have love.math.triangulate automatically put in the framework for LÖVE with filled polygons? Any reason in particular?
vrld wrote:Tesselation would be a possibility. Doing this on every frame (i.e. LÖVE-side) is not a way to go though, as all practical triangularization-algorithms have at least a loglinear runtime. Providing a tesselation method within löve would be nice though and is not that hard to implement in Lua: http://github.com/vrld/dynamic-light/bl ... ms.lua#L74
Okay. Got it now! Thanks!
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim