LÖVE 0.7.0 beta released

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Re: LÖVE 0.7.0 beta released

Post by Tesselode »

I think it's always been like that.
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

love.graphics.setIcon

Post by leiradel »

1. Does love.graphics.setIcon have a love.conf counterpart?

2. It changes the icon on the taskbar and in the ALT+TAB window, but not on LÖVE window's titlebar. Is it a bug or the intended behavior?

Thanks,

Andre
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: love.graphics.setIcon

Post by leiradel »

leiradel wrote:1. Does love.graphics.setIcon have a love.conf counterpart?

2. It changes the icon on the taskbar and in the ALT+TAB window, but not on LÖVE window's titlebar. Is it a bug or the intended behavior?

Thanks,

Andre
Forgot so say: Windows 7 64 bits.
pekka
Party member
Posts: 206
Joined: Thu Jan 07, 2010 6:48 am
Location: Oulu, Finland
Contact:

Re: LÖVE 0.7.0 beta released

Post by pekka »

I think the correct answer is almost always that Löve does whatever SDL does, because that is the library it uses. You can see what happens when the game is being loaded and started up from boot.lua. Here's a link to the repo:

http://bitbucket.org/rude/love/src/tip/ ... s/boot.lua

Looks like there is nothing about the icon in the game configuration.
User avatar
headchant
Party member
Posts: 105
Joined: Fri Sep 03, 2010 12:39 pm
Contact:

Re: love.graphics.setIcon

Post by headchant »

leiradel wrote: Forgot so say: Windows 7 64 bits.
do you have any errors related to the openal.dll(like i described on the previous page)? i hoped it was windows 7 related error -.-
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: love.graphics.setIcon

Post by leiradel »

redlock wrote:do you have any errors related to the openal.dll(like i described on the previous page)? i hoped it was windows 7 related error -.-
I haven't played any sound yet. I'll try it later and let you know.
User avatar
headchant
Party member
Posts: 105
Joined: Fri Sep 03, 2010 12:39 pm
Contact:

Re: LÖVE 0.7.0 beta released

Post by headchant »

finally got love 0.7 beta to work on Windows 7 x64, I had to rename the openal32.dll to openal64.dll
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: love.graphics.setIcon

Post by leiradel »

leiradel wrote:1. Does love.graphics.setIcon have a love.conf counterpart?
What about that one?
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: LÖVE 0.7.0 beta released

Post by leiradel »

redlock wrote:finally got love 0.7 beta to work on Windows 7 x64, I had to rename the openal32.dll to openal64.dll
It worked for me out of the box. I've tested with an ogg and a mod.

But one other problem appeared when I declared the source as a local variable inside love.load. After playing almost the entire music, LÖVE crashed. I think it may be related to the garbage collector collecting the source before it ended playing. If that's really the problem, I can see at least three solutions:

1. Put sources in the Lua registry when they start playing and removed when they end playing so that the GC doesn't try to collect them while they're playing.
2. Check if a source is playing and stop it before their memory is released in its __gc metamethod.
3. Don't put sources in local variables, though it feels more like an workaround than a fix.

#1 is preferred, I would like to be able to

Code: Select all

love.audio.play( love.audio.newSource( "music.ogg", "stream" ) )
though right now I need to pool if a source ended playing in the update loop, so I have to save it into a variable somewhere anyway...

Cheers,

Andre
User avatar
zac352
Party member
Posts: 496
Joined: Sat Aug 28, 2010 8:13 pm
Location: In your head.
Contact:

Re: LÖVE 0.7.0 beta released

Post by zac352 »

I have a question - Are you planning a way of either writing fonts to images or rotating fonts? :neko:
Hello, I am not dead.
Locked

Who is online

Users browsing this forum: No registered users and 2 guests