Search found 3056 matches
- Thu Dec 31, 2020 3:39 am
- Forum: Support and Development
- Topic: Function that switch values in a table
- Replies: 2
- Views: 2571
Re: Function that switch values in a table
test[testselected] is equivalent to test[1] because testselected is equal to 1 initially. I'm assuming your switchTableParameter function would change testselected to the next value that's in range of the table's numeric indices (in this case, test contains 3 elements, so the param would be 1, 2 or ...
- Thu Dec 31, 2020 3:34 am
- Forum: Support and Development
- Topic: How to make sure someone actually beated a level/course?
- Replies: 4
- Views: 3080
Re: How to make sure someone actually beated a level/course?
Just one thing i wanted to mention, in case any confusion would arise; TAS or not, speedrunners are technically not malevolent cheaters, they just like finding ways to play the game differently than how the developers intended them to be played; some might not consider that cheating at all. 

- Tue Dec 29, 2020 7:57 am
- Forum: Libraries and Tools
- Topic: Simple HTTPS loader in pure Lua
- Replies: 2
- Views: 2818
Re: Simple HTTPS loader in pure Lua
Yep, me being on Win7 also precludes using the snippet since it also lacks powershell. Not sure if wget depends on curl that a relatively new Win10 build included natively (or so i heard) or not, because then the compatibility is even worse.
- Tue Dec 29, 2020 7:52 am
- Forum: General
- Topic: Canvas support 99% ?
- Replies: 5
- Views: 4443
Re: Canvas support 99% ?
Less officially, for switch homebrew, there's LövePotion, but that has its own set of limitations.
- Sun Dec 27, 2020 10:59 pm
- Forum: Support and Development
- Topic: Enet makes love2d not responding
- Replies: 3
- Views: 4283
Re: Enet makes love2d not responding
Hi and welcome to the forums! The reason for that is that the two examples on that page are not meant for löve at all, so they both contain infinite loops (the while true do code block) that shouldn't be there; that's why it's not responding. Get rid of that, and put the contents of that block into ...
- Sun Dec 27, 2020 5:10 am
- Forum: Support and Development
- Topic: Getting a server for a love2d game
- Replies: 28
- Views: 14670
Re: Getting a server for a love2d game
Löve still doesn't have inbuilt support for SSL (and so, HTTPS); that'll make this a bit harder to do.
- Mon Dec 21, 2020 4:27 pm
- Forum: Libraries and Tools
- Topic: LuaPd - Real-time audio synthesis with Pd (Pure Data)
- Replies: 7
- Views: 3572
Re: LuaPd - Real-time audio synthesis with Pd (Pure Data)
Cool, I look forward to seeing your composer project :) The first time I tried using a thread, I don't think I had a firm enough grasp over how they worked, but I've recently given it another shot and it seems to be working really well. It allows for a much smaller delay. I'll update the zip as soo...
- Sun Dec 20, 2020 6:44 pm
- Forum: Libraries and Tools
- Topic: LuaPd - Real-time audio synthesis with Pd (Pure Data)
- Replies: 7
- Views: 3572
Re: LuaPd - Real-time audio synthesis with Pd (Pure Data)
One potential thing you could do is have the audio generation part running on another thread; that way, neither visual stuff (including potential vsync), nor the OS scheduler will mess with the processing, and it might work better with less latency as well. Also, i might incorporate this into my com...
- Sun Dec 20, 2020 1:36 am
- Forum: Support and Development
- Topic: Love2d stops running after awhile
- Replies: 43
- Views: 18146
Re: Love2d stops running after awhile
Nixola wrote: ↑Sat Dec 19, 2020 10:43 pmNote that the love.lowmemory callback exists and is designed for this kind of issue, if memory is to blame.
Unless the wiki's wrong, it won't work on desktop.Callback function triggered when the system is running out of memory on mobile devices.
- Fri Dec 18, 2020 12:49 pm
- Forum: Support and Development
- Topic: [TUTORIAL] - Lua: How to add your own C Library to your game
- Replies: 7
- Views: 2882
Re: [TUTORIAL] - Lua: How to add your own C Library to your game
It's quite interesting, but what are the use cases of C implemented libs into LOVE? Anything that needs to crunch a lot of data probably, or things that are not possible to implement on the lua side (assuming FFI is not an option); I can only mention audio stuff though; fast fourier transform imple...