Search found 3117 matches
- Fri Mar 21, 2025 11:11 am
- Forum: Support and Development
- Topic: Accessing LÖVE C++ internals via luajit FFI
- Replies: 5
- Views: 514
Re: Accessing LÖVE C++ internals via luajit FFI
Is there a case for making this kind of integration easier in love2d? Discuss! https://github.com/love2d/love/issues/1640 That being said, love 12 has 3 different graphics backends rather than just OpenGL. Hard-coding opengl internals into an app won't work there. Some graphics APIs (such as Vulkan...
- Wed Mar 05, 2025 11:58 am
- Forum: Support and Development
- Topic: x86 Windows versions of LOVE from 11.0 and onwards not working on x86 Windows?
- Replies: 1
- Views: 422
Re: x86 Windows versions of LOVE from 11.0 and onwards not working on x86 Windows?
love 11 supports Windows Vista and newer.
- Sat Feb 08, 2025 8:40 pm
- Forum: Support and Development
- Topic: Black area while resizing window
- Replies: 17
- Views: 5327
- Sun Feb 02, 2025 2:11 pm
- Forum: Support and Development
- Topic: Black area while resizing window
- Replies: 17
- Views: 5327
Re: Black area while resizing window
I don't recommend that code - it will break on various platforms in love 11, and won't work at all in love 12.
- Sat Feb 01, 2025 10:09 pm
- Forum: Support and Development
- Topic: Cannot require modules with init.lua
- Replies: 9
- Views: 2374
Re: Löve is missing the package path to import init.lua libraries - Cannot require modules with init.lua
love doesn't use package.path as its primary module searcher, it uses a module searcher from love.filesystem instead which does look for init.lua. I recommend structuring your project so that main.lua is at the root, and then you pick whether to load client or server files from there based on a comm...
- Sat Feb 01, 2025 3:36 pm
- Forum: Support and Development
- Topic: Local File System access, File Browsers and Messageboxes?
- Replies: 5
- Views: 1628
Re: Local File System access, File Browsers and Messageboxes?
https://love2d.org/wiki/12.0
You're looking at the 12.0 source code. You can download nightly builds if you want, via the Github Actions page.
You're looking at the 12.0 source code. You can download nightly builds if you want, via the Github Actions page.
- Sun Jan 19, 2025 2:52 pm
- Forum: Support and Development
- Topic: [SOLVED] Return value of love.window.getMode
- Replies: 8
- Views: 1512
Re: Return value of love.window.getMode
# counts the number of array elements in a table, whereas the settings table in getMode/setMode only has named fields.
- Sun Jan 19, 2025 12:52 am
- Forum: Support and Development
- Topic: [SOLVED] Return value of love.window.getMode
- Replies: 8
- Views: 1512
Re: Return value of love.window.getMode
Can you post the code that checks whether it's empty? I don't think that should be possible.
- Tue Jan 07, 2025 12:29 pm
- Forum: Support and Development
- Topic: Inconsistent values from Font:getWidth()
- Replies: 8
- Views: 1984
Re: Inconsistent values from Font:getWidth()
Font:getHeight is the distance from the start of one line of text to the start of the next line, it doesn't measure baseline on its own. There's a separate method for that if you really need it.
- Tue Jan 07, 2025 12:03 pm
- Forum: Support and Development
- Topic: Inconsistent values from Font:getWidth()
- Replies: 8
- Views: 1984
Re: Inconsistent values from Font:getWidth()
It's likely a bug in your code (for example a different Font object is active than you thought). Can we see the code?