LÖVE Formats

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: LÖVE Formats

Post by qubodup »

  • PNG, SVG (I wish!)
  • FLAC, Vorbis (OGG)
  • Theora (I wish again..)
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Green_Hell
Citizen
Posts: 94
Joined: Thu Feb 21, 2008 1:11 am

Re: LÖVE Formats

Post by Green_Hell »

rude wrote:Should LÖVE support all the image and sound formats the software world has to offer? Or should we restrict ourselves to only the most popular ones?
I'm for as much as possible. But I know it'd be counterproductive.

My list matches the currently supported formats. So I'm posting only tops of my charts:

Sound:
  1. OGG
  2. WAVE
  3. MP3
  4. ...
Music:
  1. Modules XM, IT, MOD (all of them)
  2. MIDI
  3. OGG
  4. ...
Images:
  1. PNG
  2. JPG
  3. GIF
  4. BMP
  5. ...
>>I love LÖVE.<<
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: LÖVE Formats

Post by appleide »

MP3, OGG, FLAC, WAV, MIDI, XM, IT, MOD or anyone supported by SDL_sound.
PNG, GIF, JPEG, TGA, BMP or anyone supported by DevIL.
OGG, WAV, MIDI, (MP3)
PNG, JPEG, BMP
u9_
Citizen
Posts: 54
Joined: Thu Oct 23, 2008 7:12 am

Re: LÖVE Formats

Post by u9_ »

qubodup, you're right, gif was patented, but it has expired now.

In order of likely use:
mp3, wave, ogg, midi.

png, jpg, tga.
surtic
Citizen
Posts: 74
Joined: Sat Jul 12, 2008 12:18 am

Re: LÖVE Formats

Post by surtic »

In my (humble) opinion, file formats should only be included if
1. The format itself is popular
2. It has advantages that other formats don't
3. It cannot be easily converted to other formats

Taking image formats as an example, I see a point in having PNG (transparency, lossless) and JPG (small files). BMP is popular, but it can be converted to PNG (or JPG) easily, so there's no point in supporting BMP.

Converting MP3 to OGG loses quality, plus MP3 is hugely popular, so there's definitely a point in having it (of course, legal issues should not be ignored).

I'm in favour of having less formats, but please (rude) could you please please add "image from buffer" at some point? (discussed for 0.4.0, then for 0.5.0). Then we could use PPM and TGA if we wanted to, without polluting the love namespace.
User avatar
Sardtok
Party member
Posts: 108
Joined: Thu Feb 21, 2008 2:37 pm
Location: Norway/Norge/諾威/挪威 (Yes, I'm teh back!)
Contact:

Re: LÖVE Formats

Post by Sardtok »

You only need a license for mp3s if it's something commercial, and you actually make some money.
Thomson and Frauenhofer wrote:However, no license is needed for private, non-commercial activities (e.g., home-entertainment, receiving broadcasts and creating a personal music library), not generating revenue or other consideration of any kind or for entities with associated annual gross revenue less than US$ 100 000.00.
Take off every Zigg for great rapist.
Now, outgay that!
User avatar
Tabasco
Citizen
Posts: 72
Joined: Tue Dec 02, 2008 5:04 pm

Re: LÖVE Formats

Post by Tabasco »

I use PNG, TGA, and OGG, pretty much whether I'm toying around with love, c, or whatever. I wouldn't be opposed to MP3, but for that lander game I just loaded up Audacity and converted everything to ogg files.
There are plenty of tools available for converting images and audio to just about any format a person could imagine, so it seems to me that a few moments of extra work on the part of the programmer would be better than increasing dependencies and complexity in love.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: LÖVE Formats

Post by qubodup »

Sardtok wrote:You only need a license for mp3s if it's something commercial, and you actually make some money.
This topic is pretty intercoursed up.

Lol, those **ck*ards use images to display text.
blah blah blah blah... Note: No license fees are due if less than 5000 copies of a particular game title are distributed.
(found out about this via this tigsource thread.)
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
Sardtok
Party member
Posts: 108
Joined: Thu Feb 21, 2008 2:37 pm
Location: Norway/Norge/諾威/挪威 (Yes, I'm teh back!)
Contact:

Re: LÖVE Formats

Post by Sardtok »

qubodup wrote:
Sardtok wrote:You only need a license for mp3s if it's something commercial, and you actually make some money.
This topic is pretty intercoursed up.
Wuzzef0x?
They made an exception for games? It doesn't even say in their license, just their price page? That's farking retarded.
Take off every Zigg for great rapist.
Now, outgay that!
User avatar
farvardin
Party member
Posts: 167
Joined: Sat Jun 28, 2008 6:46 pm

Re: LÖVE Formats

Post by farvardin »

Löve should only support opensource formats, because there is more love in them.
And besides, there is no use to support too many formats (who cares about gif anymore ?) especially when they have a better equivalent or you can find some free converters. Löve should remain simple and portable.
I fear mp3 should raise some legal issues one day so it's better to avoid it.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 161 guests