Search found 7 matches
- Sun Apr 02, 2023 5:41 am
- Forum: Support and Development
- Topic: Is there a way to run a loop in a second thread?
- Replies: 5
- Views: 2121
Re: Is there a way to run a loop in a second thread?
I'm making an 2d-array based particle system these days which could do more fancy things on the particles, like tween scale and color, wavy movement, apply shaders..etc. My process flow is pre-spawn particle data for say 5000 times and store then in a table 'masterPool'. declare and iterate another ...
- Mon Mar 27, 2023 6:45 am
- Forum: Libraries and Tools
- Topic: tinyCSV: Now handling CSV is a child's play
- Replies: 3
- Views: 7132
Re: tinyCSV: Now handling CSV is a child's play
It should be called CSP( comma separated pair ) instead of CSV I suggest, and I wonder if any application like Microsoft Excel, MacOS Number.. support this CSP format output. It's quite a handy module which deal the sort of innovative format that provide another option rather than CSV and Json. I fo...
- Wed Mar 08, 2023 1:06 am
- Forum: Support and Development
- Topic: How to change audio playback speed at runtime?
- Replies: 9
- Views: 4364
Re: How to change audio playback speed at runtime?
messing up love-asl and SLAM was my first idea popped up and did so, but they aren't work along with each other. the good thing is the "clone" works pretty well as expected! I've also test the performance by the code below: local _snd = love_asl( "3MB.mp3", "static", 2)...
- Tue Mar 07, 2023 3:01 am
- Forum: Support and Development
- Topic: How to change audio playback speed at runtime?
- Replies: 9
- Views: 4364
Re: How to change audio playback speed at runtime?
@zorg: I'm making a module that generating melodies in runtime, the setTimeStretch() helps a tons for sync BPM with audio length! however, there's still a crucial step here: to play the time stretched audio / soundData multiple times in short period. I've noticed there are something about "clon...
- Fri Mar 03, 2023 2:05 pm
- Forum: Libraries and Tools
- Topic: Lily - LÖVE Async Loading Library
- Replies: 4
- Views: 6618
Re: Lily - LÖVE Async Loading Library
You don't. Even with regular love.audio.newSource, you'll get a Source object, not a table. SLAM does its own thing, and probably is not really compatible with this library. Besides, SLAM also calls Source:setPitch internally so that has nothing to do with tables either. By test the code below: lil...
- Fri Mar 03, 2023 2:02 am
- Forum: Libraries and Tools
- Topic: Lily - LÖVE Async Loading Library
- Replies: 4
- Views: 6618
Re: Lily - LÖVE Async Loading Library
How could I get the return value of loaded sound as table instead of userdata? I need to set the pitch before hand and play them multiple times in short period using SLAM. Thanks!
- Tue Feb 21, 2023 10:04 am
- Forum: Libraries and Tools
- Topic: Generate 47 tiles template
- Replies: 3
- Views: 3621
Re: Generate 47 tiles template
This is helpful for making tool like procedural generate tileset, thanks for share