Search found 2620 matches

by zorg
Fri Jun 21, 2019 3:46 pm
Forum: Support and Development
Topic: A question about music
Replies: 13
Views: 3443

Re: A question about music

So in the end, a baseline could be something like this: local music = {} local music_volume = 0.5 local current_music = 0 local count_music = 11 function love.load() for i=0,count_music-1 do music[i] = love.audio.newSource("music/mus_".. i ..".mp3", "stream" ) music[i]:setVolume(music_volume) end mu...
by zorg
Wed Jun 19, 2019 6:15 pm
Forum: Support and Development
Topic: A question about music
Replies: 13
Views: 3443

Re: A question about music

People, people, no need to reinvent the wheel if you only want a track to loop from start to end, there's a method for that: Source:setLooping Example: music = love.audio.newSource("music/mus_"..math.random(11)..".mp3", "stream" ) music:setLooping(true) -- Then call music:play() somewhere in your c...
by zorg
Wed Jun 19, 2019 6:12 pm
Forum: Support and Development
Topic: love2d seems to work fine, yet it doesnt respond
Replies: 13
Views: 2005

Re: love2d seems to work fine, yet it doesnt respond

TheHUG wrote:
Wed Jun 19, 2019 6:22 am
What do you mean doesn't respond? You gave it a main.lua to run on, with love.keypressed events that don't get triggered?
Even if they haven't, they should still see the no-game screen.
by zorg
Mon Jun 17, 2019 6:10 pm
Forum: Support and Development
Topic: Audio Filter "highgain" mislabeled?
Replies: 2
Views: 1375

Re: Audio Filter "highgain" mislabeled?

Löve gives you a relatively 1:1 mapping of what OpenAl(Soft) gives you in terms of audio effects. That said, here's the developer/maintainer talking about this issue: https://github.com/kcat/openal-soft/issues/164 They do admit the filters are more akin to ~shelf filters instead of ~pass filters; Th...
by zorg
Sat Jun 08, 2019 6:50 am
Forum: Games and Creations
Topic: Possession (formerly Possession 2) - Release Date: July 18th!
Replies: 85
Views: 67692

Re: Possession (formerly Possession 2) - Release Date: July 18th!

^Intetesting copypasta / weird flex, but ok.
by zorg
Wed Jun 05, 2019 3:20 am
Forum: Support and Development
Topic: Convert a pixel-perfect ImageFont to a TrueType font?
Replies: 8
Views: 2383

Re: Convert a pixel-perfect ImageFont to a TrueType font?

You still managed to not explain why you are not satisfied with löve's style of imagefonts...

THEN AGAIN, the wiki clearly states that löve ALSO supports the bmfont format, so i'm unsure what you're on about with the fontcutter thing, since i feel like that's also useless in this context.
by zorg
Mon Jun 03, 2019 7:47 am
Forum: Support and Development
Topic: Ogg Vorbis And Audio Start and end Loop Tags?
Replies: 4
Views: 2188

Re: Ogg Vorbis And Audio Start and end Loop Tags?

Simple answer is no, because you'd need to add in such functionalities to -all other- supported sound formats as well, to keep consistency between them; mp3 files afaik only have reliable loop points if they are LAME-encoded, and have such tags in them; wav also support loop point metadata, but code...
by zorg
Mon Jun 03, 2019 7:40 am
Forum: Support and Development
Topic: Some love features I think would be useful
Replies: 7
Views: 1738

Re: Some love features I think would be useful

What löve provides itself is already capable of making implementing such a -stateful- input system possible; hence, it's a perfect candidate for a library.
by zorg
Sun Jun 02, 2019 6:25 pm
Forum: Support and Development
Topic: [SOLVED] getDirectoryItems() and getInfo()
Replies: 9
Views: 2104

Re: [SOLVED] getDirectoryItems() and getInfo()

Finally, i did create a (fully script-based, not a binary file) library that uses LuaJIT's FFI to access a few PhysFS functions directly, and which also edits love.filesystem.mount (and maybe the VFS paths, optionally) to allow read access on your whole computer. (write access is difficult for mult...
by zorg
Sun Jun 02, 2019 2:41 pm
Forum: Support and Development
Topic: [SOLVED] getDirectoryItems() and getInfo()
Replies: 9
Views: 2104

Re: [SOLVED] getDirectoryItems() and getInfo()

love.filesystem.mount usually has only two use-cases: - Open a zip from a known and accessible path; this is most useful for online-distributed patches/dlc/content in general. - Open a folder, specifically the SourceBase folder if the project is ran on windows and one wants to access files next to t...