What do you even mean with not work?
Runs here, moves.
Search found 613 matches
- Tue Apr 23, 2024 1:19 pm
- Forum: Support and Development
- Topic: Grid based movement
- Replies: 3
- Views: 212
- Tue Apr 16, 2024 5:56 pm
- Forum: Libraries and Tools
- Topic: Rasterizing polygons into images
- Replies: 5
- Views: 1193
Re: Rasterizing polygons into images
Cool tutorial, thanks for the effort.
- Wed Apr 10, 2024 1:22 pm
- Forum: Support and Development
- Topic: Weird error for a function that is correct.
- Replies: 10
- Views: 1536
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 ...
- Wed Apr 10, 2024 12:30 am
- Forum: Support and Development
- Topic: Weird error for a function that is correct.
- Replies: 10
- Views: 1536
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.
"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.
- Tue Apr 09, 2024 11:59 pm
- Forum: Support and Development
- Topic: Weird error for a function that is correct.
- Replies: 10
- Views: 1536
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.
Get an editor with block checks, really handy.
Also look at line 18 where you have a mess.
- Tue Apr 02, 2024 11:10 am
- Forum: General
- Topic: What exactly *is* LÖVE 2D?
- Replies: 3
- Views: 457
Re: What exactly *is* LÖVE 2D?
It is whatever you want it to be.
- Thu Mar 28, 2024 3:24 am
- Forum: General
- Topic: How can I learn Lua and Love2D?
- Replies: 4
- Views: 594
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.
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.
- Sun Mar 24, 2024 9:58 pm
- Forum: Games and Creations
- Topic: Simple Solitaire
- Replies: 4
- Views: 583
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.
Odd style choice for the red cards, i find it unpleasent to see the card red instead the heart.
Else it plays solid.
- Fri Mar 22, 2024 4:44 am
- Forum: General
- Topic: love.draw - How to run contents of a table
- Replies: 2
- Views: 1448
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}
load(value)()
will work but you should really save the table contents as function instead strings.
t = {function() lg.setColor(1,0,0) end}
- Mon Mar 18, 2024 8:18 pm
- Forum: Support and Development
- Topic: [BUG] Video not playing to the end
- Replies: 7
- Views: 1454
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.
This file doesnt play correctly in mpv either. Its probably too short.