Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How to compress WebAssembly game code?

A topic by Beuc created Nov 04, 2019 Views: 900 Replies: 1
Viewing posts 1 to 2
(+3)

Hi,

As part of the RenPyWeb engine, I need to transmit a large-ish .wasm with browser-level gzip compression (75% gain).

Embedding a JS gzip decompressor is proving increasingly hard to maintain, is less efficient, and incompatible with .wasm streaming compilation.

I can't find documentation on how compression is meant to work at itch.io and my tests so far are not conclusive (I can't find a way to both get content-type=application/wasm and content-encoding=gzip).
What do you guys recommend?

(+1)

I'd love to see an answer to this, too!

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.