Search found 3079 matches

by slime
Thu Dec 07, 2023 1:57 pm
Forum: General
Topic: Can someone compile for MS Windows pls? (solved)
Replies: 3
Views: 7488

Re: Can someone compile for MS Windows pls?

You can also download the standalone version of the lua-https library from https://github.com/love2d/lua-https/actions , if you're logged into github.
by slime
Mon Dec 04, 2023 1:11 am
Forum: General
Topic: LÖVE 11.5 released!
Replies: 19
Views: 206101

Re: LÖVE 11.5 released!

Bobble68 wrote: Sun Dec 03, 2023 9:49 pm Also, am I being stupid or does the homepage still only show 11.4?
Web browsers like to cache static pages like the love homepage. Refreshing (maybe force-refreshing) should make it update.
by slime
Sun Dec 03, 2023 6:47 pm
Forum: General
Topic: LÖVE 11.5 released!
Replies: 19
Views: 206101

Re: LÖVE 11.5 released!

Not yet unfortunately. You can follow the main github issue for it here . I think it should still be possible to selectively enable JIT compilation for specific functions via the jit.on function, which will be more reliable in terms of performance now that other Lua code isn't taking up the same mem...
by slime
Sun Dec 03, 2023 2:33 pm
Forum: General
Topic: LÖVE 11.5 released!
Replies: 19
Views: 206101

LÖVE 11.5 released!

LÖVE version 11.5 is out now! As usual download links are on the homepage and the full changelog is available on the wiki . This is a small release primarily to fix major bugs in LuaJIT's implementation of the pairs iterator, plus a few other bug fixes and minor changes in LÖVE itself. The version o...
by slime
Fri Dec 01, 2023 7:40 pm
Forum: Support and Development
Topic: How do I make LOVE's filesystem prioritize searching the game directory?
Replies: 2
Views: 1193

Re: How do I make LOVE's filesystem prioritize searching the game directory?

This is a feature to enable easier modding and saved-settings-with-defaults support. You can change that behaviour with t.appendidentity = true in love.conf , or with love.filesystem.setIdentity . That said, if you don't want game directory and save directory files to overlap at all you can just use...
by slime
Thu Nov 23, 2023 12:16 am
Forum: Libraries and Tools
Topic: cindy - [0-255] color range in LÖVE 11
Replies: 12
Views: 16649

Re: cindy - [0-255] color range in LÖVE 11

getVertexAttribute does not return the values that were originally passed to setVertexAttribute. This is because each color component of a vertex is represented by a single byte internally. The data type of color components (and any vertex attribute component) isn't fixed like that. You can make a ...
by slime
Sun Nov 19, 2023 10:24 pm
Forum: Support and Development
Topic: Error Handling: outofmem issue
Replies: 6
Views: 5029

Re: Error Handling: outofmem issue

You may also want to add some validation/logging to your code to make sure the newImage call is happening as infrequently as you expect.
by slime
Mon Nov 13, 2023 11:36 pm
Forum: Support and Development
Topic: Love wont display anything :( [CLOSED]
Replies: 7
Views: 4720

Re: Love wont display anything :(

I'm not sure WSL properly supports what love requires in order to render. At the very least you might need to do some tinkering with it to get it to work. Either way a VM like that is not going to be officially supported and may have a number of issues that don't happen in a real OS environment. Her...
by slime
Sun Nov 12, 2023 4:27 pm
Forum: Support and Development
Topic: Canvas index start at 1 or 0?
Replies: 1
Views: 1159

Re: Canvas index start at 1 or 0?

Pixel coordinates are [0, screenSize - 1]. Note that coordinates are not the same as indices.
by slime
Sun Nov 05, 2023 9:01 pm
Forum: Support and Development
Topic: [solved] why does love.filesystem.getInfo return nil on a file that is definitely there?
Replies: 6
Views: 2365

Re: why does love.filesystem.getInfo return nil on a file that is definitely there?

The reason it returned nil in your code is getInfo (and almost every other love.filesystem API) doesn't take full paths, only relative ones. All relative paths in love.filesystem are relative to both the game's source and save directories. Another way to achieve what you want could be to check what ...