online multiplayer chess game (note server currently down)
export workflow, engage!
bendn 2022-05-16
parent 538623b · commit 8b6f358
-rw-r--r--.github/workflows/export.yml26
-rw-r--r--.gitignore1
-rw-r--r--export_presets.cfg105
3 files changed, 130 insertions, 2 deletions
diff --git a/.github/workflows/export.yml b/.github/workflows/export.yml
new file mode 100644
index 0000000..12626fa
--- /dev/null
+++ b/.github/workflows/export.yml
@@ -0,0 +1,26 @@
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ export_game:
+ permissions: write-all # can be read-all, write-all, or read-write
+ # Always use ubuntu-latest for this action
+ runs-on: ubuntu-latest
+ name: export
+ steps:
+ - name: checkout
+ uses: actions/[email protected]
+ with: # Ensure that you get the entire project history
+ fetch-depth: 0
+
+ - name: export game
+ uses: firebelley/[email protected]
+ with:
+ # Defining all the required inputs
+ godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/3.5/beta5/Godot_v3.5-beta5_linux_headless.64.zip
+ godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/3.5/beta5/Godot_v3.5-beta5_export_templates.tpz
+ relative_project_path: ./
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 0bb148b..d7f78ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ logs/
*.sh
*.py
.vscode/
+exports/
diff --git a/export_presets.cfg b/export_presets.cfg
index 4e6aeaf..48ab252 100644
--- a/export_presets.cfg
+++ b/export_presets.cfg
@@ -7,7 +7,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
-export_path="../mosx.zip"
+export_path="exports/chess.zip"
script_export_mode=1
script_encryption_key=""
@@ -24,9 +24,110 @@ application/app_category="Games"
application/short_version="1.0"
application/version="1.102932084.912892.928192.928912"
application/copyright="mit"
-display/high_res=false
+display/high_res=true
privacy/camera_usage_description=""
privacy/microphone_usage_description=""
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
+
+[preset.1]
+
+name="HTML"
+platform="HTML5"
+runnable=true
+custom_features=""
+export_filter="all_resources"
+include_filter=""
+exclude_filter=""
+export_path="exports/chess.html"
+script_export_mode=1
+script_encryption_key=""
+
+[preset.1.options]
+
+custom_template/debug=""
+custom_template/release=""
+variant/export_type=0
+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 )
+
+[preset.2]
+
+name="Windows"
+platform="Windows Desktop"
+runnable=false
+custom_features=""
+export_filter="all_resources"
+include_filter=""
+exclude_filter=""
+export_path="exports/chess.exe"
+script_export_mode=1
+script_encryption_key=""
+
+[preset.2.options]
+
+custom_template/debug=""
+custom_template/release=""
+binary_format/64_bits=true
+binary_format/embed_pck=true
+texture_format/bptc=false
+texture_format/s3tc=true
+texture_format/etc=false
+texture_format/etc2=false
+texture_format/no_bptc_fallbacks=true
+codesign/enable=false
+codesign/identity=""
+codesign/password=""
+codesign/timestamp=true
+codesign/timestamp_server_url=""
+codesign/digest_algorithm=1
+codesign/description=""
+codesign/custom_options=PoolStringArray( )
+application/icon=""
+application/file_version=""
+application/product_version=""
+application/company_name=""
+application/product_name=""
+application/file_description=""
+application/copyright=""
+application/trademarks=""
+
+[preset.3]
+
+name="Linux/X11"
+platform="Linux/X11"
+runnable=true
+custom_features=""
+export_filter="all_resources"
+include_filter=""
+exclude_filter=""
+export_path="exports/chess.x86_64"
+script_export_mode=1
+script_encryption_key=""
+
+[preset.3.options]
+
+custom_template/debug=""
+custom_template/release=""
+binary_format/64_bits=true
+binary_format/embed_pck=true
+texture_format/bptc=false
+texture_format/s3tc=true
+texture_format/etc=false
+texture_format/etc2=false
+texture_format/no_bptc_fallbacks=true