Search found 3070 matches

by slime
Fri Mar 22, 2024 10:59 am
Forum: Support and Development
Topic: [BUG] Video not playing to the end
Replies: 7
Views: 1219

Re: [BUG] Video not playing to the end

love uses libtheora with no special flags. I imagine most theora encoder tools and video players use libtheora.

It's not a very good library or video codec for making something that consistently works well though, so I'm not surprised about issues like that affecting several tools.
by slime
Tue Mar 19, 2024 8:53 pm
Forum: Support and Development
Topic: Why fonts look different on LOVE than on web browser?
Replies: 5
Views: 1170

Re: Why fonts look different on LOVE than on web browser?

love uses FreeType for truetype text rendering. FreeType has its own rasterization algorithms and default hinting that may behave differently from a specific operating system's own text renderer. (In fact, text rendered through the OS will look different on each OS.) That being said, without knowing...
by slime
Mon Mar 18, 2024 12:57 am
Forum: General
Topic: sh + love bundled in one file - is this intended behaviour?
Replies: 19
Views: 2029

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

That reasoning feels like the classic "works on my maschine" excuse. It's the exact opposite - making sure other people will get the same experience that you developed, instead of shrugging off differences or bugs as something that's not your responsibility to handle as the game's develop...
by slime
Sun Mar 17, 2024 10:49 pm
Forum: General
Topic: sh + love bundled in one file - is this intended behaviour?
Replies: 19
Views: 2029

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

You may do as you wish. Personally as someone whose project is included in many different package managers that are maintained by many different people, I have more than enough first-hand experience to see how that system can break down with complex and long-lasting projects and ends up accumulating...
by slime
Sun Mar 17, 2024 3:19 pm
Forum: General
Topic: sh + love bundled in one file - is this intended behaviour?
Replies: 19
Views: 2029

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

In the case of distributions, their packaging system has a dependencies feature designed to address exactly that. It doesn't rely on a random version of the runtime that the user would have installed; it specifies which runtime version is needed for a certain game package, and it would pull that ve...
by slime
Sat Mar 16, 2024 9:13 pm
Forum: General
Topic: sh + love bundled in one file - is this intended behaviour?
Replies: 19
Views: 2029

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

games and their runtimes are usually in different packages. I don't think this is usually true. As a game developer you wouldn't want to rely on a global install of love on someone else's system having a version that's coincidentally compatible with your code. And if you use something like Unity in...
by slime
Thu Mar 14, 2024 2:07 am
Forum: General
Topic: sh + love bundled in one file - is this intended behaviour?
Replies: 19
Views: 2029

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

If you just have a runnable .love file without also providing LÖVE itself as well, then you don't have something you can distribute on its own because it relies on the user having LÖVE installed separately themselves in a place where the 'love' command can run from anywhere. A typical way to distrib...
by slime
Tue Mar 12, 2024 10:14 pm
Forum: Support and Development
Topic: push and pop for graphics ?
Replies: 8
Views: 6606

Re: push and pop for graphics ?

darkfrei wrote: Tue Mar 12, 2024 5:41 pm

Code: Select all

[...]
You've bumped a 10 year old thread. love.graphics.push("all") was added to love 9 years ago and does what the OP asks, you should use it instead of that code.
by slime
Mon Mar 04, 2024 10:12 pm
Forum: Support and Development
Topic: Unusual crashing within the first few seconds of the game with no error message.
Replies: 7
Views: 873

Re: Unusual crashing within the first few seconds of the game with no error message.

Which operating system are you using? If you're on Linux and you've installed love from a package manager instead of the AppImage download on the home page, then love will be using whatever patch version of LuaJIT that the package manager provides instead of a version that's guaranteed to have the p...
by slime
Mon Mar 04, 2024 5:10 pm
Forum: Support and Development
Topic: Unusual crashing within the first few seconds of the game with no error message.
Replies: 7
Views: 873

Re: Unusual crashing within the first few seconds of the game with no error message.

I haven't looked too thoroughly but I noticed in base.lua and world.lua you're making a bunch of new quads every frame and immediately throwing them away - the garbage collector might not be able to keep up when it's done every frame like that (since Lua's garbage collector doesn't know the full amo...