Search found 35 matches
- Wed Dec 11, 2024 7:54 pm
- Forum: Support and Development
- Topic: Android bug
- Replies: 0
- Views: 1151
Android bug
hello, so I have my love program working awesomely on PC, everything is working the way it's supposed to, no bugs, no errors, no nothing. however, when I run the exact same .love file via the Android app (version 11.5), a function is suddenly not being called. what confuses me is this function has n...
- Tue May 30, 2023 1:59 pm
- Forum: Support and Development
- Topic: lovefs along with Slab
- Replies: 1
- Views: 1457
lovefs along with Slab
ok so i'm simply trying to use Slab and lovefs together, but on startup it throws this error: Error lovefs.lua:35: attempt to redefine 'WIN32_FIND_DATAW' at line 3 Traceback [C]: in function 'cdef' lovefs.lua:35: in main chunk [C]: in function 'require' main.lua:4: in function 'load' [C]: in functio...
- Tue May 23, 2023 7:40 pm
- Forum: Support and Development
- Topic: table reference through Thread:start
- Replies: 4
- Views: 1279
Re: table reference through Thread:start
i'd like to make it so that when the original table changes, the thread has access to the changed table, not the original one. is this possible? Each thread has a completely independent Lua instance, so sharing tables in that manner isn't possible. When you pass a table into Thread:start or Channel...
- Tue May 23, 2023 12:51 pm
- Forum: Support and Development
- Topic: table reference through Thread:start
- Replies: 4
- Views: 1279
Re: table reference through Thread:start
also the Variant page says that
so can Thread:start() take a nested table or no?Nested tables are not officially supported in versions prior to 11.0.
- Tue May 23, 2023 12:43 pm
- Forum: Support and Development
- Topic: table reference through Thread:start
- Replies: 4
- Views: 1279
table reference through Thread:start
so i would like to pass a table reference to a thread via Thread:start. the wiki says: (The argument may be) a string, number, boolean, LÖVE object, or simple table. what does 'simple table' mean in this context? i'd like to make it so that when the original table changes, the thread has access to t...
- Tue May 23, 2023 8:46 am
- Forum: Support and Development
- Topic: killing threads externally
- Replies: 5
- Views: 1736
Re: killing threads externally
I don't think all systems support killing a thread, so I'd go with zorg's suggestion. For extra responsivity, instead of sleeping for 5 seconds, you can loop 50 times sleeping for 0.1 seconds and checking whether a termination request was issued on each iteration. that was something i considered, b...
- Sun May 21, 2023 3:36 pm
- Forum: Support and Development
- Topic: killing threads externally
- Replies: 5
- Views: 1736
killing threads externally
is it possible to kill a thread from the outside? like, say, i make it sleep for 5 seconds, but 2 seconds into its sleep i decide to kill it. since Thread:kill() was removed, what do i do?
- Thu Apr 07, 2022 12:24 pm
- Forum: Support and Development
- Topic: rendering simple 3d planes (with clipping)
- Replies: 19
- Views: 15704
Re: rendering simple 3d planes (with clipping)
thanks! You don't actually need sorting; just enable the depth buffer in love.conf and then use love.graphics.setDepthMode ... so dumb question, but that means doing t.window.depth=true? wiki says the field determines "the number of bits per sample in the depth buffer", so i just feel this...
- Wed Apr 06, 2022 6:55 pm
- Forum: Support and Development
- Topic: rendering simple 3d planes (with clipping)
- Replies: 19
- Views: 15704
Re: rendering simple 3d planes (with clipping)
bump, can someone pls answer? i am sorry, not experienced with this graphics stuff, but i would really like to learn. thanks!
- Mon Apr 04, 2022 5:27 am
- Forum: Support and Development
- Topic: rendering simple 3d planes (with clipping)
- Replies: 19
- Views: 15704
Re: rendering simple 3d planes (with clipping)
...there are only 2 3D Lua frameworks i know about: LOVR, which is really not good for desktop apps (or so i've heard) and Urho3D, which i just didn't like at all (yes i just judged a book by its cover what u gonna do about it), and LOVE is the closest to my requirements, its cross-platform and is ...