Okay, I'm starting to think this problem has got to be in my own code then.
Another question though: where's the Lua code for love.run on the repo? I wasn't able to find it.
Search found 12 matches
- Wed Sep 28, 2011 8:20 pm
- Forum: Support and Development
- Topic: Is Love.update reentrant?
- Replies: 10
- Views: 3529
- Tue Sep 27, 2011 11:22 pm
- Forum: Support and Development
- Topic: Is Love.update reentrant?
- Replies: 10
- Views: 3529
Re: Is Love.update reentrant?
Since nobody seems to have noticed slime's post, I shall redirect you there, he's right. Another thread can't call love.update, because it doesn't exist there. I realize that another Lua thread can't call love.update, but I imagine Love itself could do such a thing. At some point I'm going to have ...
- Tue Sep 27, 2011 5:20 pm
- Forum: Support and Development
- Topic: Is Love.update reentrant?
- Replies: 10
- Views: 3529
Re: Is Love.update reentrant?
Guess I wasn't very clear with my original question... I'm not asking if I should call Love.update(); I'm not that crazy!
Rather I want to know if there's ever a case where Love itself will call Love.update() from outside the main thread and/or concurrently from the same thread (main or otherwise.)
Rather I want to know if there's ever a case where Love itself will call Love.update() from outside the main thread and/or concurrently from the same thread (main or otherwise.)
- Tue Sep 27, 2011 6:22 am
- Forum: Support and Development
- Topic: Is Love.update reentrant?
- Replies: 10
- Views: 3529
Is Love.update reentrant?
Is the Love.update() function assumed to be reentrant? Is it possible for this function to be called from multiple threads? I ask because in the binary module I'm developing I have a function getting called from every Love.update(). There was a bug that I fixed more or less by accident when I added ...
- Sat Sep 03, 2011 11:58 pm
- Forum: Support and Development
- Topic: Developing a binary module
- Replies: 17
- Views: 6534
Re: Developing a binary module
Update: I created a Lua module based on these pages: http://lua-users.org/wiki/BuildingModules http://lua-users.org/wiki/LuaModuleExample Then I loaded that module with Lua's require function inside a Love game. And it worked! For debugging purposes, the binary library can be placed into the same fo...
- Sat Sep 03, 2011 12:31 am
- Forum: Support and Development
- Topic: Developing a binary module
- Replies: 17
- Views: 6534
Re: Developing a binary module
The source might be, but binaries themselves cannot be.miko wrote:So with binary modules the love packages are no longer multiplatform, unless you have each copy of a binary module for windows/macos/linux, right?
- Fri Sep 02, 2011 7:59 pm
- Forum: Support and Development
- Topic: Developing a binary module
- Replies: 17
- Views: 6534
Re: Developing a binary module
Cool, that clears a lot of things up for me. Thanks for your help!
- Fri Sep 02, 2011 7:37 pm
- Forum: Support and Development
- Topic: Developing a binary module
- Replies: 17
- Views: 6534
Re: Developing a binary module
First things first, we intend to make the users aware of what they're installing, so a game can't install a binary module itself (there's an exception, keep reading). Binary modules are looked for in the folder which contains the save dirs, so %APPDATA%\LOVE on windows, .$XDG_DATA_DIR/love on linux...
- Fri Sep 02, 2011 5:13 pm
- Forum: Support and Development
- Topic: Developing a binary module
- Replies: 17
- Views: 6534
Re: Developing a binary module
Can you point me as to where I'd find info on that?bartbes wrote:0.8.0 does have a feature that makes actually loading binary modules more consistent over the various platforms.
- Fri Sep 02, 2011 9:26 am
- Forum: Support and Development
- Topic: Developing a binary module
- Replies: 17
- Views: 6534
Re: Developing a binary module
[quote="Roland_Yonaba"Just want you to make this clear... Why ? Cause (according to me), love.audio and love.sound work extremely well, actually. Maybe you want to add new functionnalities ?[/quote] Yup! A lot of new functions, actually. One option would be modifying love.sound and/or love...