Search found 36 matches
- Tue Dec 19, 2017 10:54 pm
- Forum: Support and Development
- Topic: GPU makes noises even though it shouldn't be drawing anything
- Replies: 1
- Views: 1501
GPU makes noises even though it shouldn't be drawing anything
Hey there, I modified LÖVE's love.run() function such that it only calls love.draw() when a global variable called "dodraw" is true, which is then immediately set to false. This way, I can make sure that LÖVE only draws things when I want it to, thus saving resources. However, my new lapto...
- Tue Jun 14, 2016 2:49 pm
- Forum: Support and Development
- Topic: Unable to find .so files in .love file
- Replies: 17
- Views: 7527
Re: Unable to find .so files in .love file
Sounds like a lot of work for what was meant to be nothing more than just a simple project. :/ I do have some lua code in place that performs the same exact calculations as numlua does (I use it for fast Fourier transforms), although it is quite a bit slower and, in fact, makes the game completely ...
- Mon Jun 13, 2016 5:09 pm
- Forum: Support and Development
- Topic: Unable to find .so files in .love file
- Replies: 17
- Views: 7527
Re: Unable to find .so files in .love file
Also your .so file is compiled for the specific libraries in your operating system, they may not work on other systems if the exact same dependencies are not available so your user may end up having to compile the library himself Just wondering, what exactly is the point of a shared library then if...
- Fri Jun 10, 2016 10:32 pm
- Forum: Support and Development
- Topic: Unable to find .so files in .love file
- Replies: 17
- Views: 7527
Re: Unable to find .so files in .love file
Sounds like a lot of work for what was meant to be nothing more than just a simple project. :/ I do have some lua code in place that performs the same exact calculations as numlua does (I use it for fast Fourier transforms), although it is quite a bit slower and, in fact, makes the game completely u...
- Fri Jun 10, 2016 10:14 pm
- Forum: Support and Development
- Topic: Unable to find .so files in .love file
- Replies: 17
- Views: 7527
Re: Unable to find .so files in .love file
Well that is WAY harder, first your library needs to be compiled with the Android NDK and built into LÖVE itself, check how the repository compiles Lua Sockets for example on how to do this, it's not that hard but in no way will you be able to use a .so file Also if your library access some stuff n...
- Fri Jun 10, 2016 9:34 pm
- Forum: Support and Development
- Topic: Unable to find .so files in .love file
- Replies: 17
- Views: 7527
Re: Unable to find .so files in .love file
Well, the thing is, I actually wanted to release my game on Android, so creating a script to run it would be far from optimal. Also, regarding your last sentence, would that mean I'd have to somehow compile the .so file on an Android system?
- Fri Jun 10, 2016 9:19 pm
- Forum: Support and Development
- Topic: Unable to find .so files in .love file
- Replies: 17
- Views: 7527
Re: Unable to find .so files in .love file
Does it change if you run it with the --fused flag? From your command line love yourgame.love --fused Running it via terminal works fine, regardless of the --fused flag. EDIT: Alright, it seems that running it from the terminal without the fuse flag only works, because the .love was located in the ...
- Fri Jun 10, 2016 9:11 pm
- Forum: Support and Development
- Topic: Unable to find .so files in .love file
- Replies: 17
- Views: 7527
Re: Unable to find .so files in .love file
LÖVE supports loading .so files or .dll files from the save directory, try copying your file from inside your .love file into the save directory with something like: local content = love.filesystem.read("path/to/library.so") love.filesyste.write("library.so", content) This may t...
- Fri Jun 10, 2016 8:46 pm
- Forum: Support and Development
- Topic: Unable to find .so files in .love file
- Replies: 17
- Views: 7527
Unable to find .so files in .love file
My game is using a shared library (.so) file in order to create a C-bind. It works just fine when I run it directly from the directory I saved it to, however when I create a .love file and run it by double-clicking it (not through the terminal), I cannot load it using the "require" functio...
- Fri May 13, 2016 8:55 pm
- Forum: Support and Development
- Topic: Steamworks API and LÖVE
- Replies: 5
- Views: 6440
Re: Steamworks API and LÖVE
Thanks, guys.