Search found 3444 matches
- Thu Nov 09, 2023 8:11 pm
- Forum: Libraries and Tools
- Topic: moonODE (Open Dynamics Engine (ODE)) bindings
- Replies: 17
- Views: 76764
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...
- 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: 1457
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.
- Sun Nov 05, 2023 6:35 am
- Forum: Libraries and Tools
- Topic: TEsound - simple, easy sound/music manager
- Replies: 57
- Views: 51730
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...
- Sat Nov 04, 2023 7:32 am
- Forum: Support and Development
- Topic: Help with shaders!
- Replies: 2
- Views: 1596
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...
- 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: 11963
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...
- Tue Oct 31, 2023 7:12 pm
- Forum: Support and Development
- Topic: love.graphics.newImage() returns userdata instead of Image
- Replies: 2
- Views: 1622
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 ...
- Sun Oct 29, 2023 12:19 pm
- Forum: Support and Development
- Topic: UTF-8 encoding error when erasing accent characters
- Replies: 5
- Views: 21986
Re: UTF-8 encoding error when erasing accent characters
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
- Thu Oct 26, 2023 8:42 pm
- Forum: Libraries and Tools
- Topic: Help for LOVE2D e-book.
- Replies: 4
- Views: 13472
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 ...
- Thu Oct 19, 2023 6:26 am
- Forum: Support and Development
- Topic: USB Audio interface support?
- Replies: 4
- Views: 6311
Re: USB Audio interface support?
I believe that Löve 12.0 will have the ability to select the actual audio device for the game to use, so that might be a solution, regardless whether effects are used or not; that's not the issue if there's no sound *at all*. Alternatively, that device might work only in exclusive mode, and if anoth...
- Mon Oct 02, 2023 9:19 am
- Forum: Support and Development
- Topic: It seems like there is an issue with my Fourier transform.
- Replies: 1
- Views: 4813
Re: It seems like there is an issue with my Fourier transform.
First of all, your file's character encoding is not utf-8, but GB2312, which it shouldn't be; fix that and keep to it if you don't want random unexplainable errors. Second, love.sound.newSoundData can directly take a filename, you most definitely do not need to read in the data manually. Third, the ...