Search found 65 matches
- Thu May 09, 2019 11:37 am
- Forum: Libraries and Tools
- Topic: Yet another state system
- Replies: 9
- Views: 9453
Re: Yet another state system
So. Now it have state-stack with overriding. I need to make the doc.
- Thu May 09, 2019 6:57 am
- Forum: Support and Development
- Topic: implementing 9 slice in love2dcs?
- Replies: 5
- Views: 4296
Re: implementing 9 slice in love2dcs?
You need the nine-slice image and set of quads (for every slice), just scale quadded image to fit or quad:setViewPort (texture repeat mode) to repeat image patterns (it needs several slice-images for repeating).
- Thu May 09, 2019 6:24 am
- Forum: Support and Development
- Topic: Looping through table inception
- Replies: 2
- Views: 3583
Re: Looping through table inception
Every ui element can contain list of child elements: function widget:update(dt) for i, v in ipairs(self.items) do if v.update then v:update(dt) end end end So if "v"-elements of items-list has look-like update function, it will "recursivelly" iterate all tree. Also if you add par...
- Thu May 09, 2019 6:01 am
- Forum: Support and Development
- Topic: saving a canvas as an image
- Replies: 15
- Views: 15575
Re: saving a canvas as an image
We can move encoded (saved) image file by os.rename(src, dst)
- Sat May 04, 2019 9:18 pm
- Forum: Support and Development
- Topic: Clicky noises when queueable source is updated [CLOSED]
- Replies: 9
- Views: 3767
Re: Clicky noises when queueable source is updated [CLOSED]
As a workaround you can gather data from microphone and write it to a fixed-length sound data, and then buffer up those. data = RecordingDevice:getData() Fixed-length sound data buffer must be extremely similar in size to "average" chunk of microphone recording chunks. Also if I want to m...
- Fri May 03, 2019 2:01 pm
- Forum: Support and Development
- Topic: Clicky noises when queueable source is updated [CLOSED]
- Replies: 9
- Views: 3767
Re: Clicky noises when queueable source is updated [CLOSED]
Thank you, It seems that we need to keep several buffers to produce the same sized chunks and a large storage/mixer buffer (several inputs).
- Thu May 02, 2019 9:16 pm
- Forum: Support and Development
- Topic: Clicky noises when queueable source is updated [CLOSED]
- Replies: 9
- Views: 3767
Re: Clicky noises when queueable source is updated
UPD: fixes will come in 11.3
love/issue/1481
love/issue/1481
- Thu May 02, 2019 8:23 pm
- Forum: Support and Development
- Topic: Clicky noises when queueable source is updated [CLOSED]
- Replies: 9
- Views: 3767
Re: Clicky noises when queueable source is updated
Thank you for answer, but your untested example clicks much more frequent (and coroutines doesn't matter) : ) Normally, voip stuff (like skype/discord) chunks sound data by ~20ms, I use here ~200ms for less buf usage, click frequency depends on chunk size (more size => less buffer usage (clearing) =...
- Thu May 02, 2019 3:34 pm
- Forum: Support and Development
- Topic: Clicky noises when queueable source is updated [CLOSED]
- Replies: 9
- Views: 3767
Clicky noises when queueable source is updated [CLOSED]
When I queue new soundData to the source, and it is updated (it can be seen in the "tell" visualization, when source tell is sero), sound clicks occur. What are the reasons and how can we work with it?
- Tue Apr 09, 2019 3:50 am
- Forum: Support and Development
- Topic: Reducing packaged game size
- Replies: 3
- Views: 5070
Re: Reducing packaged game size
1. Disable unused modules in conf
2. Remove disabled libs (it's dynamic)
2. Remove disabled libs (it's dynamic)