itch.io is community of indie game creators and players

Devlogs

Export workflow

Space invaders
A browser game made in HTML5

This update  was actually done to test my new export workflow, instead of doing the godot export and the itch upload by hand, I made a script to do it for me !


The script takes a name as an argument :
`godot-itch-push.bat space-invaders`

Exports the project using godot CLI :

`godot --headless --export-release "Web" "/exports/index.html"`
`godot --headless --export-release "Windows Desktop" "/exports/$project_name.exe"`
`godot --headless --export-release "Linux" "/exports/$project_name.x86_x64"`

Zips the web version :
`tar -a -c -f "$project_name.zip"  "/exports/web/*"`

Push the exports to itch using butler:

`butler push '.\exports\$project_name.zip' spritelessdev/$project_name:web`
`butler push '.\exports\$project_name.exe' spritelessdev/$project_name:windows`
`butler push '.\exports\$project_name.x86_64' spritelessdev/$project_name:linux`

This will probably save a lot of time in the future

Files

  • space-invaders-web.zip 9.3 MB
    Version 3
  • space-invaders.x86_64 67 MB
    Version 3
  • space-invaders.exe 92 MB
    Version 3
Download Space invaders
Leave a comment