Search found 2951 matches

by slime
Sat Dec 03, 2022 3:17 pm
Forum: Support and Development
Topic: light_world.lua ignoring setVisible()
Replies: 5
Views: 270

Re: light_world.lua ignoring setVisible()

Löve is awesome, but it has a *huge* problem. Each new major version completely breaks compatibility with older versions. As a consequence, libraries break, and since library authors rarely stay around for long enough as to update their libraries to a newer version, that causes the libraries to bec...
by slime
Wed Nov 30, 2022 9:12 pm
Forum: Support and Development
Topic: Is there any way to turn a Text into a normal string?
Replies: 6
Views: 273

Re: Is there any way to turn a Text into a normal string?

People have suggested renaming the object for love 12.0, it might be a good idea - maybe TextBatch or something?
by slime
Wed Nov 30, 2022 4:32 pm
Forum: General
Topic: Why did love2d update its logo to the oversimplified one
Replies: 18
Views: 786

Re: Why did love2d update its logo to the oversimplified one

notcl4y wrote: Wed Nov 30, 2022 2:27 pm at least make the two versions with the old and with the new logo if you still want to use the current logo or some other ways.
No thanks. But as several people have mentioned, feel free to change your local copy's icon to whatever you want, no one is stopping you.
by slime
Wed Nov 30, 2022 1:13 pm
Forum: Support and Development
Topic: [Solved] FFI Safety?
Replies: 6
Views: 286

Re: FFI Safety?

You generally can't read/write memory owned by other processes in modern operating systems (each process has a separate virtual memory 'view', so to speak). Aside from that, when you write to memory you didn't allocate there's no guarantee about what will happen to your program. It might crash, it m...
by slime
Fri Nov 25, 2022 4:30 pm
Forum: General
Topic: Why did love2d update its logo to the oversimplified one
Replies: 18
Views: 786

Re: Why did love2d update its logo to the oversimplified one

Old: viewtopic.php?p=195040#p195040

New: viewtopic.php?p=195011#p195011

The fake lighting effects on the old windows icon have definitely gone out of style these days.
by slime
Fri Nov 25, 2022 4:08 pm
Forum: General
Topic: Why did love2d update its logo to the oversimplified one
Replies: 18
Views: 786

Re: Why did love2d update its logo to the oversimplified one

GVovkiv wrote: Fri Nov 25, 2022 3:27 pm why exactly this colors?
They represent the gender spectrum. :nyu:

(I don't think that was rude's intent, but I like that they're similar to the design of a certain flag.)
by slime
Wed Nov 16, 2022 2:00 pm
Forum: Support and Development
Topic: [SOLVED] How not to get additive alpha
Replies: 6
Views: 225

Re: How not to get additive alpha

It should work to use the 'lighten' blend mode while drawing the shapes to a canvas, and then use (premultiplied) alpha blending when drawing/compositing the canvas to the screen. The lighten blend mode doesn't support non premultiplied alpha, so you might have to multiply rgb with alpha in a shader...
by slime
Tue Nov 08, 2022 11:52 pm
Forum: Support and Development
Topic: Dimentions of text rendered with Printf
Replies: 3
Views: 1139

Re: Dimentions of text rendered with Printf

You can use Font:getWrap to get the width and number of lines, and then multiply the number of lines with Font:getHeight to get the total height.
by slime
Sat Oct 29, 2022 12:43 am
Forum: Support and Development
Topic: Help us add SSL to Love2D
Replies: 9
Views: 2282

Re: Help us add SSL to Love2D

If you want to load a Lua C module outside love's filesystem environment, you'll probably want to put it near the executable and explicitly set package.cpath so it searches in the folder that the module library file is in. If you don't set package.cpath (or use package.loadlib with an absolute path)...
by slime
Fri Oct 28, 2022 4:46 pm
Forum: Support and Development
Topic: Help us add SSL to Love2D
Replies: 9
Views: 2282

Re: Help us add SSL to Love2D

The love-bundled https library doesn't need to be moved anywhere. But it's not bundled with love until love 12. The library also separately works as a standalone Lua C module, which is how it's able to be used with love 11. In that situation it works just like any other standalone Lua C module, incl...