Automatic Game Updates

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
adnzzzzZ
Party member
Posts: 305
Joined: Sun Dec 26, 2010 11:04 pm
Location: Porto Alegre, Brazil

Automatic Game Updates

Post by adnzzzzZ »

I wrote a blog post on how to make an auto-updater for your LÖVE game. I thought this was really cool and easy so I thought I'd share it here https://github.com/adonaac/blog/issues/6
Rickton
Party member
Posts: 128
Joined: Tue Mar 19, 2013 4:59 pm
Contact:

Re: Automatic Game Updates

Post by Rickton »

Very cool, and surprisingly straightforward. Way easier than messing with io or whatever the other methods are. Kind of surprising no one's thought of it before.
Possession - Escape from the Nether Regions, my roguelike made in LÖVE for the 2013 7-Day Roguelike Challenge
And its sequel, simply called Possession , which is available on itch.io or Steam, and whose engine I've open-sourced!
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Automatic Game Updates

Post by Jasoco »

Concerned Joe did it already. There's two .love files that get run. The first one is a launcher with news and an updater that checks for new versions, then downloads it and runs the new version of the game. Quite genius actually.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Automatic Game Updates

Post by T-Bone »

With the popularity of Minecraft, people are now fairly accustomed to the idea of launching a news/updater first, where you can log in, update the client etc.

I think it's important to think about if this is really necessary for your game, however. For multiplayer games, it's essential, since things can go very wrong if people are using different versions of the game. For single-player games, it really depends on how much you're planning to update. For most single-player games, most players will likely expect to be able to jump straight in.
User avatar
JuiceBox
Prole
Posts: 7
Joined: Thu Aug 27, 2015 6:50 am
Location: United States
Contact:

Re: Automatic Game Updates

Post by JuiceBox »

Thanks for writing this, it's pretty easy to get a grasp of. :ultrahappy:
User avatar
ivan
Party member
Posts: 1911
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Automatic Game Updates

Post by ivan »

This is a cool feature and a definite must when you distribute your game as a standalone.
Kind of surprising no one's thought of it before
A few people have previously done things like this with Love and I have tried similar techniques using Lua.
Unfortunately an auto-update service is not trivial to scale/maintain if you have a massively popular game.
Still, an auto-updater would work well for small freeware or free-to-play games.
Post Reply

Who is online

Users browsing this forum: No registered users and 158 guests