Search found 3444 matches
- Thu Sep 28, 2023 6:45 pm
- Forum: Support and Development
- Topic: isDown, keypressed or wasPressed?
- Replies: 9
- Views: 6793
Re: isDown, keypressed or wasPressed?
Also, there is no such thing as wasPressed.
- Sat Sep 23, 2023 4:41 am
- Forum: General
- Topic: I just accidentally found a literal zip bomb for the ram in love
- Replies: 3
- Views: 6311
Re: I just accidentally found a literal zip bomb for the ram in love
Technically, calling play on audio Sources while they are already playing should not do anything, so i'm really suprised if that would actually be the issue here and not something else you're also doing that you didn't share (e.g. calling :clone on one of the sources repeatedly; that *might* fill up...
- Wed Sep 06, 2023 3:42 pm
- Forum: Support and Development
- Topic: Is Tlfres defunct?
- Replies: 8
- Views: 4096
Re: Is Tlfres defunct?
Considering it's from before 2017, TLfres should be considered defunct.
- Tue Aug 29, 2023 11:07 am
- Forum: General
- Topic: Collision library that take rotation in to account
- Replies: 14
- Views: 5525
Re: Collision library that take rotation in to account
So, let's forget for now about any separate collision related bodies or shapes. You have one rectangular sprite for the cannon. It has some x and y coords that correspond to some point on itself; center / topleft, doesn't matter which. For movement, you calculate how much it needs to move, and in wh...
- Mon Aug 28, 2023 11:30 pm
- Forum: General
- Topic: Collision library that take rotation in to account
- Replies: 14
- Views: 5525
Re: Collision library that take rotation in to account
Thanks a lot. I'll look in to ConvexPolygonShapes then. That said, according to the docs, "Most shapes will be centered on the point (x,y)." To me, that says that the positioning is based on the centroid of the shapes, not their topleft that you expect for some reason. When I create the r...
- Mon Aug 28, 2023 11:15 pm
- Forum: Support and Development
- Topic: How to add a C library in linux?
- Replies: 3
- Views: 1216
Re: How to add a C library in linux?
Do you need to modify löve itself though? Can you not just require in the c library?
- Mon Aug 28, 2023 1:57 pm
- Forum: General
- Topic: Collision library that take rotation in to account
- Replies: 14
- Views: 5525
Re: Collision library that take rotation in to account
OP post I'm assuming your shape is a polygonshape in HC due to you talking about rectangles. I looked at the code of HC and i'm assuming the move function you were looking for is in fact ConvexPolygonShape:move on line 327 of shapes.lua Also, ConvexPolygonShape:rotate takes in two extra parameters ...
- Sat Aug 26, 2023 10:49 pm
- Forum: Support and Development
- Topic: Not Tiled doesn't work with sti
- Replies: 3
- Views: 1020
Re: Not Tiled doesn't work with sti
The error shows that your image path contains a .. in it;
File paths can't contain .. as far as i know, so you might want to check some settings so that the paths for the images for your maps are referenced in a specific way.
File paths can't contain .. as far as i know, so you might want to check some settings so that the paths for the images for your maps are referenced in a specific way.
- Thu Aug 17, 2023 2:49 pm
- Forum: General
- Topic: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
- Replies: 103
- Views: 35430
Re: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
I agree with the company making money off of licensed stuff point being bad; if you had the means to build up the model yourself though, and only used appropriately licensed stuff (even just your own code), i wouldn't agree against using that machine learning thing (which isn't really AI, regardless...
- Thu Aug 17, 2023 5:24 am
- Forum: General
- Topic: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
- Replies: 103
- Views: 35430
Re: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
But you can not trust the license of chatGPT content. All its 'created' content is remixed from unknown sources witht unknown licenses. Aren't people do same thing? Yes, but: 1. Even that has limitations under laws of countries (e.g. for fan created content of IP people don't, the US has fair use l...