LÖVE 0.10.2 released

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
slime
Solid Snayke
Posts: 2715
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: LÖVE 0.10.2 released

Post by slime » Tue Nov 01, 2016 2:05 am

I forgot to install a version of NSIS which properly supports unicode. My bad. :(

Santos
Party member
Posts: 375
Joined: Sat Oct 22, 2011 7:37 am

Re: LÖVE 0.10.2 released

Post by Santos » Tue Nov 01, 2016 6:26 am

Spooky ghosts of dead bugs! :o

Congrats slime and bartbes!


If anyone else thought "why would you need love.event.quit("restart") instead of calling love.load() or whatever?", I certainly don't have the definitive answer, but what I came up with was: A quick way to reset a game where there might be stuff declared outside of love.load, and it also resets internal LOVE/Lua state.

For example, calling love.load() would do nothing to reset the number declared outside of love.load or clear the global Image created outside of love.load or reset the background color.

Code: Select all

local number = 0

function love.keypressed()
    number = number + 1
    image = love.graphics.newImage('image.png')
    love.graphics.setBackgroundColor(255, 255, 255)
end
I'm probably missing other things here.


And if anyone else thought "why is it love.event.quit("restart") instead of love.event.restart() or something, why is restarting a variant of quitting?":

love.event.quit takes an exit status as an argument (which is the number that LOVE returns to the command line once it finishes, and it defaults to 0 which typically means "this program didn't error", I think).

This exit status is returned from love.run. If love.run returns "restart" then the game is restarted instead of quit.

So just like love.event.quit(1) is a shortcut to love.event.push('quit', 1), love.event.quit('restart') is a shortcut to love.event.push('quit', 'restart').

So, if there was a convenience function for restarting, there would be three ways of restarting (love.event.restart(), love.event.quit('restart'), and love.event.push('quit', 'restart').


I guess lovec.exe means that the t.console setting can be removed in the next backwards-compatibility-breaking release?

User avatar
srcn
Citizen
Posts: 59
Joined: Fri Dec 28, 2012 2:22 am
Location: Tartu
Contact:

Re: LÖVE 0.10.2 released

Post by srcn » Tue Nov 01, 2016 8:59 am

Oh great!
I am a mad scientist!

User avatar
sherpal
Prole
Posts: 17
Joined: Wed Sep 14, 2016 9:29 am
Location: Belgium

Re: LÖVE 0.10.2 released

Post by sherpal » Tue Nov 01, 2016 9:27 am

First time I witness a LÖVE update, this is beautiful :nyu:

Sorry for being stupid though, but on the Home page I still see the 0.10.1 version, where can I find the .2 ? :(
Thanks

User avatar
bartbes
Sex machine
Posts: 4867
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LÖVE 0.10.2 released

Post by bartbes » Tue Nov 01, 2016 9:49 am

You may have to use ctrl+f5, or something similar to clear the cache. I noticed you may need to do the same on the wiki to get the version picker to show 0.10.2.
Cowardly acts and the eating of birds must not be the deeds of a Hero of Storms.

User avatar
sherpal
Prole
Posts: 17
Joined: Wed Sep 14, 2016 9:29 am
Location: Belgium

Re: LÖVE 0.10.2 released

Post by sherpal » Tue Nov 01, 2016 10:18 am

bartbes wrote:You may have to use ctrl+f5, or something similar to clear the cache. I noticed you may need to do the same on the wiki to get the version picker to show 0.10.2.
You're right, it now shows 0.10.2. Thanks :)

User avatar
Fenrir
Party member
Posts: 221
Joined: Wed Nov 27, 2013 9:44 am
Contact:

Re: LÖVE 0.10.2 released

Post by Fenrir » Tue Nov 01, 2016 10:40 am

Just updated to this version and everything is working perfectly, great job guys!

User avatar
Ref
Party member
Posts: 646
Joined: Wed May 02, 2012 11:05 pm

Re: LÖVE 0.10.2 released

Post by Ref » Tue Nov 01, 2016 7:27 pm

Maybe video will be fixed on 10.3.
On Windows 7 and Love 10.1, Video:rewind followed by Video:play (after playing the video once) would replay video once and the second time, only rewind the audio and while displaying the first frame of the video while playing the audio again.
On Love 10.2, only the audio is played and rewound - no video displayed.
Anyone have an example of a script that actually works?

User avatar
bartbes
Sex machine
Posts: 4867
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LÖVE 0.10.2 released

Post by bartbes » Wed Nov 02, 2016 9:05 am

Ref wrote:Maybe video will be fixed on 10.3.
Perhaps it could've been fixed in 0.10.2 if there had been a bug report...
Cowardly acts and the eating of birds must not be the deeds of a Hero of Storms.

User avatar
kikito
Inner party member
Posts: 3134
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: LÖVE 0.10.2 released

Post by kikito » Wed Nov 02, 2016 12:57 pm

Thanks for the good job guys :)
When I write def I mean function.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests