Yes, this:
https://love2d.org/wiki/Shape:testPoint
Search found 510 matches
- Sat Mar 23, 2024 9:48 pm
- Forum: Libraries and Tools
- Topic: Fast 2D point-in-polygon test
- Replies: 13
- Views: 12297
- Sat Mar 23, 2024 9:44 pm
- Forum: Support and Development
- Topic: Can a non-Windows peep test my love file?
- Replies: 8
- Views: 1621
Re: Can a non-Windows peep test my love file?
Now it's working. Save and load works.
- Sat Mar 23, 2024 10:48 am
- Forum: Support and Development
- Topic: Can a non-Windows peep test my love file?
- Replies: 8
- Views: 1621
Re: Can a non-Windows peep test my love file?
Linux tester here (Ubuntu flavor), Error after clicking Continue to draft: Error lib/commonfunctions.lua:556: bad argument #1 to 'lines' (firstnames.csv: No such file or directory) Traceback [love "callbacks.lua"]:228: in function 'handler' [C]: in function 'lines' lib/commonfunctions.lua:...
- Fri Mar 22, 2024 1:53 pm
- Forum: General
- Topic: love.draw - How to run contents of a table
- Replies: 2
- Views: 1450
Re: love.draw - How to run contents of a table
I mean what's the point of this anyway?
Isn't it easier just to require draw objects locally (if they are supposed to be separated) instead of having them in tables?
Isn't it easier just to require draw objects locally (if they are supposed to be separated) instead of having them in tables?
- Wed Mar 20, 2024 11:38 pm
- Forum: Support and Development
- Topic: Why fonts look different on LOVE than on web browser?
- Replies: 5
- Views: 1378
Re: Why fonts look different on LOVE than on web browser?
The difference seems to be in kerning and I would be curious why.
- Wed Mar 20, 2024 1:15 pm
- Forum: General
- Topic: what should i add to my game?
- Replies: 2
- Views: 1128
Re: what should i add to my game?
Maybe provide some basic info regarding your game and your roadmap.
- Wed Mar 20, 2024 1:14 pm
- Forum: Libraries and Tools
- Topic: Layouter - a simple UI grid library
- Replies: 10
- Views: 13815
Re: Layouter - a simple UI grid library
Fixed a bug that hindered horizontal layout.
- Tue Mar 19, 2024 8:47 pm
- Forum: Support and Development
- Topic: Why fonts look different on LOVE than on web browser?
- Replies: 5
- Views: 1378
Re: Why fonts look different on LOVE than on web browser?
Please, post screenshots. AFAIK LOVE uses bitmaps internally for font rendering. Even if you provide TTF, an internal bitmap font will be created from it. This could be the cause.
- Sun Mar 17, 2024 12:55 pm
- Forum: General
- Topic: Gradients (gradient as fill)
- Replies: 10
- Views: 1989
Re: Gradients (gradient as fill)
I might post the library with a bunch of nice polygon handling snippets that uses some recipes from other open source libraries. Or maybe higher level functions centralizing work with 2D bodies (with fixtures and shapes under the roof). I'll see if I have a time provide such library, because I still...
- Sun Mar 17, 2024 5:20 am
- Forum: General
- Topic: Gradients (gradient as fill)
- Replies: 10
- Views: 1989
Re: Gradients (gradient as fill)
Even better examples with full polygon visible.
Gradient starts around the original polygon (boat shaped), but I could make it start around centroid point, this is just matter of setting the scale and drawing...
Gradient starts around the original polygon (boat shaped), but I could make it start around centroid point, this is just matter of setting the scale and drawing...