Search found 3441 matches

by zorg
Wed Apr 10, 2024 7:08 am
Forum: Support and Development
Topic: Weird error for a function that is correct.
Replies: 10
Views: 482

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...
by zorg
Fri Apr 05, 2024 6:11 am
Forum: Support and Development
Topic: Different ways to adjust audio
Replies: 4
Views: 285

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...
by zorg
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: 317

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...
by zorg
Wed Apr 03, 2024 1:27 pm
Forum: Support and Development
Topic: Different ways to adjust audio
Replies: 4
Views: 285

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...
by zorg
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: 317

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...
by zorg
Tue Mar 19, 2024 3:05 pm
Forum: Support and Development
Topic: [BUG] Video not playing to the end
Replies: 7
Views: 1299

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.
by zorg
Sun Mar 17, 2024 7:03 am
Forum: Support and Development
Topic: love.data.pack() no idea how to work it
Replies: 3
Views: 1091

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 ...
by zorg
Wed Mar 13, 2024 6:09 am
Forum: Libraries and Tools
Topic: PNG to outline/contour x,y coordinates - python script
Replies: 3
Views: 757

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.
by zorg
Thu Mar 07, 2024 6:30 pm
Forum: General
Topic: fixed
Replies: 4
Views: 834

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.
by zorg
Wed Feb 21, 2024 8:12 pm
Forum: General
Topic: why am i getting the error:
Replies: 2
Views: 1105

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.