- Godot 4.2
- With the preview version linked, you must disable
Display Grid
within the editor settings underTiles Editor
or your performance will bw nuked because of an ongoing bug with how the grid is displayed.
- With the preview version linked, you must disable
For automatic deployments of releases:
- Set
ITCH_IO_API_KEY
to Itch.io api key- This can be generated in the developer settings on your itch account
- Set
account/project-name
within thegodot.yml
workflow to the url part of your project- E.g.,
bouncetechnologies/scream-jam-2023
- E.g.,
- Create a release which starts with
v
- Wait for the action to pass and wait for it to upload to Itch
- On Itch, set type of project to
HTML
and enableFullscreen Button
andSharedArrayBuffer support
- See it deploy!
While exporting this way is much more convenient, unfortunately to get the export to look the exact way on mac we will have to export final builds locally.
Currently affected graphical bugs:
- Respawn and death dissolve animations do not dissolve the same way locally vs github action build
For web, set your export_presets.cfg
to:
[preset.0]
name="Web"
platform="Web"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="build/web/index.html"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
[preset.0.options]
custom_template/debug=""
custom_template/release=""
variant/extensions_support=false
vram_texture_compression/for_desktop=true
vram_texture_compression/for_mobile=false
html/export_icon=true
html/custom_html_shell=""
html/head_include=""
html/canvas_resize_policy=2
html/focus_canvas_on_start=true
html/experimental_virtual_keyboard=false
progressive_web_app/enabled=false
progressive_web_app/offline_page=""
progressive_web_app/display=1
progressive_web_app/orientation=0
progressive_web_app/icon_144x144=""
progressive_web_app/icon_180x180=""
progressive_web_app/icon_512x512=""
progressive_web_app/background_color=Color(0, 0, 0, 1)
- Go to
Project->Export..
, click the web section andExport All
. - Go to
build/
folder - Zip folder and name it
game-off-2023.zip
- Go to our itch management page for our game
- Upload the zip
- Delete the old zip upload on the page
- Enable browser play for the build
- Save
- Play!
If you want to switch from local to github builds, you will have to delete the old builds on the page and set the new build generated by github to the browser playable one.