Page 3 of 7

Re: LÖVE 0.7.0 beta released

Posted: Mon Sep 20, 2010 9:09 pm
by Tesselode
I think it's always been like that.

love.graphics.setIcon

Posted: Tue Sep 21, 2010 3:13 am
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

Re: love.graphics.setIcon

Posted: Tue Sep 21, 2010 3:13 am
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.

Re: LÖVE 0.7.0 beta released

Posted: Tue Sep 21, 2010 6:55 am
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.

Re: love.graphics.setIcon

Posted: Tue Sep 21, 2010 1:37 pm
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 -.-

Re: love.graphics.setIcon

Posted: Tue Sep 21, 2010 1:49 pm
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.

Re: LÖVE 0.7.0 beta released

Posted: Tue Sep 21, 2010 4:24 pm
by headchant
finally got love 0.7 beta to work on Windows 7 x64, I had to rename the openal32.dll to openal64.dll

Re: love.graphics.setIcon

Posted: Tue Sep 21, 2010 11:37 pm
by leiradel
leiradel wrote:1. Does love.graphics.setIcon have a love.conf counterpart?
What about that one?

Re: LÖVE 0.7.0 beta released

Posted: Wed Sep 22, 2010 12:28 am
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

Re: LÖVE 0.7.0 beta released

Posted: Mon Sep 27, 2010 1:04 pm
by zac352
I have a question - Are you planning a way of either writing fonts to images or rotating fonts? :neko: