Search found 611 matches

by BrotSagtMist
Wed Apr 10, 2024 1:22 pm
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.

Just adding: Youre trying to set a bolean using if cases on a bolean. Thats just adding extra steps, if you dont have anything else that uses it just do it in one go: if (0 > platformer.a.corner_lb_x) and (0 < platformer.a.corner_rt_x) and (platformer.y > platformer.a.corner_lb_y) and (platformer.y ...
by BrotSagtMist
Wed Apr 10, 2024 12:30 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.

It means my editor flags the function as not having a matching end, it gets eaten at line 18.
"if true then" < why have you came up with this? This line effectively is not exectuted as if true cancels itself. But it eats an extra end.
by BrotSagtMist
Tue Apr 09, 2024 11:59 pm
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.

line 11 is not closed.
Get an editor with block checks, really handy.
Also look at line 18 where you have a mess.
by BrotSagtMist
Tue Apr 02, 2024 11:10 am
Forum: General
Topic: What exactly *is* LÖVE 2D?
Replies: 3
Views: 291

Re: What exactly *is* LÖVE 2D?

It is whatever you want it to be.
by BrotSagtMist
Thu Mar 28, 2024 3:24 am
Forum: General
Topic: How can I learn Lua and Love2D?
Replies: 4
Views: 447

Re: How can I learn Lua and Love2D?

https://www.lua.org/pil/
the free version may be 20 years old but still works.
Read the first 3 parts.

Löve hides away a lot for simplification. The main loop for example, questionable if one can learn program flow that way.
by BrotSagtMist
Sun Mar 24, 2024 9:58 pm
Forum: Games and Creations
Topic: Simple Solitaire
Replies: 4
Views: 460

Re: Simple Solitaire

You should use the Os cursor for this, the lag is annoying.
Odd style choice for the red cards, i find it unpleasent to see the card red instead the heart.
Else it plays solid.
by BrotSagtMist
Fri Mar 22, 2024 4:44 am
Forum: General
Topic: love.draw - How to run contents of a table
Replies: 2
Views: 1349

Re: love.draw - How to run contents of a table

Iterating with:
load(value)()
will work but you should really save the table contents as function instead strings.
t = {function() lg.setColor(1,0,0) end}
by BrotSagtMist
Mon Mar 18, 2024 8:18 pm
Forum: Support and Development
Topic: [BUG] Video not playing to the end
Replies: 7
Views: 1298

Re: [BUG] Video not playing to the end

Not a Löve problem.
This file doesnt play correctly in mpv either. Its probably too short.
by BrotSagtMist
Mon Mar 18, 2024 12:54 am
Forum: General
Topic: sh + love bundled in one file - is this intended behaviour?
Replies: 19
Views: 2272

Re: sh + love bundled in one file - is this intended behaviour?

That reasoning feels like the classic "works on my maschine" excuse. And appimages feel like a step back to a time where we had no shared libs. I now in the recent years shipping the entire thing has dramatically grown again, probably because everything grew so big and complicated and has ...
by BrotSagtMist
Sun Mar 17, 2024 11:00 am
Forum: General
Topic: sh + love bundled in one file - is this intended behaviour?
Replies: 19
Views: 2272

Re: sh + love bundled in one file - is this intended behaviour?

Well the guy quoted the debian packaging guide and they instruct to use the global install. With only one Löve game in there thats a bad example tho. And if you look for other games in the debian repo, they are mostly split into several parts. With some containing only resources and no exectutables ...