LÖVE 0.10.2 released
- 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
I forgot to install a version of NSIS which properly supports unicode. My bad.
Re: LÖVE 0.10.2 released
Spooky ghosts of dead bugs!
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.
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?
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
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?
Re: LÖVE 0.10.2 released
First time I witness a LÖVE update, this is beautiful
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
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
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: LÖVE 0.10.2 released
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.
Re: LÖVE 0.10.2 released
You're right, it now shows 0.10.2. Thanksbartbes 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.
Re: LÖVE 0.10.2 released
Just updated to this version and everything is working perfectly, great job guys!
Re: LÖVE 0.10.2 released
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?
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?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: LÖVE 0.10.2 released
Perhaps it could've been fixed in 0.10.2 if there had been a bug report...Ref wrote:Maybe video will be fixed on 10.3.
Who is online
Users browsing this forum: No registered users and 1 guest