My bad! Switched over to the github pages fallback. Cloudflare pages isn't suitable because the wasm files (100mb+) exceed the 25mb limit. (i could bypass this with service worker jank but that tends to be fragile). Github Pages also isn't suitable because it doesn't have a native way of sending the coi/coep headers that are required for SharedArrayBuffer to be available. Can also bypass that with service worker jank but I would prefer not to
Cloudflare R3 might suit the scenario better for you in terms of the heavy assets, it's like AWS S3 except for the cool part where you aren't charged for data egress (last I checked! haha)
I'm about to buy Terraria after all these years, just so I can get the assets and check this out. You're cool :)
The service worker jank, while conceptually hacky, is actually remarkably un-janky and not really noticeable to users! It's very much fire-and-forget unless you also wanted to have another service worker (in which case it's time for suffering; service workers aren't even a little bit composable).
btw: this results in a white page on the first load until you manually reload, since the SW has not been loaded yet. May want to force a page reload on the SW install event to fix.
also: this is incredibly cool. thanks for writing this up and sharing!
I don’t know whether FF lacks these features, but I’m using:
- webpage splits
- search by image
- go to non-<a> url in bg tab
- open in new tab in a virtual sub group rather than just to the right or at the end
- tabs retain width on close until mouse goes away (helps with closing series of tabs)
- bookmarks open in new tab by default
- last tab doesn’t close the browser
- gestures and toolbar customization
That’s in Vivaldi, I probably forgot a bunch of features that feel natural but may have no FF counterpart. Tbh, looking at FF settings, there’s basically none. You can’t miss features that you never had, I guess.
the ability to make "worthless trash games" is the only reason that the indie industry can exist at all. there are huge communities around sharing small lower-effort projects (which countless well-received games started out as) and gatekeeping an engine to enterprise customers only would be a far far worse decision than what they've already done
besides, the rates only kick in after your profit reaches 200k so it wouldn't do anything