Search found 2778 matches

by zorg
Tue Feb 25, 2020 10:26 pm
Forum: Support and Development
Topic: wait()
Replies: 8
Views: 3051

Re: wait()

Yea. It might be kinda cool to figure out how to do this in love tho. Roblox does it by having wait() as a yield to a function, that returns time passed and delta. However, Roblox has a different version of Lua like Kingdaro mentioned (more optimization, LuaU sidecode language, etc.) In love, it's ...
by zorg
Mon Feb 24, 2020 12:07 pm
Forum: Support and Development
Topic: Any way to get canvases to be more efficient?
Replies: 38
Views: 989

Re: Any way to get canvases to be more efficient?

For a decent example of similar visual effect, just about any modern 2D top-down-Zelda-style game with lots of layering would suffice. Graveyard Keeper, Stardew Valley, and Undermine all come to mind as decent examples of games of the style in question. There's absolutely nothing in there that warr...
by zorg
Sat Feb 22, 2020 4:47 am
Forum: General
Topic: rename file or open a file as the wrong type
Replies: 5
Views: 203

Re: rename file or open a file as the wrong type

Hi and welcome to the forums. First it'd be nice to know what menuSelection and SongsDir[menuSelection] is, because you might be missing the SongsDir[ .. ] part from within newSource's parameter on the third line above. That said, i think i remember that the current löve version actually tries to se...
by zorg
Fri Feb 21, 2020 4:23 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 31
Views: 4126

Re: [Proposal] Better multimedia formats.

Technically slime agreed with someone else, before you made your first post... That said, i'm really not against the inclusion of webp into löve as a supported format (both import and export tbh), but the "a easily readable format" line is a bit of a stretch considering there's probably tons of olde...
by zorg
Sun Feb 16, 2020 2:11 pm
Forum: Games and Creations
Topic: Simple FFT demo
Replies: 8
Views: 2329

Re: Simple FFT demo

5% really doesn't say much if you don't also state on what CPU; my i7-4820K's 5% might be equivalent to a P4's 25% or a hypothetical futuristic intel consumer CPU's 0.5%... i do agree with the optimization sentiment here though; if we're not linking to already well-tested and well-optimized fft libr...
by zorg
Sat Feb 15, 2020 10:31 pm
Forum: Games and Creations
Topic: Simple FFT demo
Replies: 8
Views: 2329

Re: Simple FFT demo

(Sorry for the gigantic wall of text beforehand :D) Thanks for the explanation. Currently, I have some problems with functional analysis, and I would love to read additional materials. There are quite a few different fast discreet fourier (or related) transformation implementations, but those shoul...
by zorg
Sat Feb 15, 2020 6:40 pm
Forum: Support and Development
Topic: Canvas performance is costly if I clear() and draw on it again?
Replies: 4
Views: 1048

Re: Canvas performance is costly if I clear() and draw on it again?

If you have a canvas for just the GUI/menu elements, then you can do a love.graphics.setColor before you draw that canvas to the screen, setting the opacity of the whole canvas' contents. That said, setting, clearing and drawing to a canvas is NOT any more costly than what löve already does to the w...
by zorg
Fri Feb 14, 2020 2:31 pm
Forum: Games and Creations
Topic: Simple FFT demo
Replies: 8
Views: 2329

Re: Simple FFT demo

I can get behind this, especially since i'm also working with such things. :3 Two issues are with this implementation though; - The FFT result seems incorrect (either that, or something related) due to it being repeated 8 times at the bottom... at most, it should reflect around the Nyquist limit in ...
by zorg
Wed Feb 12, 2020 10:55 pm
Forum: General
Topic: BitBucket shutting down Mercurial after May
Replies: 4
Views: 2046

Re: BitBucket shutting down Mercurial after May

It might be? At least it was previously, but now i honestly don't know; i do recall some talk about it being the new primary repo though... still, slime can probably correct any misinfo about this. :v (This commit might be somewhat telling though: https://github.com/love2d/love/commit/2058f43432120e...
by zorg
Wed Feb 12, 2020 9:23 pm
Forum: General
Topic: BitBucket shutting down Mercurial after May
Replies: 4
Views: 2046

Re: BitBucket shutting down Mercurial after May

Already happened iirc, just the issue tracker needs migrating: https://github.com/love2d/love/commits/master