Live data from Hacker News

Show HN: Porting Terraria and Celeste to WebAssembly

velzie.rip

11–20 of 55 posts

Re: Show HN: Porting Terraria and Celeste to WebAssembly

#11

Getting firebase "bandwidth quota exceeded" error when trying the demo. You shouldn't have to worry about this kind of stuff if it's just a static site. I'd host this on a cdn like cloudflare or github pages (free!).

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…

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 :)

Re: Show HN: Porting Terraria and Celeste to WebAssembly

#12

Getting firebase "bandwidth quota exceeded" error when trying the demo. You shouldn't have to worry about this kind of stuff if it's just a static site. I'd host this on a cdn like cloudflare or github pages (free!).

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…

Depending on how well the files compress, you could try: https://developer.mozilla.org/en-US/docs/Web/API/Compression...

Re: Show HN: Porting Terraria and Celeste to WebAssembly

#14

Earlier quoted context omitted.

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…

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 :)

R2

Re: Show HN: Porting Terraria and Celeste to WebAssembly

#20
post #18
post #17

Your (?) website is so resource-demanding it's insane. I'm struggling to run it at any decent framerate on an i5-7500T. Makes the entire browser just crumble

I scrolled through the whole thing on my phone and it was fine

Weird huh
Post reply on HN