From my personal experience (have a look at the game I published for this jam), you should:
- use the compatibility export with love.js
- make every sound static
- make sure that if you rely on keys being in a specific order in a Lua table, you somehow sort them, because the order is a bit random at times on the web version. I think the spec for lua’s tables doesn’t specify that the keys should be in a specific order… My solution was to just get all the keys, put them in a table, sort them, then access the elements through this sorted list of keys.
It still bugs out randomly: the sound stops, there are visual artifacts, backgrounds don’t show sometimes…
I’m a bit disappointed to be honest; I think the “non compatibility” mode works way better because it supports threads, but itch.io can’t provide the right headers to enable this yet, so we have to default to the other mode.