231 points · by jsheard · 7y ago · 146 comments
Also, download code is dumb for now, it is downloading one big full .pk4 file (400MB) for each visitor loading the app. I know, it should be better to only preload necessary assets for sure! Smart streaming of game data is one necessary step for apps on the web.
[1] https://kotaku.com/5866594/you-can-now-play-bastion-in-googl...
This loss of control over the software i use is my main annoyance by far as a user when it comes to the trend of pushing everything as a web app.
It’d be cool if browsers let you back up local copies of sites though.
But no one minds downloading a multi-megabyte or gigabyte game over Steam or console, because users are trained to expect that to take a while.
So what's needed, in my mind, is something with a user experience between the two - for games and applications to run in something more akin to a "package manager" mode than a basic browser window. Or maybe, on the web, have some alternative content to distract the user while the content downloads.
The size of the entire download could possibly be reduced by having browsers ship with some standard plugins and modules, maybe runtimes (imagine having most of the Unity framework already in the browser.)
Maybe, just maybe, they could not run in a browser window.
Steam actually offers the option to start playing before the download is complete on a few titles (not everything supports it)
Steam is already a very good solution for distributing PC games and it has the added benefit of implementing a payment model, DLC features, social capabilities, updates, cloud-synchronized saved games, and, perhaps most importantly, a discovery service for finding new games. It even supports automatic WINE mode for windows-only games in linux (a feature that surprised me).
I welcome the day when more games run automatically in OSX or Linux, but I think the need for an app platform isn't going to go away. And as someone who plays games often offline (on a plane or sometimes the train) it's really nice to not require an internet connection to play something.
I'd be interested to see how landing on a webpage with a game ready-to-go turns non-gamers such as myself into infrequent or even frequent gamers.
I would also argue that the ubiquity of the web is what makes games like agar.io and slither.io so popular, especially for kids. I remember being at techshop in SF and seeing kids rushing straight to their computers after school and opening slither.io and playing instantly. No friction. I'm sure that lends to their success.
The web is great!
Or is it f2p? So you land on page, still need to make an account for persistence. Also will need to do credit card eventually for game developer to make money. Also now game developer is looking at cdn costs of over 500 a month at a minimum for any kind of real game that is even 0.5 gb in size.
I actually own a web assembly f2p game like this. It is really not a bright future for games that compete with real client games on steam that are not tiny and have the barest performance requirements.
With unity basically the entire game needs to fit in like ~512 mb of ram, and runs poorly.
Steam is kind of a nice walled garden. The problem is that it's not the only one and that there is loads of stuff outside their walls. There's the Apple store, the Google store, the Amazon store. And that's just mobile.
A few things these stores have in common: - pay to play: they all heavily promote games that pay to be promoted. This favors games with big budgets and is a monetization problem for smaller players; like indie games. - censorship and conflicts of interest between application/game developers are a problem regularly result in applications being blocked/removed for all sorts of reasons that boil down to arbitrary restrictions imposed by the store owner. - extortion rates on monetization, in app purchases, subscriptions, etc. make being there costly. - search is a problem. Even Google's search in the appstore is comparatively shit. I regularly resort to using their web search to find apps I know definitely exist in their app store. Apples store is a maze of misdirection. Their search is shit. - Getting into the store requires a non trivial amount of work and in some cases entrance fees.
PWAs fix the distribution problem and remove app stores as a necessity for that. Google, Duck Duck go, already take care of the discovery problem better than most app stores and in any case people discover things via social media, friend referrals, etc. Being featured in the top 20 of the IOS app store is not a feasible thing for most developers. Also, browsers already keep us safe so we don't need to rely on app store screening any more.
So, time to tear down those walls once more.
The history of walled gardens is that eventually somebody climbs over the wall and figures out there is a world beyond. Biblical stuff even, if you are into that ;-).
Then again, they're consolidating faster than the T-1000 in the foundry.
This might be an interesting POC, but seems very impractical in reality.
I recently found my Doom 3 CDs and tried installing it on Win10, but apparently doesn't work out of the box on 64-bit (crashes at start) without manually patching for using > 2 GB of RAM from the cursory googling I did.
If this does work later, will have to show it to my 11 year old step son. Was hoping to freak him out with Doom 3 when I found my disks (he loves shooters & scary movies, so thought he might get a kick out of it).
Local HN submitter ruins everything :(
The browser is the solution to the presentation/distribution problem. I don't need to worry about installing the game, or worry about what OS I'm on or where it was installed to or anything else.
I go to the URL, and the game downloads if needed, then plays. Updates, local caching and storage, and more is all taken care of. If I want to play with a friend on some multi-player game, I send them the link, and they go to it and start playing themselves.
no "launchers" needed, no app stores which take a cut, no platforms which can decide that the game isn't suitable for their system, no app stores which can decide that the app is too close to something they offer and removing it, no expensive publishing costs, and you have multiple browsers to choose from if you don't like any one in particular.
Most people don't worry about that in any case. If I'm on Windows, I download the Windows version of whatever, and the installer does whatever. In a browser, you're just "installing" software to the cache. It's the same thing in a different wrapper.
>I go to the URL, and the game downloads if needed, then plays. Updates, local caching and storage, and more is all taken care of. If I want to play with a friend on some multi-player game, I send them the link, and they go to it and start playing themselves.
This is a good argument for HTTP as a distribution system, but you don't need a web browser for any of that.
>no "launchers" needed, no app stores which take a cut, no platforms which can decide that the game isn't suitable for their system, no app stores which can decide that the app is too close to something they offer and removing it, no expensive publishing costs, and you have multiple browsers to choose from if you don't like any one in particular.
Except the browser is the "launcher" and the site you download from being an "app store" for all intents and purposes, entirely capable of curating or charging money.
I agree, except for the magnitude difference in time required in most cases.
A web-app that takes more than 10 seconds to load is consitered broken to many. A desktop app that can go from "discovery" to "using" in less than a minute is consitered fantastic. Plus then there are update headaches.
I genuinely believe one of the major reasons why the web is taking over is because every other platform makes the process of "installing" code such a difficult slow process.
Not to mention the security issues with giving code access to desktop systems which traditionally are difficult for the average user to secure. And the fact that I don't ever think i've had a piece of installed software ever completely "uninstall" itself correctly. They always leave stuff behind. In a browser, a single "clear browsing data for this domain" gets rid of all of it, entirely.
>This is a good argument for HTTP as a distribution system, but you don't need a web browser for any of that.
But you do. Some platforms (like iOS) don't allow distribution over any methods other than their app store, or a browser. Still more heavily discourage distribution over HTTP (most linux distros). And most users will download the "installer" for a game via a browser in the extreme vast majority of cases, so why not cut out the middleman and just allow the game to be playable in a browser?
There are also other benefits of a web-platform game, like the ability to "deeplink" inside the app. I can not only share a link to the game, but can easily share a link to a specific screen in the game, or can share a link to allow you to connect to my game. And that whole process is crawl-able for search engines, and easy to implement. Sure, it's possible to do with desktop software, but it's much harder in most cases, especially when you throw cross-platform into the mix.
>...the site you download from being an "app store" for all intents and purposes, entirely capable of curating or charging money.
While of course a specific site can act as a gatekeeper, that's not what I was talking about. Time and time again we see stories about how Apple removed some app from the app store, or some company pulls their subscriptions from being allowed to sign-up on iOS devices, or how some game makes their own app-store to get around the limitations on android, or even how most "app stores" don't allow adult content.
That is the kind of stuff that the web-as-a-platform gets you away from. You aren't going to have Google removing your app because it's too adult, or Apple charging you a 30% fee for all subscriptions made on their platform.
I'm all for streamlining this process to allow users like yourself that want a "local install" to get it, but I don't think we should throw the baby out with the bathwater here. Browsers give us a shitload of benefits, and the discovery and "install" process (or the lack of) is second to none. I think we can work with those benefits, and give users and developers the options needed for other formats if they want.
For example, The microsoft store has started allowing PWAs to be listed, browsers could work with the OS and define some APIs that allow you to choose where to "install" a PWA or web game, possibly even allowing you to simply move it or uninstall it after the automatic "install" happens.
We are finally getting away from the days where it would take tens of minutes to download and install software on a computer, where it would require you to give a considerable amount of trust to that software once you run it, and making it really hard to share content within apps with others. I don't see why you would want to go back.
But now that I said all of that, I realized that I don't really know why someone would want to not have it. So I guess my question is why do you want a traditionally "installable" code? Is there something I'm missing here, or some assumption that one of us is making that is getting rolled in with this conversation?
The only thing a browser offers is an HTML and Javascript context... which are necessary to run it in a webpage, but not really the entire purpose of webassembly as a concept.
It will be, as long as we can stay away from the paradigm of Electron as the de facto runtime for Webassembly. Despite its name, Webassembly doesn't need to run in a browser, we can have executable WASM run in thinner native clients.
Creating compiled applications that look halfway decent is REALLY hard with compiled UI toolkits, for the most part. And really easy for browser based toolkits. While I don't appreciate the additional bloat of Electron itself, it is a nice option. I would like to see something similar be available as a cross-platform baseline, auto-updated like chrome. Node + Carlo could be an option, which would at least use the platform installed Chrome.
In the end, something like Adobe's Air platform could be incredible, but run by a company that supported more modern JS, and rendering. My hope is that with MS changing Edge to use Blink's engine that something like this could evolve and be adopted by other platforms.
... but yes, surprised how well it ran on my old laptop!
https://groups.google.com/d/msg/emscripten-discuss/pKcWvKppj...
I was having a lot of audio cutouts too, and the framerate tanked when the actions started heating up. Imps jumping around could drop it to the low single digits. Still, pretty impressive for playing in a browser.
It's much harder for apps that are trying to render to the DOM (which is very slow). But WebGL apps should be perfectly fast in browsers...
Not trying to be rude, but this phone doesn't exist,