- Run this command to build the project:
wasm-pack build --release --target web
- Copy the
pkg
directory,index.html
, and any resources into a new folder. - Compress the new folder (.zip).
- Upload to itch.
- Check
This file will be played in the browser
. - Set
Viewport Dimensions
to the window size matching theWindowPlugin
'swindow_size
field.