Search found 509 matches

by dusoft
Mon Apr 22, 2024 12:44 pm
Forum: Libraries and Tools
Topic: Layouter - a simple UI grid library
Replies: 10
Views: 13702

Re: Layouter - a simple UI grid library

I have fixed some external helpers that were spotted by a lib user.

https://github.com/nekromoff/layouter
by dusoft
Sun Apr 21, 2024 7:03 pm
Forum: General
Topic: just asking for tips
Replies: 2
Views: 111

Re: just asking for tips

Sure:
https://love2d.org/wiki/Body:setPosition

Although you shouldn't have to directly set the position when using physics, in case of specific needs such as teleports etc. you can use this function.
by dusoft
Sun Apr 21, 2024 2:10 pm
Forum: Support and Development
Topic: Alternate Windows's save directory for love.filesystem
Replies: 3
Views: 192

Re: Alternate Windows's save directory for love.filesystem

You can use a generic or a specific Lua library to handle other filesystem calls. That is, using LÖVE you are not constrained to use its functions alone.

However using a generic filesystem handling library comes with some issues such as different OS etc.
by dusoft
Sun Apr 21, 2024 2:07 pm
Forum: Libraries and Tools
Topic: FSAL (Full Screen Assistant for LÖVE)
Replies: 6
Views: 329

Re: FSAL (Full Screen Assistant for LÖVE)

I understand your lib resizes fullscreen graphics based on the target display resolution, is that correct? (I don't need a window mode) Yes, that is correct. Perhaps I will say the same thing again, but I am afraid if there is my misunderstanding due to my English skills, so I write the following d...
by dusoft
Sat Apr 20, 2024 1:14 pm
Forum: Support and Development
Topic: Input with Jump Buffer
Replies: 6
Views: 334

Re: Input with Jump Buffer

That might be, but if we are talking post 2012+ laptops that should not happen, if other e.g. graphics intensive operations are not taking place.
by dusoft
Sat Apr 20, 2024 1:11 pm
Forum: Libraries and Tools
Topic: FSAL (Full Screen Assistant for LÖVE)
Replies: 6
Views: 329

Re: FSAL (Full Screen Assistant for LÖVE)

Thanks, I am using https://github.com/Vovkiv/resolution_solution right now, but will check yours.

I understand your lib resizes fullscreen graphics based on the target display resolution, is that correct? (I don't need a window mode)
by dusoft
Sat Apr 20, 2024 1:09 pm
Forum: General
Topic: A question you can't answer: how to determine credits
Replies: 7
Views: 360

Re: A question you can't answer: how to determine credits

I would say, the time spent on coding depends on if you are using a previously created engine (or a loosely bundled bunch of libs) or straight up from scratch. I would say the coding is definitely more time intensive than 40%. But also I am not so good with graphics, so I tend to go with simpler pro...
by dusoft
Fri Apr 19, 2024 3:14 pm
Forum: Support and Development
Topic: Input with Jump Buffer
Replies: 6
Views: 334

Re: Input with Jump Buffer

Try using this instead in your love.update() function:

Code: Select all

if love.keyboard.isDown('up') then
...
end
[code]
by dusoft
Wed Apr 17, 2024 10:42 am
Forum: Support and Development
Topic: Benchmark - put every function inside a object or inside a helper object
Replies: 4
Views: 1161

Re: Benchmark - put every function inside a object or inside a helper object

Looks like a microoptimization to me.

It's rather a programming style question.