Search found 3078 matches

by slime
Tue May 07, 2024 5:36 pm
Forum: Support and Development
Topic: Garbage Collector and FFI
Replies: 4
Views: 95

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: 4
Views: 95

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: 123

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: 797

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: 797

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: 496

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: 496

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...
by slime
Sat Mar 30, 2024 12:13 pm
Forum: Support and Development
Topic: How to force draw an image on top of another image?
Replies: 6
Views: 652

Re: How to force draw an image on top of another image?

Images appear back-to-front in the order they're drawn - however the pairs iterator function doesn't have a defined order, so you can't rely on it for things that should be ordered.

Using an array and iterating with ipairs is the usual way to do it instead.
by slime
Fri Mar 22, 2024 10:59 am
Forum: Support and Development
Topic: [BUG] Video not playing to the end
Replies: 7
Views: 3998

Re: [BUG] Video not playing to the end

love uses libtheora with no special flags. I imagine most theora encoder tools and video players use libtheora.

It's not a very good library or video codec for making something that consistently works well though, so I'm not surprised about issues like that affecting several tools.
by slime
Tue Mar 19, 2024 8:53 pm
Forum: Support and Development
Topic: Why fonts look different on LOVE than on web browser?
Replies: 5
Views: 2508

Re: Why fonts look different on LOVE than on web browser?

love uses FreeType for truetype text rendering. FreeType has its own rasterization algorithms and default hinting that may behave differently from a specific operating system's own text renderer. (In fact, text rendered through the OS will look different on each OS.) That being said, without knowing...