h4de5 / godot-digfree

A godot game about digging for freedom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

godot-export

godot-boilerplate

This is a boilerplate repository for any godot v3.4 game.

It will automatically build Windows, Linux, MacOSX binaries and create an HTML5 export for GitHub Pages on every push to the main branch.

If you create and provide a keystore you will also get an Android App. Additionally you can add your itch.io API credentials to enable a automatic deployment to itch.io

Add add repository as upstream

# add upstream
git remote add upstream git@github.com:PanLabGameDev/godot-boilerplate.git
# verify
git remote -vv
# merge latest changes
git merge upstream main

Android / APK Export

  • Create your own keystore:
echo y | keytool -genkeypair -keyalg RSA -validity 20000 -dname "cn=Godot, ou=GameDev, o=PanLab, c=AT" -alias godot -keypass godotpass -storepass godotpass -keystore android.keystore
  • make sure to set your alias and your key-/storepass accordingly in the godot export_presets.cfg
  • encrypt it using gpg:
gpg -c --armor android.keystore
  • open the file android.keystore.asc in your text editor.
  • Go to your GitHub repository > Settings > Secrets: New Repository Secret
  • Name it: ANDROID_KEYSTORE
  • Set the value to the content of that .asc file (including -----BEGIN PGP MESSAGE-----...)
  • Create another secret and name it: ANDROID_KEYSTORE_PASS
  • Set the value to the password you have chosen when asked by gpg.

itch.io Export

  • Create an itch.io account and a new project: https://itch.io/game/new
  • Give it a proper name and set Kind of project to HTML - you can leave the rest empty and update it later
  • Go to your settings > Api Keys: https://itch.io/user/settings/api-keys
  • Click Generate new API key and copy the key.
  • Go to your GitHub repository > Settings > Secrets: New Repository Secret
  • Name it: ITCHIO_API_KEY
  • Set the API key as content.
  • Create another secret and name: ITCHIO_USER
  • Set your username as content.
  • Create another secret and name: ITCHIO_GAME
  • Set the name of your itch.io project as content.

About

A godot game about digging for freedom

License:MIT License


Languages

Language:GAP 100.0%