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.
Search found 607 matches
- Thu Mar 28, 2024 3:24 am
- Forum: General
- Topic: How can I learn Lua and Love2D?
- Replies: 3
- Views: 121
- Sun Mar 24, 2024 9:58 pm
- Forum: Games and Creations
- Topic: Simple Solitaire
- Replies: 4
- Views: 312
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: 1265
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: 1221
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.
- Mon Mar 18, 2024 12:54 am
- Forum: General
- Topic: sh + love bundled in one file - is this intended behaviour?
- Replies: 19
- Views: 2034
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 ...
- Sun Mar 17, 2024 11:00 am
- Forum: General
- Topic: sh + love bundled in one file - is this intended behaviour?
- Replies: 19
- Views: 2034
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 ...
- Thu Mar 14, 2024 11:15 pm
- Forum: General
- Topic: sh + love bundled in one file - is this intended behaviour?
- Replies: 19
- Views: 2034
Re: sh + love bundled in one file - is this intended behaviour?
I just tried and yes it doesnt.
Shit, good comment.
I was actually relying heavily on 7z in my folder structure to deal with tons of symlinks.
Havnt had limitations on my radar.
Shit, good comment.
I was actually relying heavily on 7z in my folder structure to deal with tons of symlinks.
Havnt had limitations on my radar.
- Thu Mar 14, 2024 2:56 pm
- Forum: General
- Topic: sh + love bundled in one file - is this intended behaviour?
- Replies: 19
- Views: 2034
Re: sh + love bundled in one file - is this intended behaviour?
Yes it runs xdg-open which in return runs love %f. I think you fundamentally misunderstood things here. .love is just a zip. Löve just calles unzip on everything you throw onto it. It discards anything before the actual zip header, that way you can still double click fused images, or rather you coul...
- Thu Mar 14, 2024 2:44 am
- Forum: General
- Topic: sh + love bundled in one file - is this intended behaviour?
- Replies: 19
- Views: 2034
Re: sh + love bundled in one file - is this intended behaviour?
Is your linux broken? .love files can just be clicked on.
Your solution basically just ads extra unnecessary steps.
I mean you could also stuff the rest of löve in that sh too but that is just a weird form of an appimage.
Your solution basically just ads extra unnecessary steps.
I mean you could also stuff the rest of löve in that sh too but that is just a weird form of an appimage.
Re: help cleaning up my code
Start by using [code][/code] in this forum.
Then, why are you creating functions that only contain 1-3 lines of code?
There is no point adding extra lines just for the sake of splattering functionality all over the place.
Then, why are you creating functions that only contain 1-3 lines of code?
There is no point adding extra lines just for the sake of splattering functionality all over the place.