Search found 3105 matches

by slime
Sun Dec 22, 2024 5:26 pm
Forum: Support and Development
Topic: Problem with directorydropped() on Windows
Replies: 3
Views: 342

Re: Problem with directorydropped() on Windows

Anything within the love.filesystem virtual filesystem uses /, so getDirectoryItems does, but the folder path in directorydropped doesn't.
by slime
Sun Dec 22, 2024 1:17 pm
Forum: Support and Development
Topic: Problem with directorydropped() on Windows
Replies: 3
Views: 342

Re: Problem with directorydropped() on Windows

The file separator when using love.filesystem on windows is / (forward slash).
by slime
Fri Dec 06, 2024 12:03 pm
Forum: Support and Development
Topic: Will a thread or/and channel get dereferenced automatically?
Replies: 2
Views: 937

Re: Will a thread or/and channel get dereferenced automatically?

Channel objects aren't owned by a specific thread, they're reference-counted across threads like other love objects.
by slime
Tue Nov 19, 2024 3:51 am
Forum: Support and Development
Topic: MotorJoint - missing functions?
Replies: 2
Views: 1095

Re: MotorJoint - missing functions?

love currently uses Box2D 2, which is significantly different in many areas from the freshly released box2D 3 (whose docs are on the linked page), for what it's worth.
by slime
Fri Nov 15, 2024 7:51 pm
Forum: Support and Development
Topic: Error: attempt to index field 'physics' (a nil value)
Replies: 4
Views: 1279

Re: Error: attempt to index field 'physics' (a nil value)

It sounds like you've disabled love.physics in your conf.lua file.
by slime
Wed Oct 09, 2024 10:52 pm
Forum: Support and Development
Topic: memory usage and debug.sethook
Replies: 2
Views: 9679

Re: memory usage and debug.sethook

is it good to ship my game with such hook. No, it'll interact very poorly with JIT compilation, and it'll make your code slower when it works. I've been trying to narrow it down and find out what exactly is causing these mem alloc bumps. To no avail. Something like https://github.com/pfirsich/jprof...
by slime
Mon Sep 30, 2024 7:47 pm
Forum: General
Topic: Adding .so files for Android
Replies: 3
Views: 11414

Re: Adding .so files for Android

If you have lots of questions about Android usage you might be better off joining the Discord server, the primary Android maintainer doesn't visit the forums super frequently.
by slime
Wed Sep 18, 2024 10:56 am
Forum: Support and Development
Topic: [SOLVED] How to get timeout in Lua https
Replies: 4
Views: 11516

Re: How to get timeout in Lua https

Gunroar:Cannon() wrote: Wed Sep 18, 2024 9:57 am I thought there were timeouts because I saw some stuff when I browsed it. I know it's not the same lib, but there were many different pages like this.
Yeah, that's for a totally different library with different APIs.
by slime
Wed Sep 18, 2024 2:36 am
Forum: Support and Development
Topic: [SOLVED] How to get timeout in Lua https
Replies: 4
Views: 11516

Re: How to get timeout in Lua https

What made you assume there is a timeout API? If you want to prevent stalls, you'd need to use a thread since any https request, even successful ones that happen quickly, will block the thread they're called from until the request is done. That being said, what sort of situation are you creating wher...
by slime
Wed Sep 11, 2024 11:00 am
Forum: General
Topic: Does Love2D support SSL/https requests?
Replies: 14
Views: 27398

Re: Does Love2D support SSL/https requests?

You need to be logged into github in order for download links to become clickable.