Search found 3436 matches

by zorg
Thu Oct 19, 2023 6:26 am
Forum: Support and Development
Topic: USB Audio interface support?
Replies: 4
Views: 6130

Re: USB Audio interface support?

I believe that Löve 12.0 will have the ability to select the actual audio device for the game to use, so that might be a solution, regardless whether effects are used or not; that's not the issue if there's no sound *at all*. Alternatively, that device might work only in exclusive mode, and if anoth...
by zorg
Mon Oct 02, 2023 9:19 am
Forum: Support and Development
Topic: It seems like there is an issue with my Fourier transform.
Replies: 1
Views: 4750

Re: It seems like there is an issue with my Fourier transform.

First of all, your file's character encoding is not utf-8, but GB2312, which it shouldn't be; fix that and keep to it if you don't want random unexplainable errors. Second, love.sound.newSoundData can directly take a filename, you most definitely do not need to read in the data manually. Third, the ...
by zorg
Thu Sep 28, 2023 6:45 pm
Forum: Support and Development
Topic: isDown, keypressed or wasPressed?
Replies: 9
Views: 6674

Re: isDown, keypressed or wasPressed?

Also, there is no such thing as wasPressed.
by zorg
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: 6191

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...
by zorg
Wed Sep 06, 2023 3:42 pm
Forum: Support and Development
Topic: Is Tlfres defunct?
Replies: 8
Views: 3980

Re: Is Tlfres defunct?

Considering it's from before 2017, TLfres should be considered defunct.
by zorg
Tue Aug 29, 2023 11:07 am
Forum: General
Topic: Collision library that take rotation in to account
Replies: 14
Views: 5261

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...
by zorg
Mon Aug 28, 2023 11:30 pm
Forum: General
Topic: Collision library that take rotation in to account
Replies: 14
Views: 5261

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...
by zorg
Mon Aug 28, 2023 11:15 pm
Forum: Support and Development
Topic: How to add a C library in linux?
Replies: 3
Views: 1171

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?
by zorg
Mon Aug 28, 2023 1:57 pm
Forum: General
Topic: Collision library that take rotation in to account
Replies: 14
Views: 5261

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 ...
by zorg
Sat Aug 26, 2023 10:49 pm
Forum: Support and Development
Topic: Not Tiled doesn't work with sti
Replies: 3
Views: 971

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.