Search found 3441 matches
- Wed Apr 10, 2024 7:08 am
- Forum: Support and Development
- Topic: Weird error for a function that is correct.
- Replies: 10
- Views: 552
Re: Weird error for a function that is correct.
Wdym line 11 is not closed? I do have an editor with block check too btw. At line 18 that is what I need to type, what ELSE am I supposed to do there? Thank you for replying, and please reply back when you can. I doubt that's what you need to type. if (0 > platformer.a.corner_lb_x) and (0 < platfor...
- Fri Apr 05, 2024 6:11 am
- Forum: Support and Development
- Topic: Different ways to adjust audio
- Replies: 4
- Views: 334
Re: Different ways to adjust audio
( Source:setPitch in and of itself already provides changing the pitch (=resampling rate), you don't necessarily need a library for that for just grunts) And neither wave, nor the ripple library does not add any effects, so to speak. The former just adds some helper functions for existing functional...
- 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: 369
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: 334
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: 369
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: 1328
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: 1115
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: 786
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: 1111
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.