Search found 3081 matches

by slime
Wed May 22, 2024 10:05 pm
Forum: Support and Development
Topic: How do you really tell if your game has a memory leak?
Replies: 23
Views: 1842

Re: How do you really tell if your game has a memory leak?

In case anyone isn't aware, the reason love objects (or anything not entirely owned by Lua) don't get collected "quick enough" to avoid high memory use situations when you spam creation of them, is because Lua isn't able to know how much memory the object actually takes. love objects don't...
by slime
Wed May 15, 2024 2:51 am
Forum: General
Topic: Polygon is too bitmap.
Replies: 9
Views: 844

Re: Polygon is too bitmap.

What does @slime think? As-is, people who use nearest talk about setFilter / setDefaultFilter. And people who use linear don't. So just listening to who's talking about it won't tell you how many people are using each mode. :) Both have valid uses for different art / aesthetic styles. Personally I ...
by slime
Tue May 07, 2024 7:47 pm
Forum: Support and Development
Topic: Garbage Collector and FFI
Replies: 17
Views: 1177

Re: Garbage Collector and FFI

The objects can just be garbage collected because they're recognized as not being used in the future And how can I change that? Reference/use the object after you've used the FFI pointer. See https://luajit.org/ext_ffi_semantics.html#gc for some details. We can only throw guesses at the wall with h...
by slime
Tue May 07, 2024 5:36 pm
Forum: Support and Development
Topic: Garbage Collector and FFI
Replies: 17
Views: 1177

Re: Garbage Collector and FFI

The objects can just be garbage collected because they're recognized as not being used in the future, they don't have to be manually deleted for the GC to clean them up. Also make sure you're using zero-based indexing with FFI arrays. We can only throw guesses at the wall with how little information...
by slime
Tue May 07, 2024 4:45 pm
Forum: Support and Development
Topic: Garbage Collector and FFI
Replies: 17
Views: 1177

Re: Garbage Collector and FFI

Make sure the original memory allocations (for example the objects returned by love.image.newImageData in your first bit of code) are still accessible when the FFI pointers that point to their memory are used. Otherwise Lua may garbage-collect the original objects and free their memory while you're ...
by slime
Tue May 07, 2024 11:23 am
Forum: General
Topic: Love2D should look into its android capabilities
Replies: 2
Views: 419

Re: Love2D should look into its android capabilities

(Too bad it doesn't seem like Love2D community Devs really care that an actual pretty famous game is made with Love2D, but that's besides the point) Balatro's great. It's also not nearly the first famous game made with LÖVE. :) If you're talking about the homepage, we just don't have active people ...
by slime
Sat May 04, 2024 2:40 am
Forum: Support and Development
Topic: fixture:setMask requiring two arguments
Replies: 6
Views: 1014

Re: fixture:setMask requiring two arguments

In the screenshot, VScode uses the same text as the wiki. Did they parse the wiki somehow or is that docu created by hand? Would it make sense to standardize the style a bit to make it more machine-readable? I believe it's a heavily modified edit of something that originated as a wiki scrape. I'm i...
by slime
Fri May 03, 2024 8:57 pm
Forum: Support and Development
Topic: fixture:setMask requiring two arguments
Replies: 6
Views: 1014

Re: fixture:setMask requiring two arguments

While the wiki could be more clear, updating it won't fix that vscode extension. Like dusoft said it's a separate and independently developed piece of software.
by slime
Sat Apr 27, 2024 8:32 pm
Forum: Support and Development
Topic: Minimum system requirements for 11.5.0
Replies: 6
Views: 1015

Re: Minimum system requirements for 11.5.0

love 11.5's deployment target (runtime minimum version set during the build process) for macOS is 10.11, so it won't run on earlier operating systems - or if you're unlucky it will run but will randomly crash or otherwise break. Also Steam dropped support for Windows versions below 10 earlier this y...
by slime
Fri Apr 26, 2024 8:46 pm
Forum: Support and Development
Topic: Minimum system requirements for 11.5.0
Replies: 6
Views: 1015

Re: Minimum system requirements for 11.5.0

Balatro uses 11.5. love for macOS supports Intel and Apple Silicon in the same binary (so you'd pick 'both' for that option). 11.5 runs on macOS 10.11+, Windows 7+, and Ubuntu 20.04+ or equivalent (or whatever Linux distros you compile for as a target). You don't need to support everything love itse...