LÖVE 0.10.2 released

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

Re: LÖVE 0.10.2 released

Post by slime »

I forgot to install a version of NSIS which properly supports unicode. My bad. :(
Santos
Party member
Posts: 384
Joined: Sat Oct 22, 2011 7:37 am

Re: LÖVE 0.10.2 released

Post by Santos »

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 »

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 »

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: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LÖVE 0.10.2 released

Post by bartbes »

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.
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 »

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: 222
Joined: Wed Nov 27, 2013 9:44 am
Contact:

Re: LÖVE 0.10.2 released

Post by Fenrir »

Just updated to this version and everything is working perfectly, great job guys!
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: LÖVE 0.10.2 released

Post by Ref »

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: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LÖVE 0.10.2 released

Post by bartbes »

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...
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: LÖVE 0.10.2 released

Post by kikito »

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 9 guests