It does throw an error if you use an invalid key constant.
That particular tutorial was created almost a decade and a half ago when love's APIs were a little different, there are probably much better ones to look at these days.
Search found 3071 matches
- Fri Dec 15, 2023 6:54 pm
- Forum: Support and Development
- Topic: Love tutorial about input
- Replies: 3
- Views: 21899
- Sun Dec 10, 2023 3:25 pm
- Forum: Support and Development
- Topic: LÖVE 11.5 — is Windows 7 no longer supported?
- Replies: 5
- Views: 10141
Re: LÖVE 11.5 — is Windows 7 no longer supported?
Hello, did Windows 7 support end with 11.5? I couldn't find anything in changelog or there on forums, also homepage still says "Vista+". I ask because I get "The procedure entry point CreateFile2 could not be located in the dynamic link library KERNEL32.dll" error on launching l...
- Thu Dec 07, 2023 1:57 pm
- Forum: General
- Topic: Can someone compile for MS Windows pls? (solved)
- Replies: 3
- Views: 7215
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.
- Mon Dec 04, 2023 1:11 am
- Forum: General
- Topic: LÖVE 11.5 released!
- Replies: 19
- Views: 178891
- Sun Dec 03, 2023 6:47 pm
- Forum: General
- Topic: LÖVE 11.5 released!
- Replies: 19
- Views: 178891
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...
- Sun Dec 03, 2023 2:33 pm
- Forum: General
- Topic: LÖVE 11.5 released!
- Replies: 19
- Views: 178891
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...
- 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: 1166
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...
- Thu Nov 23, 2023 12:16 am
- Forum: Libraries and Tools
- Topic: cindy - [0-255] color range in LÖVE 11
- Replies: 12
- Views: 16370
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 ...
- Sun Nov 19, 2023 10:24 pm
- Forum: Support and Development
- Topic: Error Handling: outofmem issue
- Replies: 6
- Views: 4925
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.
- Mon Nov 13, 2023 11:36 pm
- Forum: Support and Development
- Topic: Love wont display anything :( [CLOSED]
- Replies: 7
- Views: 4603
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...