Search found 287 matches

by Bigfoot71
Wed Apr 19, 2023 11:54 am
Forum: Support and Development
Topic: How to blend light colours?
Replies: 8
Views: 2734

Re: How to blend light colours?

Well, it's normal behavior that when there's too much light the results become white if the sum of all components exceeds 1, I don't know what to say. It's like in real life, white is just the mixture of all spectra. You could normalize the values but the result won't be more realistic, even though...
by Bigfoot71
Wed Apr 19, 2023 10:33 am
Forum: Support and Development
Topic: How to blend light colours?
Replies: 8
Views: 2734

Re: How to blend light colours?

Well, it's normal behavior that when there's too much light the results become white if the sum of all components exceeds 1, I don't know what to say. It's like in real life, white is just the mixture of all spectra. You could normalize the values but the result won't be more realistic, even though ...
by Bigfoot71
Wed Apr 19, 2023 10:10 am
Forum: Games and Creations
Topic: Block Dash - Version 1.2.0 Showcase & Changelog
Replies: 10
Views: 3879

Re: Block Dash - Version 1.2.0 Showcase & Changelog

Should I add key binding support or replace isDown() functions with isScanCodeDown()? The second option seems cheaper and better to me. Personally I will use scancodes for a small game, if it's a big project with a lot of keys and/or which targets a very large audience it can be safer as well as mo...
by Bigfoot71
Tue Apr 18, 2023 8:03 pm
Forum: Games and Creations
Topic: Block Dash - Version 1.2.0 Showcase & Changelog
Replies: 10
Views: 3879

Re: Block Dash - Version 1.2.0 Showcase & Changelog

Great job, nothing to complain about! :D There was just one mistake I suppose, in enemy.lua on line 351 there was a `print("shhhe")` that printed in a loop in my terminal. Also, as I have an AZERTY keyboard and couldn't change the controls, I replaced `love.keyboard.isDown` with ` love.key...
by Bigfoot71
Tue Apr 18, 2023 5:53 pm
Forum: General
Topic: I Redesigned Löve's logo in 3D Software
Replies: 9
Views: 6144

Re: I Redesigned Löve's logo in 3D Software

It's cool, I löve it
by Bigfoot71
Tue Apr 18, 2023 5:38 pm
Forum: Support and Development
Topic: How to blend light colours?
Replies: 8
Views: 2734

Re: How to blend light colours?

Super cool ! :D (I'm so beat I thought it was your job, I really need to rest, what an idiot I am, at least I will have discovered a cool little game :ultrahappy: ) Otherwise by simply adding the colors the problem you describe does not seem to appear but I do not know if this is exactly what you w...
by Bigfoot71
Tue Apr 18, 2023 3:49 pm
Forum: Games and Creations
Topic: Block Dash 1.0 is Out Now!
Replies: 11
Views: 5915

Re: Block Dash 1.0 is Out Now!

I forgot to mention, in case it's useful for you or someone else, there's also a scaling method that doesn't keep the ratio (so there are no black bars and the window is filled) that allows you to resize however you want, but it will distort the display if you switch from 16:9 to 4:3, for example. A...
by Bigfoot71
Tue Apr 18, 2023 10:55 am
Forum: Games and Creations
Topic: Block Dash 1.0 is Out Now!
Replies: 11
Views: 5915

Re: Block Dash 1.0 is Out Now!

Response to the last question: While programming the resizing window and the UI, I didn't know how to work with canvases and ended up keeping every scale the same, with only the UI moving dynamically as you resize. Plus I wanted the window to be resizable to every dimension and not only 16:9. Even ...
by Bigfoot71
Mon Apr 17, 2023 9:29 pm
Forum: Games and Creations
Topic: Block Dash 1.0 is Out Now!
Replies: 11
Views: 5915

Re: Block Dash 1.0 is Out Now!

The best solution for your case in my opinion would be to first send the dimension of your texture to the shader to work with instead of the dimensions of the screen, here is the modification (I took the opportunity to optimize it a bit using fract rather than mod): extern vec2 tex_size; extern vec2...
by Bigfoot71
Mon Apr 17, 2023 9:40 am
Forum: Support and Development
Topic: How to create a Operational system?
Replies: 3
Views: 870

Re: How to create a Operational system?

I don't really understand what you mean by an "operational system" but if you need to have access to files/folders outside the directories reserved for Löve you can use nativefs.

But do not hesitate to specify your request if this is not what you wanted.