5 ms·
Unfortunately, the web is not a viable platform for games. Why not? The usual answer is "performance", but that's a non-answer. Not all games need cutting edg
by onion2k 6y ago
Unfortunately, the web is not a viable platform for games.
Why not?
The usual answer is "performance", but that's a non-answer. Not all games need cutting edge levels of performance, web performance for accelerated graphics is actually pretty good as once a shader is on the GPU there's very little practical difference between web and native, and most importantly nothing pushes performance to improve quite like developers trying to maximize performance. If we don't try to make web games (or any other performant apps) then there's no reason for browser vendors to work on improving the situations where things are slow.
If Godot's devs think web is an interesting and fun thing to target then they absolutely should be making tools like this.
- slezyr 6y ago> The usual answer is "performance", but that's a non-answer. Try to play https://slither.io https://slither.io The performance is horrible even in simple games.
- andybak 6y agoSurely that's a poor implementation? The parent post's point still stands. Browsers are "good enough" a very broad range of games. There's ample evidence of this if you wanted to look.
- slezyr 6y agoSo, can you provide "good enough" games with "good implementations" that are somewhat popular?
- athrowaway3z 6y agoagar.io
- slezyr 6y agoIt lags even more that slither
- TheSisb2 6y agoVenge.io
- slezyr 6y agoIt looks even worse that Quake3 to me and it's gameplay is just dull.
- andybak 6y agoAren't you just moving the goalposts now?
- felipellrocha 6y agoYeah, they did. Goalpost went from "is it even feasible" to "did the devs implement a compelling game" as if it was impossible to create a compelling game over the web.
- kroltan 6y agohttps://krunker.io/ https://krunker.io/ Runs at a couple hundred FPS if left uncapped, and has very good netcode.
- modeless 6y agohttps://poki.com https://poki.com has 30 million monthly active users. That's more than e.g. DOTA 2, CS:GO, or any other single Steam game. Yes there is a lot of trash, but there is also some decent stuff on there.
- isodev 6y agoIt doesn't work in Safari or mobile browsers. It's quite far from the expectations of a versatile web platform. WebAssembly has a lot of potential, so one day... perhaps.
- crocodiletears 6y agoWorking pretty well for me on Chromium and Firefox mobile. iOS and everything on it using Webkit though, I'm sure there're some issues.
- isodev 6y agoIt's so frustrating to constantly switch between my favourite browser and whatever the developers had in mind.
- andybak 6y agoIf your favourite browser is Safari then there's a good reason developers might have targeted another browser - Safari is consistently slow in adopting the kind of features that enable more cutting edge web applications. That's not neccesarily a bad thing but you can't complain if you're trying to run cutting-edge apps on a conservative browser.
- isodev 6y agoI am happy they are experimenting with something fresh and cool. My complaint is that it can't possibly be anywhere near ready without being more inclusive. This comment goes beyond browsers - it's such a bummer when I try to play a game I like or one that someone recommended and then "oops, we don't support your device/browser...".
- andybak 6y agoBut doesn't that mean Apple gets to choose the pace of advancement and be the gatekeeper of features? At least on Desktop - it's not that much of a burden to have a second browser installed for certain apps, is it? I use Firefox for daily browsing but I've got Chrome and Edge for those times I want to run something that Firefox doesn't support (which is fairly rare). I imagine it's much less rare with Safari.
- onion2k 6y agoThat definitely lags when there's more than one or two 'snakes' on the screen. The performance sucks. I'd argue that shows that specific game is poorly coded more than it shows web browsers can't handle performant games. If you look at something like https://beta.unity3d.com/jonas/AngryBots/ https://beta.unity3d.com/jonas/AngryBots/ you'll see that browsers can, technically, cope with at least PS2 level graphics in a decent game running at a solid 60fps.
- liveoneggs 6y agothe web is not viable for games because browsers are unstable targets that change things constantly, breaking the games. Back when there was a stable deployment target (flash) games were everywhere.
- learc83 6y agoThis is very true. I built a game to go along with our wedding invitations. I’ve been maintaining it for the past 6 months, and it has stopped working on one browser or the other multiple times. This is despite the fact that I’m using a popular actively maintained JavaScript engine. It noticed just a few days ago that is wasn’t working on my iPhone because mobileSafari decided to stop reporting itself as safari and only as “mobile safari”.
- StavrosK 6y agoWhy do things break? The underlying primitives are as simple as a canvas element, no? I'd think it would be hard to break an array of literal pixels.
- jan_Inkepa 6y agoSound stuff is still pretty unstable.
- jayd16 6y agoWell for starters even getting a canvas based UI working that supports all DPIs, all aspect ratios, live resize, clicks, and multi-touches is non-trivial.
- sfjailbird 6y agoNot to mention text input.
- pjmlp 6y agoAnd unless we do some strange CSS tricks to force acceleration, there isn't even the guarantee that canvas is doing hardware acceleratd drawings.
- sfjailbird 6y agoMost importantly, nobody wants to pay for anything on the web. Sad but true.
- jan_Inkepa 6y agoAdvertisers were willing to pay quite a bit back in the days! While privacy is good, the advertising industry supported a p. large cottage industry of cool online game developers back in the days. A lot of people I know got their first buck that way in a way that's harder to do nowadays.
- UnpossibleJim 6y agoI hate to admit it (and it truly does pain me), but anything casual will be on a mobile platform. Anything on the web should just be ported to the mobile space. The rise of web games, way back when, was to blow off some steam at work. With the rise of monitoring software, that niche has been filled with mobile games that can waste time at work, on the bus, on the toilet, at the dinner table and while watching the television. Flash games are where I started making graphics and learning programming, so this is a wonderful introduction for younger people to programming (Godot doesn't come with a suite of drawing programs like the stolen version of the Adobe Suite that I "liberated" as a script kiddy a thousand years ago). They can readily host them for cheap or free and show them to their friends, but as for business viability, you're very right. Apologies for the length of this.... it kind of got away from me =)
- TazeTSchnitzel 6y agoThere are free-to-play web games making a killing off microtransactions.
- Negitivefrags 6y agoPeople played browser games before because it was a way to play games without installing them. This is a use case that existed because of locked down computers in schools, universities and workplaces. Now everyone has phones.