Search found 3436 matches

by zorg
Sun Nov 12, 2023 6:12 pm
Forum: Support and Development
Topic: How to use a LuaRocks project with a LÖVE one?
Replies: 12
Views: 11216

Re: How to use a LuaRocks project with a LÖVE one?

I just realised that I necroposted, sorry. I am still struggling with how to use external libraries. Can somebody let me know how to install loverocks on macOS? Or give me some other solution for incorporating external libraries into a love project? Most people are deathly allergic to anything luar...
by zorg
Fri Nov 10, 2023 1:25 am
Forum: Libraries and Tools
Topic: moonODE (Open Dynamics Engine (ODE)) bindings
Replies: 17
Views: 67120

Re: moonODE (Open Dynamics Engine (ODE)) bindings

As for when the next version releases (probably both 11.5 and 12.0), soon(tm) maybe, but it's just a mildly informed and moreso assumed hunch :3
by zorg
Thu Nov 09, 2023 8:11 pm
Forum: Libraries and Tools
Topic: moonODE (Open Dynamics Engine (ODE)) bindings
Replies: 17
Views: 67120

Re: moonODE (Open Dynamics Engine (ODE)) bindings

*BUT* this drives me nuts, [START: addObject-3] ----------1/3 (addObject-3)-------------------- ... meshes: Cube: Cube (36 vertices) ... ----------2/3 (addObject-3)-------------------- -1.1102230246252e-16 ----------3/3 (addObject-3)-------------------- nil ------------------------------ stack trac...
by zorg
Sun Nov 05, 2023 6:47 am
Forum: Support and Development
Topic: [solved] load c library with FFI from within .love file?
Replies: 2
Views: 1369

Re: load c library with FFI from within .love file?

I believe that since c libraries can't be mounted from archives, you need to copy it out to the save folder first, it should be loadable from there.
by zorg
Sun Nov 05, 2023 6:35 am
Forum: Libraries and Tools
Topic: TEsound - simple, easy sound/music manager
Replies: 57
Views: 51211

Re: TEsound - simple, easy sound/music manager

I found this in play function table.insert(TEsound.channels, { love.audio.newSource(sound, sourceType), func, {volume or 1, pitch or 1}, tags=(type(tags) == "table" and tags or {tags}) }) Why does it creates newSource every time I call play? The library is old as heck and unmaintained, co...
by zorg
Sat Nov 04, 2023 7:32 am
Forum: Support and Development
Topic: Help with shaders!
Replies: 2
Views: 1507

Re: Help with shaders!

Look at the wiki, under love.image, you'll find ImageData; You should use that to manipulate pixels, then you can create an Image out of it once, and every time you modify the imagedata, you'll replace the pixels of the Image with the new data with the aptly named replacePixels method; this is proba...
by zorg
Tue Oct 31, 2023 7:18 pm
Forum: Games and Creations
Topic: I published my first game with Love2d - Fire at Will (with source code)
Replies: 11
Views: 9595

Re: My first game with Love2d: Fire at Will

That cs50 harvard course is bad, considering as far as i know, it has not been kept up to date with the current löve version, but even then, it teaches quite a few bad practices. As for why you're uploading a "game" on a website seemingly more catered for code snippets and stuff for websit...
by zorg
Tue Oct 31, 2023 7:12 pm
Forum: Support and Development
Topic: love.graphics.newImage() returns userdata instead of Image
Replies: 2
Views: 1504

Re: love.graphics.newImage() returns userdata instead of Image

A bit of a different explanation, lua's type function does not know of any types that aren't part of the language itself; any and all types löve gives you are of type userdata, so the type function is not the tool you want to use to check that. Object is the supertype of all löve types, as the wiki ...
by zorg
Sun Oct 29, 2023 12:19 pm
Forum: Support and Development
Topic: UTF-8 encoding error when erasing accent characters
Replies: 5
Views: 21764

Re: UTF-8 encoding error when erasing accent characters

Amatereasu wrote: Sun Oct 29, 2023 9:48 am
pgimeno wrote: Sun Oct 29, 2023 9:13 am ...
...
Alternatively, there is a perfectly fine utf-8 library included with löve you can use, especially its own utf8.sub function.
The wiki even gives you this exact thing as an example: https://love2d.org/wiki/utf8
by zorg
Thu Oct 26, 2023 8:42 pm
Forum: Libraries and Tools
Topic: Help for LOVE2D e-book.
Replies: 4
Views: 13071

Re: Help for LOVE2D e-book.

Sheepolution, not sheepnation. Also, the "gaming algorithms" you listed aren't really tied to löve itself. Gravity is you looking up how physics can work, that you also mentioned; there are different physics libraries besides the included one that might be better depending on what kind of ...