Search found 3449 matches
- Fri Apr 05, 2024 6:04 am
- Forum: Support and Development
- Topic: Avoid table overhead by using Data when creating a mesh
- Replies: 6
- Views: 945
Re: Avoid table overhead by using Data when creating a mesh
In the OpenGL wiki it says that there are other GLSL data types like int, uint, ivecn, uvecn and dvecn, so I think that after some GLSL version those new types became available. Löve 11.x supports at most GLSL 3.x (see the wiki for love.graphics.newShader), and according to this , the GLSL versions...
- Wed Apr 03, 2024 1:27 pm
- Forum: Support and Development
- Topic: Different ways to adjust audio
- Replies: 4
- Views: 890
Re: Different ways to adjust audio
You could just use one sounddata for one "vocal" grunt, and write to a short buffer in a way to interpolate between samplepoints when you want to sample between the stored ones (to manually alter the playback rate, so, the pitch and speed) That said, the effects themselves might not really...
- Mon Apr 01, 2024 9:34 am
- Forum: Support and Development
- Topic: Avoid table overhead by using Data when creating a mesh
- Replies: 6
- Views: 945
Re: Avoid table overhead by using Data when creating a mesh
- newMesh has two variants (one with and one without specifying a custom format) where you can just set a vertex count without defining the vertices with tables. This is something you mentioned. - Both setVertices and setVertexMap methods support Data objects. This is also something you mentioned. T...
- Tue Mar 19, 2024 3:05 pm
- Forum: Support and Development
- Topic: [BUG] Video not playing to the end
- Replies: 7
- Views: 4260
Re: [BUG] Video not playing to the end
I have videos that glitch in VLC, crash mpc-hc, but play fine in Chrome... video player libraries are widely different from each other, so you are better off re-encoding stuff you want to use in löve than expect fixes to this kind of thing, i believe.
- Sun Mar 17, 2024 7:03 am
- Forum: Support and Development
- Topic: love.data.pack() no idea how to work it
- Replies: 3
- Views: 2369
Re: love.data.pack() no idea how to work it
You wrote "integer" for love.data.pack's second parameter, which means you either didn't read, or did not understand what that expects. The relevant wiki page links to the lua equivalent's list of accepted parameters , where you can see that there are multiple ways to pack numbers; As was ...
- Wed Mar 13, 2024 6:09 am
- Forum: Libraries and Tools
- Topic: PNG to outline/contour x,y coordinates - python script
- Replies: 3
- Views: 2608
Re: PNG to outline/contour x,y coordinates - python script
Consider not posting ChatGPT drivel in here in the future, and this can be achieved in lua as well, so as to not force people to use another programming language and interpreter when they don't need to.
Re: fixed
Also for the love of everything, do not blank your original post or edit the topic to "FIXED", that's quite disrespectful to anyone that would have learned something from whatever it was.
- Wed Feb 21, 2024 8:12 pm
- Forum: General
- Topic: why am i getting the error:
- Replies: 2
- Views: 2200
Re: why am i getting the error:
Try indenting your code correctly, that usually instantly reveals where you have end-related issues.
Also use code blocks please.
Also use code blocks please.
- Thu Feb 01, 2024 6:45 am
- Forum: General
- Topic: Zerobrane. and love
- Replies: 4
- Views: 1210
Re: Zerobrane. and love
Aspiring game dev you might be, but you're not inspiring me too much...
As for conf.lua, you don't necessarily need to have that.
As for conf.lua, you don't necessarily need to have that.
- Mon Jan 15, 2024 7:25 pm
- Forum: Support and Development
- Topic: love.thread stopping when .newImageData is called?
- Replies: 7
- Views: 19266
Re: love.thread stopping when .newImageData is called?
As brot said, that's probably the issue; from the wiki : When a Thread is started, it only loads love.data, love.filesystem, and love.thread module. Every other module has to be loaded with require. Also, you can get the error from a dead thread i believe, so that would have been helpful to us and y...