Share to multiple devices, no install, playtest in seconds.

Steps

  1. Package:

    # from your project folder
    zip -9 -r mygame.love . -x "*.git*" "*.gitignore"
  2. Build with love.js:

    love.js mygame.love mygame -c -t "My Game"

    Outputs game.data, game.js, love.js, love.wasm, index.html.

  3. Test locally: cd mygameWeb && python3 -m http.server 8000

  4. Embed in Quartz (this site’s pattern):

    <iframe src="static/games/mygame/index.html"
      style="border:none; aspect-ratio: 16/9;" allowfullscreen></iframe>

    Drop the build output in public/static/games/mygame/.

I automate all of this with a one-command build.sh — full script with cleanup, and compatibility mode (-c) is documented in Web Distribution (full script).

When it breaks

SymptomFix
Black screen, console shows memory errorRebuild with more memory -m 67108864
Game works locally, not on serverServe over HTTP (not file://) + check MIME for .wasm
love.js: command not foundInstall via npm per love.js README; verify the ~/love.js folder exists