diff options
author | David <david003@gmx.net> | 2022-07-15 17:33:27 +0200 |
---|---|---|
committer | David <david003@gmx.net> | 2022-07-15 17:33:27 +0200 |
commit | a46a91e183a272e012354a6f0263299448205acb (patch) | |
tree | b0700f933db7149c1b95afed2e04d53772f7e2dc | |
download | 2022-a46a91e183a272e012354a6f0263299448205acb.tar.gz 2022-a46a91e183a272e012354a6f0263299448205acb.tar.bz2 2022-a46a91e183a272e012354a6f0263299448205acb.zip |
initial commit: template
64 files changed, 4127 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5146acf --- /dev/null +++ b/.gitignore @@ -0,0 +1,36 @@ +**/*.orig +*.elc +*.keystore +*.rel +*_archive +*_flymake.* +*~ +.\#* +.cargo-ok +.cask/ +.dir-locals.el +.org-id-locations +.projectile +/.emacs.desktop +/.emacs.desktop.lock +/auto/ +/elpa/ +/eshell/history +/eshell/lastdir +/network-security.data +/server/ +Cargo.lock +\#*\# +auto-save-list +dist/ +flycheck_*.el +godot/*.translation +godot/.import/ +godot/.mono/ +godot/data_*/ +godot/export.cfg +rust/**/*.rs.bk +rust/Cargo.lock +rust/debug/ +target/ +tramp diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0701500 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: rust +rust: stable +os: linux +dist: xenial +before_install: + - sudo apt-get -y install tree +jobs: + fast_finish: true + include: + - name: "godot-rust-template test" + if: type = push + env: RUST_BACKTRACE=1 + script: bash sh/test-template.sh diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..0a578cd --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,3 @@ +[workspace] +exclude = ["godot"] +members = ["rust"] @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 The godot-rust developers + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9081ade --- /dev/null +++ b/Makefile @@ -0,0 +1,176 @@ +# TODO: This Makefile will be removed in the future +{%- comment -%} dynamic make targets {%- endcomment -%} +{%- assign target_dir = "./target" -%} +{%- assign lib_dir = "./lib" -%} +{%- assign bin_dir = "../bin" -%} +{%- assign aarch64-linux-android-debug = "aarch64-linux-android,Android,debug" | split: "|" -%} +{%- assign aarch64-linux-android-release = "aarch64-linux-android,Android,release" | split: "|" -%} +{%- assign armv7-linux-androideabi-debug = "armv7-linux-androideabi,Android,debug" | split: "|" -%} +{%- assign armv7-linux-androideabi-release = "armv7-linux-androideabi,Android,release" | split: "|" -%} +{%- assign arm_android_targets = aarch64-linux-android-debug | concat: aarch64-linux-android-release | concat: armv7-linux-androideabi-debug | concat: armv7-linux-androideabi-release | compact -%} +{%- assign i686-linux-android-debug = "i686-linux-android,Android,debug" | split: "|" -%} +{%- assign i686-linux-android-release = "i686-linux-android,Android,release" | split: "|" -%} +{%- assign x86_64-linux-android-debug = "x86_64-linux-android,Android,debug" | split: "|" -%} +{%- assign x86_64-linux-android-release = "x86_64-linux-android,Android,release" | split: "|" -%} +{%- assign x86_android_targets = i686-linux-android-debug | concat: i686-linux-android-release | concat: x86_64-linux-android-debug | concat: x86_64-linux-android-release | compact -%} +{%- assign android_targets = arm_android_targets | concat: x86_android_targets | compact -%} +{%- assign i686-unknown-linux-gnu-debug = "i686-unknown-linux-gnu,Linux/X11,debug" | split: "|" -%} +{%- assign i686-unknown-linux-gnu-release = "i686-unknown-linux-gnu,Linux/X11,release" | split: "|" -%} +{%- assign x86_64-unknown-linux-gnu-debug = "x86_64-unknown-linux-gnu,Linux/X11,debug" | split: "|" -%} +{%- assign x86_64-unknown-linux-gnu-release = "x86_64-unknown-linux-gnu,Linux/X11,release" | split: "|" -%} +{%- assign x86_linux_targets = i686-unknown-linux-gnu-debug | concat: i686-unknown-linux-gnu-release | concat: x86_64-unknown-linux-gnu-debug | concat: x86_64-unknown-linux-gnu-release | compact -%} +{%- assign x86_64-apple-darwin-debug = "x86_64-apple-darwin,Mac OSX,debug" | split: "|" -%} +{%- assign x86_64-apple-darwin-release = "x86_64-apple-darwin,Mac OSX,release" | split: "|" -%} +{%- assign mac_osx_targets = x86_64-apple-darwin-debug | concat: x86_64-apple-darwin-release | compact -%} +{%- assign aarch64-apple-ios-debug = "aarch64-apple-ios,iOS,debug" | split: "|" -%} +{%- assign aarch64-apple-ios-release = "aarch64-apple-ios,iOS,release" | split: "|" -%} +{%- assign ios_targets = aarch64-apple-ios-debug | concat: aarch64-apple-ios-release | compact -%} +{%- assign i686-pc-windows-gnu-debug = "i686-pc-windows-gnu,Windows Desktop,debug" | split: "|" -%} +{%- assign i686-pc-windows-gnu-release = "i686-pc-windows-gnu,Windows Desktop,release" | split: "|" -%} +{%- assign x86_64-pc-windows-gnu-debug = "x86_64-pc-windows-gnu,Windows Desktop,debug" | split: "|" -%} +{%- assign x86_64-pc-windows-gnu-release = "x86_64-pc-windows-gnu,Windows Desktop,release" | split: "|" -%} +{%- assign i686-pc-windows-msvc-debug = "i686-pc-windows-msvc,Windows Desktop,debug" | split: "|" -%} +{%- assign i686-pc-windows-msvc-release = "i686-pc-windows-msvc,Windows Desktop,release" | split: "|" -%} +{%- assign x86_64-pc-windows-msvc-debug = "x86_64-pc-windows-msvc,Windows Desktop,debug" | split: "|" -%} +{%- assign x86_64-pc-windows-msvc-release = "x86_64-pc-windows-msvc,Windows Desktop,release" | split: "|" -%} +{%- assign windows_gnu_targets = i686-pc-windows-gnu-debug | concat: i686-pc-windows-gnu-release | concat: x86_64-pc-windows-gnu-debug | concat: x86_64-pc-windows-gnu-release | compact -%} +{%- assign windows_msvc_targets = i686-pc-windows-msvc-debug | concat: i686-pc-windows-msvc-release | concat: x86_64-pc-windows-msvc-debug | concat: x86_64-pc-windows-msvc-release | compact -%} +{%- assign all_targets = android_targets | concat: x86_linux_targets | concat: mac_osx_targets | concat: ios_targets | concat: windows_gnu_targets | concat: windows_msvc_targets | compact -%} +{%- assign godot_project_path_arg = "--path godot/" -%} +build-debug: +{% for target in all_targets -%} +{%- assign t = target | split: "," -%} +{%- assign build_target = t[0] -%} +{%- assign target_type = t[2] -%} +{%- if target_type == "debug" -%} +# make build-{{build_target}}-{{target_type}} +{% endif %} +{%- endfor %} +build-release: +{% for target in all_targets -%} +{%- assign t = target | split: "," -%} +{%- assign build_target = t[0] -%} +{%- assign target_type = t[2] -%} +{%- if target_type == "release" -%} +# make build-{{build_target}}-{{target_type}} +{% endif %} +{%- endfor %} +export-debug: +{% for target in all_targets -%} +{%- assign t = target | split: "," -%} +{%- assign build_target = t[0] -%} +{%- assign target_type = t[2] -%} +{%- if target_type == "debug" -%} +# make export-{{build_target}}-{{target_type}} +{% endif %} +{%- endfor %} +export-release: +{% for target in all_targets -%} +{%- assign t = target | split: "," -%} +{%- assign build_target = t[0] -%} +{%- assign target_type = t[2] -%} +{%- if target_type == "release" -%} +# make export-{{build_target}}-{{target_type}} +{% endif %} +{%- endfor %} +{%- for target in all_targets %} +{%- assign t = target | split: "," -%} +{%- assign build_target = t[0] -%} +{%- assign export_target = t[1] -%} +{%- assign target_type = t[2] -%} +{%- capture exported_project -%} +{%- case export_target -%} +{%- when "Android" -%} +{{project-name}}.{{target_type}}.{{build_target}}.apk +{%- when "Linux/X11" -%} +{{project-name}}.{{target_type}}.{{build_target}} +{%- when "Mac OSX" -%} +{{project-name}}.{{target_type}}.{{build_target}} +{%- when "iOS" -%} +{{project-name}}.{{target_type}}.{{build_target}}.ipa +{%- when "Windows Desktop" -%} +{{project-name}}.{{target_type}}.{{build_target}}.exe +{%- endcase -%} +{%- endcapture -%} +{%- capture lib_ext -%} +{%- case export_target -%} +{%- when "Android" -%} +so +{%- when "Linux/X11" -%} +so +{%- when "Mac OSX" -%} +dylib +{%- when "iOS" -%} +a +{%- when "Windows Desktop" -%} +dll +{%- endcase -%} +{%- endcapture -%} +{%- capture build_arg -%} +{%- case target_type -%} +{%- when "debug" -%} + +{%- when "release" -%} +--release +{%- endcase -%} +{%- endcapture -%} +{%- capture export_arg -%} +{%- case target_type -%} +{%- when "debug" -%} +--export-debug +{%- when "release" -%} +--export +{%- endcase -%} +{%- endcapture %} +build-{{build_target}}-{{target_type}}: + cargo build --target {{build_target}} {{build_arg}} + mv -b {{target_dir}}/{{build_target}}/{{target_type}}/*.{{lib_ext}} {{lib_dir}}/{{build_target}} + +export-{{build_target}}-{{target_type}}: clean build-{{build_target}}-{{target_type}} + cd godot/ ; godot {{export_arg}} "{{export_target}}.{{build_target}}.{{target_type}}" {{bin_dir}}/{{build_target}}/{{exported_project}} +{% endfor -%} +{% comment %} static make targets {% endcomment %} +audit: + cargo-audit audit + +check: clean + cargo check + +clean: + cargo clean + +create-debug-keystore: + keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore {{project-name}}.debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12 + +create-release-keystore: + keytool -v -genkey -v -keystore {{project-name}}.release.keystore -alias {{project-name}} -keyalg RSA -validity 10000 + +doc: clean + cargo doc --no-deps --open -v + +edit: +# ${EDITOR} rust/src/lib.rs & + godot {{godot_project_path_arg}} -e & + +run: +{% case os-arch -%} +{%- when "linux-x86" -%} + make build-i686-unknown-linux-gnu-debug +{%- when "linux-x86_64" -%} + make build-x86_64-unknown-linux-gnu-debug +{%- when "macos-x86_64" -%} + make build-x86_64-apple-darwin-debug +{%- when "windows-x86" -%} +# make build-i686-pc-windows-gnu-debug + make build-i686-pc-windows-msvc-debug +{%- when "windows-x86_64" -%} +# make build-x86_64-pc-windows-gnu-debug + make build-x86_64-pc-windows-msvc-debug +{%- endcase %} + godot {{godot_project_path_arg}} -d + +shell: + nix-shell --pure + +test: clean + cargo test diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 0000000..224e99b --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,1006 @@ +[tasks.build-debug] +script_runner = "@shell" +script = ''' +# cargo make build-aarch64-linux-android-debug +# cargo make build-armv7-linux-androideabi-debug +# cargo make build-i686-linux-android-debug +# cargo make build-x86_64-linux-android-debug +# cargo make build-i686-unknown-linux-gnu-debug +# cargo make build-x86_64-unknown-linux-gnu-debug +# cargo make build-x86_64-apple-darwin-debug +# cargo make build-aarch64-apple-ios-debug +# cargo make build-i686-pc-windows-gnu-debug +# cargo make build-x86_64-pc-windows-gnu-debug +# cargo make build-i686-pc-windows-msvc-debug +# cargo make build-x86_64-pc-windows-msvc-debug +# cargo make build-wasm32-unknown-emscripten-debug +''' + +[tasks.build-release] +script_runner = "@shell" +script = ''' +# cargo make build-aarch64-linux-android-release +# cargo make build-armv7-linux-androideabi-release +# cargo make build-i686-linux-android-release +# cargo make build-x86_64-linux-android-release +# cargo make build-i686-unknown-linux-gnu-release +# cargo make build-x86_64-unknown-linux-gnu-release +# cargo make build-x86_64-apple-darwin-release +# cargo make build-aarch64-apple-ios-release +# cargo make build-i686-pc-windows-gnu-release +# cargo make build-x86_64-pc-windows-gnu-release +# cargo make build-i686-pc-windows-msvc-release +# cargo make build-x86_64-pc-windows-msvc-release +# cargo make build-wasm32-unknown-emscripten-release +''' + +[tasks.export-debug] +script_runner = "@shell" +script = ''' +# cargo make export-aarch64-linux-android-debug +# cargo make export-armv7-linux-androideabi-debug +# cargo make export-i686-linux-android-debug +# cargo make export-x86_64-linux-android-debug +# cargo make export-i686-unknown-linux-gnu-debug +# cargo make export-x86_64-unknown-linux-gnu-debug +# cargo make export-x86_64-apple-darwin-debug +# cargo make export-aarch64-apple-ios-debug +# cargo make export-i686-pc-windows-gnu-debug +# cargo make export-x86_64-pc-windows-gnu-debug +# cargo make export-i686-pc-windows-msvc-debug +# cargo make export-x86_64-pc-windows-msvc-debug +# cargo make export-wasm32-unknown-emscripten-debug +''' + +[tasks.export-release] +script_runner = "@shell" +script = ''' +# cargo make export-aarch64-linux-android-release +# cargo make export-armv7-linux-androideabi-release +# cargo make export-i686-linux-android-release +# cargo make export-x86_64-linux-android-release +# cargo make export-i686-unknown-linux-gnu-release +# cargo make export-x86_64-unknown-linux-gnu-release +# cargo make export-x86_64-apple-darwin-release +# cargo make export-aarch64-apple-ios-release +# cargo make export-i686-pc-windows-gnu-release +# cargo make export-x86_64-pc-windows-gnu-release +# cargo make export-i686-pc-windows-msvc-release +# cargo make export-x86_64-pc-windows-msvc-release +# cargo make export-wasm32-unknown-emscripten-release +''' + + +[tasks.ps1-build-aarch64-linux-android-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target aarch64-linux-android +mv ../target/aarch64-linux-android/debug/*.so ../lib/aarch64-linux-android +''' + +[tasks.sh-build-aarch64-linux-android-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target aarch64-linux-android +if [[ -f ../lib/aarch64-linux-android/*.so ]]; then + rm ../lib/aarch64-linux-android/*.so +fi +mv ../target/aarch64-linux-android/debug/*.so ../lib/aarch64-linux-android +''' + +[tasks.build-aarch64-linux-android-debug] +run_task = [ + { name = "ps1-build-aarch64-linux-android-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-aarch64-linux-android-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-aarch64-linux-android-debug] +dependencies = ["build-aarch64-linux-android-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Android.aarch64-linux-android.debug" ../bin/aarch64-linux-android/code-with-your-friends2022.debug.aarch64-linux-android.apk +''' + +[tasks.ps1-build-aarch64-linux-android-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target aarch64-linux-android --release +mv ../target/aarch64-linux-android/release/*.so ../lib/aarch64-linux-android +''' + +[tasks.sh-build-aarch64-linux-android-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target aarch64-linux-android --release +if [[ -f ../lib/aarch64-linux-android/*.so ]]; then + rm ../lib/aarch64-linux-android/*.so +fi +mv ../target/aarch64-linux-android/release/*.so ../lib/aarch64-linux-android +''' + +[tasks.build-aarch64-linux-android-release] +run_task = [ + { name = "ps1-build-aarch64-linux-android-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-aarch64-linux-android-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-aarch64-linux-android-release] +dependencies = ["build-aarch64-linux-android-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Android.aarch64-linux-android.release" ../bin/aarch64-linux-android/code-with-your-friends2022.release.aarch64-linux-android.apk +''' + +[tasks.ps1-build-armv7-linux-androideabi-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target armv7-linux-androideabi +mv ../target/armv7-linux-androideabi/debug/*.so ../lib/armv7-linux-androideabi +''' + +[tasks.sh-build-armv7-linux-androideabi-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target armv7-linux-androideabi +if [[ -f ../lib/armv7-linux-androideabi/*.so ]]; then + rm ../lib/armv7-linux-androideabi/*.so +fi +mv ../target/armv7-linux-androideabi/debug/*.so ../lib/armv7-linux-androideabi +''' + +[tasks.build-armv7-linux-androideabi-debug] +run_task = [ + { name = "ps1-build-armv7-linux-androideabi-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-armv7-linux-androideabi-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-armv7-linux-androideabi-debug] +dependencies = ["build-armv7-linux-androideabi-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Android.armv7-linux-androideabi.debug" ../bin/armv7-linux-androideabi/code-with-your-friends2022.debug.armv7-linux-androideabi.apk +''' + +[tasks.ps1-build-armv7-linux-androideabi-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target armv7-linux-androideabi --release +mv ../target/armv7-linux-androideabi/release/*.so ../lib/armv7-linux-androideabi +''' + +[tasks.sh-build-armv7-linux-androideabi-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target armv7-linux-androideabi --release +if [[ -f ../lib/armv7-linux-androideabi/*.so ]]; then + rm ../lib/armv7-linux-androideabi/*.so +fi +mv ../target/armv7-linux-androideabi/release/*.so ../lib/armv7-linux-androideabi +''' + +[tasks.build-armv7-linux-androideabi-release] +run_task = [ + { name = "ps1-build-armv7-linux-androideabi-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-armv7-linux-androideabi-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-armv7-linux-androideabi-release] +dependencies = ["build-armv7-linux-androideabi-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Android.armv7-linux-androideabi.release" ../bin/armv7-linux-androideabi/code-with-your-friends2022.release.armv7-linux-androideabi.apk +''' + +[tasks.ps1-build-i686-linux-android-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-linux-android +mv ../target/i686-linux-android/debug/*.so ../lib/i686-linux-android +''' + +[tasks.sh-build-i686-linux-android-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-linux-android +if [[ -f ../lib/i686-linux-android/*.so ]]; then + rm ../lib/i686-linux-android/*.so +fi +mv ../target/i686-linux-android/debug/*.so ../lib/i686-linux-android +''' + +[tasks.build-i686-linux-android-debug] +run_task = [ + { name = "ps1-build-i686-linux-android-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-i686-linux-android-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-i686-linux-android-debug] +dependencies = ["build-i686-linux-android-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Android.i686-linux-android.debug" ../bin/i686-linux-android/code-with-your-friends2022.debug.i686-linux-android.apk +''' + +[tasks.ps1-build-i686-linux-android-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-linux-android --release +mv ../target/i686-linux-android/release/*.so ../lib/i686-linux-android +''' + +[tasks.sh-build-i686-linux-android-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-linux-android --release +if [[ -f ../lib/i686-linux-android/*.so ]]; then + rm ../lib/i686-linux-android/*.so +fi +mv ../target/i686-linux-android/release/*.so ../lib/i686-linux-android +''' + +[tasks.build-i686-linux-android-release] +run_task = [ + { name = "ps1-build-i686-linux-android-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-i686-linux-android-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-i686-linux-android-release] +dependencies = ["build-i686-linux-android-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Android.i686-linux-android.release" ../bin/i686-linux-android/code-with-your-friends2022.release.i686-linux-android.apk +''' + +[tasks.ps1-build-x86_64-linux-android-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-linux-android +mv ../target/x86_64-linux-android/debug/*.so ../lib/x86_64-linux-android +''' + +[tasks.sh-build-x86_64-linux-android-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-linux-android +if [[ -f ../lib/x86_64-linux-android/*.so ]]; then + rm ../lib/x86_64-linux-android/*.so +fi +mv ../target/x86_64-linux-android/debug/*.so ../lib/x86_64-linux-android +''' + +[tasks.build-x86_64-linux-android-debug] +run_task = [ + { name = "ps1-build-x86_64-linux-android-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-linux-android-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-linux-android-debug] +dependencies = ["build-x86_64-linux-android-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Android.x86_64-linux-android.debug" ../bin/x86_64-linux-android/code-with-your-friends2022.debug.x86_64-linux-android.apk +''' + +[tasks.ps1-build-x86_64-linux-android-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-linux-android --release +mv ../target/x86_64-linux-android/release/*.so ../lib/x86_64-linux-android +''' + +[tasks.sh-build-x86_64-linux-android-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-linux-android --release +if [[ -f ../lib/x86_64-linux-android/*.so ]]; then + rm ../lib/x86_64-linux-android/*.so +fi +mv ../target/x86_64-linux-android/release/*.so ../lib/x86_64-linux-android +''' + +[tasks.build-x86_64-linux-android-release] +run_task = [ + { name = "ps1-build-x86_64-linux-android-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-linux-android-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-linux-android-release] +dependencies = ["build-x86_64-linux-android-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Android.x86_64-linux-android.release" ../bin/x86_64-linux-android/code-with-your-friends2022.release.x86_64-linux-android.apk +''' + +[tasks.ps1-build-i686-unknown-linux-gnu-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-unknown-linux-gnu +mv ../target/i686-unknown-linux-gnu/debug/*.so ../lib/i686-unknown-linux-gnu +''' + +[tasks.sh-build-i686-unknown-linux-gnu-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-unknown-linux-gnu +if [[ -f ../lib/i686-unknown-linux-gnu/*.so ]]; then + rm ../lib/i686-unknown-linux-gnu/*.so +fi +mv ../target/i686-unknown-linux-gnu/debug/*.so ../lib/i686-unknown-linux-gnu +''' + +[tasks.build-i686-unknown-linux-gnu-debug] +run_task = [ + { name = "ps1-build-i686-unknown-linux-gnu-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-i686-unknown-linux-gnu-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-i686-unknown-linux-gnu-debug] +dependencies = ["build-i686-unknown-linux-gnu-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Linux/X11.i686-unknown-linux-gnu.debug" ../bin/i686-unknown-linux-gnu/code-with-your-friends2022.debug.i686-unknown-linux-gnu +''' + +[tasks.ps1-build-i686-unknown-linux-gnu-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-unknown-linux-gnu --release +mv ../target/i686-unknown-linux-gnu/release/*.so ../lib/i686-unknown-linux-gnu +''' + +[tasks.sh-build-i686-unknown-linux-gnu-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-unknown-linux-gnu --release +if [[ -f ../lib/i686-unknown-linux-gnu/*.so ]]; then + rm ../lib/i686-unknown-linux-gnu/*.so +fi +mv ../target/i686-unknown-linux-gnu/release/*.so ../lib/i686-unknown-linux-gnu +''' + +[tasks.build-i686-unknown-linux-gnu-release] +run_task = [ + { name = "ps1-build-i686-unknown-linux-gnu-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-i686-unknown-linux-gnu-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-i686-unknown-linux-gnu-release] +dependencies = ["build-i686-unknown-linux-gnu-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Linux/X11.i686-unknown-linux-gnu.release" ../bin/i686-unknown-linux-gnu/code-with-your-friends2022.release.i686-unknown-linux-gnu +''' + +[tasks.ps1-build-x86_64-unknown-linux-gnu-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-unknown-linux-gnu +mv ../target/x86_64-unknown-linux-gnu/debug/*.so ../lib/x86_64-unknown-linux-gnu +''' + +[tasks.sh-build-x86_64-unknown-linux-gnu-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-unknown-linux-gnu +if [[ -f ../lib/x86_64-unknown-linux-gnu/*.so ]]; then + rm ../lib/x86_64-unknown-linux-gnu/*.so +fi +mv ../target/x86_64-unknown-linux-gnu/debug/*.so ../lib/x86_64-unknown-linux-gnu +''' + +[tasks.build-x86_64-unknown-linux-gnu-debug] +run_task = [ + { name = "ps1-build-x86_64-unknown-linux-gnu-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-unknown-linux-gnu-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-unknown-linux-gnu-debug] +dependencies = ["build-x86_64-unknown-linux-gnu-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Linux/X11.x86_64-unknown-linux-gnu.debug" ../bin/x86_64-unknown-linux-gnu/code-with-your-friends2022.debug.x86_64-unknown-linux-gnu +''' + +[tasks.ps1-build-x86_64-unknown-linux-gnu-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-unknown-linux-gnu --release +mv ../target/x86_64-unknown-linux-gnu/release/*.so ../lib/x86_64-unknown-linux-gnu +''' + +[tasks.sh-build-x86_64-unknown-linux-gnu-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-unknown-linux-gnu --release +if [[ -f ../lib/x86_64-unknown-linux-gnu/*.so ]]; then + rm ../lib/x86_64-unknown-linux-gnu/*.so +fi +mv ../target/x86_64-unknown-linux-gnu/release/*.so ../lib/x86_64-unknown-linux-gnu +''' + +[tasks.build-x86_64-unknown-linux-gnu-release] +run_task = [ + { name = "ps1-build-x86_64-unknown-linux-gnu-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-unknown-linux-gnu-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-unknown-linux-gnu-release] +dependencies = ["build-x86_64-unknown-linux-gnu-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Linux/X11.x86_64-unknown-linux-gnu.release" ../bin/x86_64-unknown-linux-gnu/code-with-your-friends2022.release.x86_64-unknown-linux-gnu +''' + +[tasks.ps1-build-x86_64-apple-darwin-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-apple-darwin +mv ../target/x86_64-apple-darwin/debug/*.dylib ../lib/x86_64-apple-darwin +''' + +[tasks.sh-build-x86_64-apple-darwin-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-apple-darwin +if [[ -f ../lib/x86_64-apple-darwin/*.dylib ]]; then + rm ../lib/x86_64-apple-darwin/*.dylib +fi +mv ../target/x86_64-apple-darwin/debug/*.dylib ../lib/x86_64-apple-darwin +''' + +[tasks.build-x86_64-apple-darwin-debug] +run_task = [ + { name = "ps1-build-x86_64-apple-darwin-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-apple-darwin-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-apple-darwin-debug] +dependencies = ["build-x86_64-apple-darwin-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Mac OSX.x86_64-apple-darwin.debug" ../bin/x86_64-apple-darwin/code-with-your-friends2022.debug.x86_64-apple-darwin.dmg +''' + +[tasks.ps1-build-x86_64-apple-darwin-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-apple-darwin --release +mv ../target/x86_64-apple-darwin/release/*.dylib ../lib/x86_64-apple-darwin +''' + +[tasks.sh-build-x86_64-apple-darwin-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-apple-darwin --release +if [[ -f ../lib/x86_64-apple-darwin/*.dylib ]]; then + rm ../lib/x86_64-apple-darwin/*.dylib +fi +mv ../target/x86_64-apple-darwin/release/*.dylib ../lib/x86_64-apple-darwin +''' + +[tasks.build-x86_64-apple-darwin-release] +run_task = [ + { name = "ps1-build-x86_64-apple-darwin-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-apple-darwin-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-apple-darwin-release] +dependencies = ["build-x86_64-apple-darwin-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Mac OSX.x86_64-apple-darwin.release" ../bin/x86_64-apple-darwin/code-with-your-friends2022.release.x86_64-apple-darwin.dmg +''' + +[tasks.ps1-build-aarch64-apple-ios-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target aarch64-apple-ios +mv ../target/aarch64-apple-ios/debug/*.a ../lib/aarch64-apple-ios +''' + +[tasks.sh-build-aarch64-apple-ios-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target aarch64-apple-ios +if [[ -f ../lib/aarch64-apple-ios/*.a ]]; then + rm ../lib/aarch64-apple-ios/*.a +fi +mv ../target/aarch64-apple-ios/debug/*.a ../lib/aarch64-apple-ios +''' + +[tasks.build-aarch64-apple-ios-debug] +run_task = [ + { name = "ps1-build-aarch64-apple-ios-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-aarch64-apple-ios-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-aarch64-apple-ios-debug] +dependencies = ["build-aarch64-apple-ios-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "iOS.aarch64-apple-ios.debug" ../bin/aarch64-apple-ios/code-with-your-friends2022.debug.aarch64-apple-ios +''' + +[tasks.ps1-build-aarch64-apple-ios-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target aarch64-apple-ios --release +mv ../target/aarch64-apple-ios/release/*.a ../lib/aarch64-apple-ios +''' + +[tasks.sh-build-aarch64-apple-ios-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target aarch64-apple-ios --release +if [[ -f ../lib/aarch64-apple-ios/*.a ]]; then + rm ../lib/aarch64-apple-ios/*.a +fi +mv ../target/aarch64-apple-ios/release/*.a ../lib/aarch64-apple-ios +''' + +[tasks.build-aarch64-apple-ios-release] +run_task = [ + { name = "ps1-build-aarch64-apple-ios-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-aarch64-apple-ios-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-aarch64-apple-ios-release] +dependencies = ["build-aarch64-apple-ios-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "iOS.aarch64-apple-ios.release" ../bin/aarch64-apple-ios/code-with-your-friends2022.release.aarch64-apple-ios +''' + +[tasks.ps1-build-i686-pc-windows-gnu-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-pc-windows-gnu +mv ../target/i686-pc-windows-gnu/debug/*.dll ../lib/i686-pc-windows-gnu +''' + +[tasks.sh-build-i686-pc-windows-gnu-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-pc-windows-gnu +if [[ -f ../lib/i686-pc-windows-gnu/*.dll ]]; then + rm ../lib/i686-pc-windows-gnu/*.dll +fi +mv ../target/i686-pc-windows-gnu/debug/*.dll ../lib/i686-pc-windows-gnu +''' + +[tasks.build-i686-pc-windows-gnu-debug] +run_task = [ + { name = "ps1-build-i686-pc-windows-gnu-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-i686-pc-windows-gnu-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-i686-pc-windows-gnu-debug] +dependencies = ["build-i686-pc-windows-gnu-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Windows Desktop.i686-pc-windows-gnu.debug" ../bin/i686-pc-windows-gnu/code-with-your-friends2022.debug.i686-pc-windows-gnu.exe +''' + +[tasks.ps1-build-i686-pc-windows-gnu-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-pc-windows-gnu --release +mv ../target/i686-pc-windows-gnu/release/*.dll ../lib/i686-pc-windows-gnu +''' + +[tasks.sh-build-i686-pc-windows-gnu-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-pc-windows-gnu --release +if [[ -f ../lib/i686-pc-windows-gnu/*.dll ]]; then + rm ../lib/i686-pc-windows-gnu/*.dll +fi +mv ../target/i686-pc-windows-gnu/release/*.dll ../lib/i686-pc-windows-gnu +''' + +[tasks.build-i686-pc-windows-gnu-release] +run_task = [ + { name = "ps1-build-i686-pc-windows-gnu-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-i686-pc-windows-gnu-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-i686-pc-windows-gnu-release] +dependencies = ["build-i686-pc-windows-gnu-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Windows Desktop.i686-pc-windows-gnu.release" ../bin/i686-pc-windows-gnu/code-with-your-friends2022.release.i686-pc-windows-gnu.exe +''' + +[tasks.ps1-build-x86_64-pc-windows-gnu-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-pc-windows-gnu +mv ../target/x86_64-pc-windows-gnu/debug/*.dll ../lib/x86_64-pc-windows-gnu +''' + +[tasks.sh-build-x86_64-pc-windows-gnu-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-pc-windows-gnu +if [[ -f ../lib/x86_64-pc-windows-gnu/*.dll ]]; then + rm ../lib/x86_64-pc-windows-gnu/*.dll +fi +mv ../target/x86_64-pc-windows-gnu/debug/*.dll ../lib/x86_64-pc-windows-gnu +''' + +[tasks.build-x86_64-pc-windows-gnu-debug] +run_task = [ + { name = "ps1-build-x86_64-pc-windows-gnu-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-pc-windows-gnu-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-pc-windows-gnu-debug] +dependencies = ["build-x86_64-pc-windows-gnu-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Windows Desktop.x86_64-pc-windows-gnu.debug" ../bin/x86_64-pc-windows-gnu/code-with-your-friends2022.debug.x86_64-pc-windows-gnu.exe +''' + +[tasks.ps1-build-x86_64-pc-windows-gnu-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-pc-windows-gnu --release +mv ../target/x86_64-pc-windows-gnu/release/*.dll ../lib/x86_64-pc-windows-gnu +''' + +[tasks.sh-build-x86_64-pc-windows-gnu-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-pc-windows-gnu --release +if [[ -f ../lib/x86_64-pc-windows-gnu/*.dll ]]; then + rm ../lib/x86_64-pc-windows-gnu/*.dll +fi +mv ../target/x86_64-pc-windows-gnu/release/*.dll ../lib/x86_64-pc-windows-gnu +''' + +[tasks.build-x86_64-pc-windows-gnu-release] +run_task = [ + { name = "ps1-build-x86_64-pc-windows-gnu-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-pc-windows-gnu-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-pc-windows-gnu-release] +dependencies = ["build-x86_64-pc-windows-gnu-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Windows Desktop.x86_64-pc-windows-gnu.release" ../bin/x86_64-pc-windows-gnu/code-with-your-friends2022.release.x86_64-pc-windows-gnu.exe +''' + +[tasks.ps1-build-i686-pc-windows-msvc-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-pc-windows-msvc +mv ../target/i686-pc-windows-msvc/debug/*.dll ../lib/i686-pc-windows-msvc +''' + +[tasks.sh-build-i686-pc-windows-msvc-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-pc-windows-msvc +if [[ -f ../lib/i686-pc-windows-msvc/*.dll ]]; then + rm ../lib/i686-pc-windows-msvc/*.dll +fi +mv ../target/i686-pc-windows-msvc/debug/*.dll ../lib/i686-pc-windows-msvc +''' + +[tasks.build-i686-pc-windows-msvc-debug] +run_task = [ + { name = "ps1-build-i686-pc-windows-msvc-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-i686-pc-windows-msvc-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-i686-pc-windows-msvc-debug] +dependencies = ["build-i686-pc-windows-msvc-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Windows Desktop.i686-pc-windows-msvc.debug" ../bin/i686-pc-windows-msvc/code-with-your-friends2022.debug.i686-pc-windows-msvc.exe +''' + +[tasks.ps1-build-i686-pc-windows-msvc-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-pc-windows-msvc --release +mv ../target/i686-pc-windows-msvc/release/*.dll ../lib/i686-pc-windows-msvc +''' + +[tasks.sh-build-i686-pc-windows-msvc-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target i686-pc-windows-msvc --release +if [[ -f ../lib/i686-pc-windows-msvc/*.dll ]]; then + rm ../lib/i686-pc-windows-msvc/*.dll +fi +mv ../target/i686-pc-windows-msvc/release/*.dll ../lib/i686-pc-windows-msvc +''' + +[tasks.build-i686-pc-windows-msvc-release] +run_task = [ + { name = "ps1-build-i686-pc-windows-msvc-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-i686-pc-windows-msvc-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-i686-pc-windows-msvc-release] +dependencies = ["build-i686-pc-windows-msvc-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Windows Desktop.i686-pc-windows-msvc.release" ../bin/i686-pc-windows-msvc/code-with-your-friends2022.release.i686-pc-windows-msvc.exe +''' + +[tasks.ps1-build-x86_64-pc-windows-msvc-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-pc-windows-msvc +mv ../target/x86_64-pc-windows-msvc/debug/*.dll ../lib/x86_64-pc-windows-msvc +''' + +[tasks.sh-build-x86_64-pc-windows-msvc-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-pc-windows-msvc +if [[ -f ../lib/x86_64-pc-windows-msvc/*.dll ]]; then + rm ../lib/x86_64-pc-windows-msvc/*.dll +fi +mv ../target/x86_64-pc-windows-msvc/debug/*.dll ../lib/x86_64-pc-windows-msvc +''' + +[tasks.build-x86_64-pc-windows-msvc-debug] +run_task = [ + { name = "ps1-build-x86_64-pc-windows-msvc-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-pc-windows-msvc-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-pc-windows-msvc-debug] +dependencies = ["build-x86_64-pc-windows-msvc-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "Windows Desktop.x86_64-pc-windows-msvc.debug" ../bin/x86_64-pc-windows-msvc/code-with-your-friends2022.debug.x86_64-pc-windows-msvc.exe +''' + +[tasks.ps1-build-x86_64-pc-windows-msvc-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-pc-windows-msvc --release +mv ../target/x86_64-pc-windows-msvc/release/*.dll ../lib/x86_64-pc-windows-msvc +''' + +[tasks.sh-build-x86_64-pc-windows-msvc-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target x86_64-pc-windows-msvc --release +if [[ -f ../lib/x86_64-pc-windows-msvc/*.dll ]]; then + rm ../lib/x86_64-pc-windows-msvc/*.dll +fi +mv ../target/x86_64-pc-windows-msvc/release/*.dll ../lib/x86_64-pc-windows-msvc +''' + +[tasks.build-x86_64-pc-windows-msvc-release] +run_task = [ + { name = "ps1-build-x86_64-pc-windows-msvc-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-x86_64-pc-windows-msvc-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-x86_64-pc-windows-msvc-release] +dependencies = ["build-x86_64-pc-windows-msvc-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "Windows Desktop.x86_64-pc-windows-msvc.release" ../bin/x86_64-pc-windows-msvc/code-with-your-friends2022.release.x86_64-pc-windows-msvc.exe +''' + +[tasks.ps1-build-wasm32-unknown-emscripten-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target wasm32-unknown-emscripten +mv ../target/wasm32-unknown-emscripten/debug/*.wasm ../lib/wasm32-unknown-emscripten +''' + +[tasks.sh-build-wasm32-unknown-emscripten-debug] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target wasm32-unknown-emscripten +if [[ -f ../lib/wasm32-unknown-emscripten/*.wasm ]]; then + rm ../lib/wasm32-unknown-emscripten/*.wasm +fi +mv ../target/wasm32-unknown-emscripten/debug/*.wasm ../lib/wasm32-unknown-emscripten +''' + +[tasks.build-wasm32-unknown-emscripten-debug] +run_task = [ + { name = "ps1-build-wasm32-unknown-emscripten-debug", condition = { platforms = ["windows"] } }, + { name = "sh-build-wasm32-unknown-emscripten-debug", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-wasm32-unknown-emscripten-debug] +dependencies = ["build-wasm32-unknown-emscripten-debug"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export-debug "HTML5.wasm32-unknown-emscripten.debug" ../bin/wasm32-unknown-emscripten/code-with-your-friends2022.debug.wasm32-unknown-emscripten.html +''' + +[tasks.ps1-build-wasm32-unknown-emscripten-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target wasm32-unknown-emscripten --release +mv ../target/wasm32-unknown-emscripten/release/*.wasm ../lib/wasm32-unknown-emscripten +''' + +[tasks.sh-build-wasm32-unknown-emscripten-release] +dependencies = ["clean"] +script_runner = "@shell" +script = ''' +cargo build --target wasm32-unknown-emscripten --release +if [[ -f ../lib/wasm32-unknown-emscripten/*.wasm ]]; then + rm ../lib/wasm32-unknown-emscripten/*.wasm +fi +mv ../target/wasm32-unknown-emscripten/release/*.wasm ../lib/wasm32-unknown-emscripten +''' + +[tasks.build-wasm32-unknown-emscripten-release] +run_task = [ + { name = "ps1-build-wasm32-unknown-emscripten-release", condition = { platforms = ["windows"] } }, + { name = "sh-build-wasm32-unknown-emscripten-release", condition = { platforms = ["linux", "mac"] } } +] + +[tasks.export-wasm32-unknown-emscripten-release] +dependencies = ["build-wasm32-unknown-emscripten-release"] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot --export "HTML5.wasm32-unknown-emscripten.release" ../bin/wasm32-unknown-emscripten/code-with-your-friends2022.release.wasm32-unknown-emscripten.html +''' + +[tasks.audit] +command = "cargo" +args = ["audit"] + +[tasks.check] +command = "cargo" +args = ["check"] +dependencies = ["clean"] + +[tasks.clean] +command = "cargo" +args = ["clean"] + +[tasks.create-debug-keystore] +script_runner = "@shell" +script = ''' +keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore code-with-your-friends2022.debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12 +mv -b *.keystore .. +''' + +[tasks.create-release-keystore] +script_runner = "@shell" +script = ''' +keytool -keyalg RSA -genkeypair -alias code-with-your-friends2022 -keypass ${@} -keystore code-with-your-friends2022.release.keystore -storepass ${@} -dname "CN=code-with-your-friends2022,O=Android,C=US" -validity 10000 -deststoretype pkcs12 +mv -b *.keystore .. +''' + +[tasks.doc] +command = "cargo" +args = ["doc", "--no-deps", "--open", "-v"] +dependencies = ["clean"] + +[tasks.edit] +script_runner = "@shell" +script = ''' +godot --path ../godot/ -e +''' + +[tasks.run-for-linux] +# dependencies = ["build-i686-unknown-linux-gnu-debug"] +dependencies = ["build-x86_64-unknown-linux-gnu-debug"] +run_task = "run-godot" + +[tasks.run-for-macos] +dependencies = ["build-x86_64-apple-darwin-debug"] +run_task = "run-godot" + +[tasks.run-for-windows] +# dependencies = ["build-i686-pc-windows-gnu-debug"] +# dependencies = ["build-i686-pc-windows-msvc-debug"] +# dependencies = ["build-x86_64-pc-windows-gnu-debug"] +dependencies = ["build-x86_64-pc-windows-msvc-debug"] +run_task = "run-godot" + +[tasks.run-godot] +script_runner = "@shell" +script = ''' +cd ../godot/ +godot -d +''' + +[tasks.run] +run_task = [ + { name = "run-for-windows", condition = { platforms = ["windows"] } }, + { name = "run-for-linux", condition = { platforms = ["linux"] } }, + { name = "run-for-macos", condition = { platforms = ["mac"] } } +] + +[tasks.test] +command = "cargo" +args = ["test"] +dependencies = ["clean"] + +[env] +CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true diff --git a/README.md b/README.md new file mode 100644 index 0000000..f66d9dd --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +![Project Logo](./godot/assets/godot-ferris-128x128.png) + +# code-with-your-friends2022 +> Put the description here! + +## Table of contents +* [General Information](#general-information) +* [Setup](#setup) +* [Usage](#usage) +* [Contact](#contact) + +## General Information +Put a more general information about your project + +## Setup +Setup, installation, configuration, etc. Please read this [wiki](https://github.com/macalimlim/godot-rust-template/wiki) for setting up this template + +## Usage +```shell +$ cargo make run +``` +## Contact +David <david003@gmx.net> diff --git a/bin/aarch64-apple-ios/.gitkeep b/bin/aarch64-apple-ios/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/aarch64-apple-ios/.gitkeep diff --git a/bin/aarch64-linux-android/.gitkeep b/bin/aarch64-linux-android/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/aarch64-linux-android/.gitkeep diff --git a/bin/armv7-linux-androideabi/.gitkeep b/bin/armv7-linux-androideabi/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/armv7-linux-androideabi/.gitkeep diff --git a/bin/i686-linux-android/.gitkeep b/bin/i686-linux-android/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/i686-linux-android/.gitkeep diff --git a/bin/i686-pc-windows-gnu/.gitkeep b/bin/i686-pc-windows-gnu/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/i686-pc-windows-gnu/.gitkeep diff --git a/bin/i686-pc-windows-msvc/.gitkeep b/bin/i686-pc-windows-msvc/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/i686-pc-windows-msvc/.gitkeep diff --git a/bin/i686-unknown-linux-gnu/.gitkeep b/bin/i686-unknown-linux-gnu/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/i686-unknown-linux-gnu/.gitkeep diff --git a/bin/wasm32-unknown-emscripten/.gitkeep b/bin/wasm32-unknown-emscripten/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/wasm32-unknown-emscripten/.gitkeep diff --git a/bin/x86_64-apple-darwin/.gitkeep b/bin/x86_64-apple-darwin/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/x86_64-apple-darwin/.gitkeep diff --git a/bin/x86_64-linux-android/.gitkeep b/bin/x86_64-linux-android/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/x86_64-linux-android/.gitkeep diff --git a/bin/x86_64-pc-windows-gnu/.gitkeep b/bin/x86_64-pc-windows-gnu/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/x86_64-pc-windows-gnu/.gitkeep diff --git a/bin/x86_64-pc-windows-msvc/.gitkeep b/bin/x86_64-pc-windows-msvc/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/x86_64-pc-windows-msvc/.gitkeep diff --git a/bin/x86_64-unknown-linux-gnu/.gitkeep b/bin/x86_64-unknown-linux-gnu/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bin/x86_64-unknown-linux-gnu/.gitkeep diff --git a/godot/assets/godot-ferris-1024x1024.png b/godot/assets/godot-ferris-1024x1024.png Binary files differnew file mode 100644 index 0000000..c6679ca --- /dev/null +++ b/godot/assets/godot-ferris-1024x1024.png diff --git a/godot/assets/godot-ferris-1024x1024.png.import b/godot/assets/godot-ferris-1024x1024.png.import new file mode 100644 index 0000000..ebb58af --- /dev/null +++ b/godot/assets/godot-ferris-1024x1024.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/godot-ferris-1024x1024.png-ee64a17decf901492637656e83e65502.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/godot-ferris-1024x1024.png" +dest_files=[ "res://.import/godot-ferris-1024x1024.png-ee64a17decf901492637656e83e65502.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot/assets/godot-ferris-120x120.png b/godot/assets/godot-ferris-120x120.png Binary files differnew file mode 100644 index 0000000..747a2ae --- /dev/null +++ b/godot/assets/godot-ferris-120x120.png diff --git a/godot/assets/godot-ferris-120x120.png.import b/godot/assets/godot-ferris-120x120.png.import new file mode 100644 index 0000000..fa4f1f0 --- /dev/null +++ b/godot/assets/godot-ferris-120x120.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/godot-ferris-120x120.png-be26d129cdb0483de5a9035f4c0b5657.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/godot-ferris-120x120.png" +dest_files=[ "res://.import/godot-ferris-120x120.png-be26d129cdb0483de5a9035f4c0b5657.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot/assets/godot-ferris-128x128.png b/godot/assets/godot-ferris-128x128.png Binary files differnew file mode 100644 index 0000000..1467f1e --- /dev/null +++ b/godot/assets/godot-ferris-128x128.png diff --git a/godot/assets/godot-ferris-128x128.png.import b/godot/assets/godot-ferris-128x128.png.import new file mode 100644 index 0000000..c1c3d62 --- /dev/null +++ b/godot/assets/godot-ferris-128x128.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/godot-ferris-128x128.png-84c11b8cbe62577ce1f7c57a00bfc544.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/godot-ferris-128x128.png" +dest_files=[ "res://.import/godot-ferris-128x128.png-84c11b8cbe62577ce1f7c57a00bfc544.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot/assets/godot-ferris-16x16.png b/godot/assets/godot-ferris-16x16.png Binary files differnew file mode 100644 index 0000000..027af3b --- /dev/null +++ b/godot/assets/godot-ferris-16x16.png diff --git a/godot/assets/godot-ferris-16x16.png.import b/godot/assets/godot-ferris-16x16.png.import new file mode 100644 index 0000000..6b433a5 --- /dev/null +++ b/godot/assets/godot-ferris-16x16.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/godot-ferris-16x16.png-7ab54e40b975d856efa5d870d0c8e443.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/godot-ferris-16x16.png" +dest_files=[ "res://.import/godot-ferris-16x16.png-7ab54e40b975d856efa5d870d0c8e443.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot/assets/godot-ferris-32x32.png b/godot/assets/godot-ferris-32x32.png Binary files differnew file mode 100644 index 0000000..bb78c2d --- /dev/null +++ b/godot/assets/godot-ferris-32x32.png diff --git a/godot/assets/godot-ferris-32x32.png.import b/godot/assets/godot-ferris-32x32.png.import new file mode 100644 index 0000000..7d8bed2 --- /dev/null +++ b/godot/assets/godot-ferris-32x32.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/godot-ferris-32x32.png-0271578bfe3df43a7ffc305c5d64424e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/godot-ferris-32x32.png" +dest_files=[ "res://.import/godot-ferris-32x32.png-0271578bfe3df43a7ffc305c5d64424e.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot/assets/godot-ferris-64x64.png b/godot/assets/godot-ferris-64x64.png Binary files differnew file mode 100644 index 0000000..12b800a --- /dev/null +++ b/godot/assets/godot-ferris-64x64.png diff --git a/godot/assets/godot-ferris-64x64.png.import b/godot/assets/godot-ferris-64x64.png.import new file mode 100644 index 0000000..1bd4292 --- /dev/null +++ b/godot/assets/godot-ferris-64x64.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/godot-ferris-64x64.png-2d1d24fec018ad234bda8515899932dd.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/godot-ferris-64x64.png" +dest_files=[ "res://.import/godot-ferris-64x64.png-2d1d24fec018ad234bda8515899932dd.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot/assets/godot-ferris-76x76.png b/godot/assets/godot-ferris-76x76.png Binary files differnew file mode 100644 index 0000000..2c35c2f --- /dev/null +++ b/godot/assets/godot-ferris-76x76.png diff --git a/godot/assets/godot-ferris-76x76.png.import b/godot/assets/godot-ferris-76x76.png.import new file mode 100644 index 0000000..2f96efa --- /dev/null +++ b/godot/assets/godot-ferris-76x76.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/godot-ferris-76x76.png-b1a6decb5b0d0dcaddcbcd7e3e5b3eb8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/godot-ferris-76x76.png" +dest_files=[ "res://.import/godot-ferris-76x76.png-b1a6decb5b0d0dcaddcbcd7e3e5b3eb8.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot/default_env.tres b/godot/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/godot/default_env.tres @@ -0,0 +1,7 @@ +[gd_resource type="Environment" load_steps=2 format=2] + +[sub_resource type="ProceduralSky" id=1] + +[resource] +background_mode = 2 +background_sky = SubResource( 1 ) diff --git a/godot/export_presets.cfg b/godot/export_presets.cfg new file mode 100644 index 0000000..127b781 --- /dev/null +++ b/godot/export_presets.cfg @@ -0,0 +1,2271 @@ +[preset.0] + +name="Android.aarch64-linux-android.debug" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/aarch64-linux-android/code-with-your-friends2022.debug.aarch64-linux-android.apk" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.0.options] + +graphics/32_bits_framebuffer=true +one_click_deploy/clear_previous_install=true +custom_package/debug="" +custom_package/release="" +command_line/extra_args="" +version/code=1 +version/name="1.0" +package/unique_name="org.godotengine.code_with_your_friends2022" +package/name="code-with-your-friends2022" +package/signed=true +screen/immersive_mode=true +screen/orientation=0 +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +screen/opengl_debug=false +launcher_icons/xxxhdpi_192x192="" +launcher_icons/xxhdpi_144x144="" +launcher_icons/xhdpi_96x96="" +launcher_icons/hdpi_72x72="" +launcher_icons/mdpi_48x48="" +keystore/debug="../code-with-your-friends2022.debug.keystore" +keystore/debug_user="androiddebugkey" +keystore/debug_password="android" +keystore/release="../code-with-your-friends2022.release.keystore" +keystore/release_user="code-with-your-friends2022" +keystore/release_password="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +architectures/armeabi-v7a=false +architectures/arm64-v8a=true +architectures/x86=false +architectures/x86_64=false +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false + +[preset.1] + +name="Android.aarch64-linux-android.release" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/aarch64-linux-android/code-with-your-friends2022.release.aarch64-linux-android.apk" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.1.options] + +graphics/32_bits_framebuffer=true +one_click_deploy/clear_previous_install=true +custom_package/debug="" +custom_package/release="" +command_line/extra_args="" +version/code=1 +version/name="1.0" +package/unique_name="org.godotengine.code_with_your_friends2022" +package/name="code-with-your-friends2022" +package/signed=true +screen/immersive_mode=true +screen/orientation=0 +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +screen/opengl_debug=false +launcher_icons/xxxhdpi_192x192="" +launcher_icons/xxhdpi_144x144="" +launcher_icons/xhdpi_96x96="" +launcher_icons/hdpi_72x72="" +launcher_icons/mdpi_48x48="" +keystore/debug="../code-with-your-friends2022.debug.keystore" +keystore/debug_user="androiddebugkey" +keystore/debug_password="android" +keystore/release="../code-with-your-friends2022.release.keystore" +keystore/release_user="code-with-your-friends2022" +keystore/release_password="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +architectures/armeabi-v7a=false +architectures/arm64-v8a=true +architectures/x86=false +architectures/x86_64=false +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false + +[preset.2] + +name="Android.armv7-linux-androideabi.debug" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/armv7-linux-androideabi/code-with-your-friends2022.debug.armv7-linux-androideabi.apk" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.2.options] + +graphics/32_bits_framebuffer=true +one_click_deploy/clear_previous_install=true +custom_package/debug="" +custom_package/release="" +command_line/extra_args="" +version/code=1 +version/name="1.0" +package/unique_name="org.godotengine.code_with_your_friends2022" +package/name="code-with-your-friends2022" +package/signed=true +screen/immersive_mode=true +screen/orientation=0 +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +screen/opengl_debug=false +launcher_icons/xxxhdpi_192x192="" +launcher_icons/xxhdpi_144x144="" +launcher_icons/xhdpi_96x96="" +launcher_icons/hdpi_72x72="" +launcher_icons/mdpi_48x48="" +keystore/debug="../code-with-your-friends2022.debug.keystore" +keystore/debug_user="androiddebugkey" +keystore/debug_password="android" +keystore/release="../code-with-your-friends2022.release.keystore" +keystore/release_user="code-with-your-friends2022" +keystore/release_password="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +architectures/armeabi-v7a=true +architectures/arm64-v8a=false +architectures/x86=false +architectures/x86_64=false +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false + +[preset.3] + +name="Android.armv7-linux-androideabi.release" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/armv7-linux-androideabi/code-with-your-friends2022.release.armv7-linux-androideabi.apk" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.3.options] + +graphics/32_bits_framebuffer=true +one_click_deploy/clear_previous_install=true +custom_package/debug="" +custom_package/release="" +command_line/extra_args="" +version/code=1 +version/name="1.0" +package/unique_name="org.godotengine.code_with_your_friends2022" +package/name="code-with-your-friends2022" +package/signed=true +screen/immersive_mode=true +screen/orientation=0 +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +screen/opengl_debug=false +launcher_icons/xxxhdpi_192x192="" +launcher_icons/xxhdpi_144x144="" +launcher_icons/xhdpi_96x96="" +launcher_icons/hdpi_72x72="" +launcher_icons/mdpi_48x48="" +keystore/debug="../code-with-your-friends2022.debug.keystore" +keystore/debug_user="androiddebugkey" +keystore/debug_password="android" +keystore/release="../code-with-your-friends2022.release.keystore" +keystore/release_user="code-with-your-friends2022" +keystore/release_password="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +architectures/armeabi-v7a=true +architectures/arm64-v8a=false +architectures/x86=false +architectures/x86_64=false +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false + +[preset.4] + +name="Android.i686-linux-android.debug" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/i686-linux-android/code-with-your-friends2022.debug.i686-linux-android.apk" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.4.options] + +graphics/32_bits_framebuffer=true +one_click_deploy/clear_previous_install=true +custom_package/debug="" +custom_package/release="" +command_line/extra_args="" +version/code=1 +version/name="1.0" +package/unique_name="org.godotengine.code_with_your_friends2022" +package/name="code-with-your-friends2022" +package/signed=true +screen/immersive_mode=true +screen/orientation=0 +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +screen/opengl_debug=false +launcher_icons/xxxhdpi_192x192="" +launcher_icons/xxhdpi_144x144="" +launcher_icons/xhdpi_96x96="" +launcher_icons/hdpi_72x72="" +launcher_icons/mdpi_48x48="" +keystore/debug="../code-with-your-friends2022.debug.keystore" +keystore/debug_user="androiddebugkey" +keystore/debug_password="android" +keystore/release="../code-with-your-friends2022.release.keystore" +keystore/release_user="code-with-your-friends2022" +keystore/release_password="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +architectures/armeabi-v7a=false +architectures/arm64-v8a=false +architectures/x86=true +architectures/x86_64=false +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false + +[preset.5] + +name="Android.i686-linux-android.release" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/i686-linux-android/code-with-your-friends2022.release.i686-linux-android.apk" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.5.options] + +graphics/32_bits_framebuffer=true +one_click_deploy/clear_previous_install=true +custom_package/debug="" +custom_package/release="" +command_line/extra_args="" +version/code=1 +version/name="1.0" +package/unique_name="org.godotengine.code_with_your_friends2022" +package/name="code-with-your-friends2022" +package/signed=true +screen/immersive_mode=true +screen/orientation=0 +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +screen/opengl_debug=false +launcher_icons/xxxhdpi_192x192="" +launcher_icons/xxhdpi_144x144="" +launcher_icons/xhdpi_96x96="" +launcher_icons/hdpi_72x72="" +launcher_icons/mdpi_48x48="" +keystore/debug="../code-with-your-friends2022.debug.keystore" +keystore/debug_user="androiddebugkey" +keystore/debug_password="android" +keystore/release="../code-with-your-friends2022.release.keystore" +keystore/release_user="code-with-your-friends2022" +keystore/release_password="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +architectures/armeabi-v7a=false +architectures/arm64-v8a=false +architectures/x86=true +architectures/x86_64=false +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false + +[preset.6] + +name="Android.x86_64-linux-android.debug" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-linux-android/code-with-your-friends2022.debug.x86_64-linux-android.apk" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.6.options] + +graphics/32_bits_framebuffer=true +one_click_deploy/clear_previous_install=true +custom_package/debug="" +custom_package/release="" +command_line/extra_args="" +version/code=1 +version/name="1.0" +package/unique_name="org.godotengine.code_with_your_friends2022" +package/name="code-with-your-friends2022" +package/signed=true +screen/immersive_mode=true +screen/orientation=0 +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +screen/opengl_debug=false +launcher_icons/xxxhdpi_192x192="" +launcher_icons/xxhdpi_144x144="" +launcher_icons/xhdpi_96x96="" +launcher_icons/hdpi_72x72="" +launcher_icons/mdpi_48x48="" +keystore/debug="../code-with-your-friends2022.debug.keystore" +keystore/debug_user="androiddebugkey" +keystore/debug_password="android" +keystore/release="../code-with-your-friends2022.release.keystore" +keystore/release_user="code-with-your-friends2022" +keystore/release_password="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +architectures/armeabi-v7a=false +architectures/arm64-v8a=false +architectures/x86=false +architectures/x86_64=true +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false + +[preset.7] + +name="Android.x86_64-linux-android.release" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-linux-android/code-with-your-friends2022.release.x86_64-linux-android.apk" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.7.options] + +graphics/32_bits_framebuffer=true +one_click_deploy/clear_previous_install=true +custom_package/debug="" +custom_package/release="" +command_line/extra_args="" +version/code=1 +version/name="1.0" +package/unique_name="org.godotengine.code_with_your_friends2022" +package/name="code-with-your-friends2022" +package/signed=true +screen/immersive_mode=true +screen/orientation=0 +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +screen/opengl_debug=false +launcher_icons/xxxhdpi_192x192="" +launcher_icons/xxhdpi_144x144="" +launcher_icons/xhdpi_96x96="" +launcher_icons/hdpi_72x72="" +launcher_icons/mdpi_48x48="" +keystore/debug="../code-with-your-friends2022.debug.keystore" +keystore/debug_user="androiddebugkey" +keystore/debug_password="android" +keystore/release="../code-with-your-friends2022.release.keystore" +keystore/release_user="code-with-your-friends2022" +keystore/release_password="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +architectures/armeabi-v7a=false +architectures/arm64-v8a=false +architectures/x86=false +architectures/x86_64=true +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false + +[preset.8] + +name="Linux/X11.i686-unknown-linux-gnu.debug" +platform="Linux/X11" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/i686-unknown-linux-gnu/code-with-your-friends2022.debug.i686-unknown-linux-gnu" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.8.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=false +custom_template/release="" +custom_template/debug="" + +[preset.9] + +name="Linux/X11.i686-unknown-linux-gnu.release" +platform="Linux/X11" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/i686-unknown-linux-gnu/code-with-your-friends2022.release.i686-unknown-linux-gnu" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.9.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=false +custom_template/release="" +custom_template/debug="" + +[preset.10] + +name="Linux/X11.x86_64-unknown-linux-gnu.debug" +platform="Linux/X11" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-unknown-linux-gnu/code-with-your-friends2022.debug.x86_64-unknown-linux-gnu" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.10.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=true +custom_template/release="" +custom_template/debug="" + +[preset.11] + +name="Linux/X11.x86_64-unknown-linux-gnu.release" +platform="Linux/X11" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-unknown-linux-gnu/code-with-your-friends2022.release.x86_64-unknown-linux-gnu" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.11.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=true +custom_template/release="" +custom_template/debug="" + +[preset.12] + +name="Mac OSX.x86_64-apple-darwin.debug" +platform="Mac OSX" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-apple-darwin/code-with-your-friends2022.debug.x86_64-apple-darwin.dmg" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.12.options] + +custom_template/debug="" +custom_template/release="" +application/name="code-with-your-friends2022" +application/info="Made with Godot Engine" +application/icon="" +application/identifier="org.godotengine.code_with_your_friends2022" +application/signature="" +application/short_version="1.0" +application/version="1.0" +application/copyright="" +display/high_res=false +privacy/camera_usage_description="" +privacy/microphone_usage_description="" +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false + +[preset.13] + +name="Mac OSX.x86_64-apple-darwin.release" +platform="Mac OSX" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-apple-darwin/code-with-your-friends2022.release.x86_64-apple-darwin.dmg" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.13.options] + +custom_template/debug="" +custom_template/release="" +application/name="code-with-your-friends2022" +application/info="Made with Godot Engine" +application/icon="" +application/identifier="org.godotengine.code_with_your_friends2022" +application/signature="" +application/short_version="1.0" +application/version="1.0" +application/copyright="" +display/high_res=false +privacy/camera_usage_description="" +privacy/microphone_usage_description="" +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false + +[preset.14] + +name="iOS.aarch64-apple-ios.debug" +platform="iOS" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/aarch64-apple-ios/code-with-your-friends2022.debug.aarch64-apple-ios" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.14.options] + +custom_template/debug="" +custom_template/release="" +application/app_store_team_id="change-me" +application/provisioning_profile_uuid_debug="" +application/code_sign_identity_debug="iPhone Developer" +application/export_method_debug=1 +application/provisioning_profile_uuid_release="" +application/code_sign_identity_release="" +application/export_method_release=0 +application/name="code-with-your-friends2022" +application/info="Made with Godot Engine" +application/identifier="org.godotengine.code-with-your-friends2022" +application/signature="" +application/short_version="1.0" +application/version="1.0" +application/copyright="" +capabilities/arkit=false +capabilities/camera=false +capabilities/access_wifi=false +capabilities/game_center=true +capabilities/in_app_purchases=false +capabilities/push_notifications=false +user_data/accessible_from_files_app=false +user_data/accessible_from_itunes_sharing=false +privacy/camera_usage_description="" +privacy/microphone_usage_description="" +privacy/photolibrary_usage_description="" +orientation/portrait=true +orientation/landscape_left=true +orientation/landscape_right=true +orientation/portrait_upside_down=true +required_icons/iphone_120x120="res://assets/godot-ferris-120x120.png" +required_icons/ipad_76x76="res://assets/godot-ferris-76x76.png" +required_icons/app_store_1024x1024="res://assets/godot-ferris-1024x1024.png" +optional_icons/iphone_180x180="" +optional_icons/ipad_152x152="" +optional_icons/ipad_167x167="" +optional_icons/spotlight_40x40="" +optional_icons/spotlight_80x80="" +landscape_launch_screens/iphone_2436x1125="" +landscape_launch_screens/iphone_2208x1242="" +landscape_launch_screens/ipad_1024x768="" +landscape_launch_screens/ipad_2048x1536="" +portrait_launch_screens/iphone_640x960="" +portrait_launch_screens/iphone_640x1136="" +portrait_launch_screens/iphone_750x1334="" +portrait_launch_screens/iphone_1125x2436="" +portrait_launch_screens/ipad_768x1024="" +portrait_launch_screens/ipad_1536x2048="" +portrait_launch_screens/iphone_1242x2208="" +architectures/armv7=false +architectures/arm64=true + +[preset.15] + +name="iOS.aarch64-apple-ios.release" +platform="iOS" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/aarch64-apple-ios/code-with-your-friends2022.release.aarch64-apple-ios" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.15.options] + +custom_template/debug="" +custom_template/release="" +application/app_store_team_id="change-me" +application/provisioning_profile_uuid_debug="" +application/code_sign_identity_debug="iPhone Developer" +application/export_method_debug=1 +application/provisioning_profile_uuid_release="" +application/code_sign_identity_release="" +application/export_method_release=0 +application/name="code-with-your-friends2022" +application/info="Made with Godot Engine" +application/identifier="org.godotengine.code-with-your-friends2022" +application/signature="" +application/short_version="1.0" +application/version="1.0" +application/copyright="" +capabilities/arkit=false +capabilities/camera=false +capabilities/access_wifi=false +capabilities/game_center=true +capabilities/in_app_purchases=false +capabilities/push_notifications=false +user_data/accessible_from_files_app=false +user_data/accessible_from_itunes_sharing=false +privacy/camera_usage_description="" +privacy/microphone_usage_description="" +privacy/photolibrary_usage_description="" +orientation/portrait=true +orientation/landscape_left=true +orientation/landscape_right=true +orientation/portrait_upside_down=true +required_icons/iphone_120x120="res://assets/godot-ferris-120x120.png" +required_icons/ipad_76x76="res://assets/godot-ferris-76x76.png" +required_icons/app_store_1024x1024="res://assets/godot-ferris-1024x1024.png" +optional_icons/iphone_180x180="" +optional_icons/ipad_152x152="" +optional_icons/ipad_167x167="" +optional_icons/spotlight_40x40="" +optional_icons/spotlight_80x80="" +landscape_launch_screens/iphone_2436x1125="" +landscape_launch_screens/iphone_2208x1242="" +landscape_launch_screens/ipad_1024x768="" +landscape_launch_screens/ipad_2048x1536="" +portrait_launch_screens/iphone_640x960="" +portrait_launch_screens/iphone_640x1136="" +portrait_launch_screens/iphone_750x1334="" +portrait_launch_screens/iphone_1125x2436="" +portrait_launch_screens/ipad_768x1024="" +portrait_launch_screens/ipad_1536x2048="" +portrait_launch_screens/iphone_1242x2208="" +architectures/armv7=false +architectures/arm64=true + +[preset.16] + +name="Windows Desktop.i686-pc-windows-gnu.debug" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/i686-pc-windows-gnu/code-with-your-friends2022.debug.i686-pc-windows-gnu.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.16.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=false +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +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.17] + +name="Windows Desktop.i686-pc-windows-gnu.release" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/i686-pc-windows-gnu/code-with-your-friends2022.release.i686-pc-windows-gnu.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.17.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=false +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +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.18] + +name="Windows Desktop.x86_64-pc-windows-gnu.debug" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-pc-windows-gnu/code-with-your-friends2022.debug.x86_64-pc-windows-gnu.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.18.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=true +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +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.19] + +name="Windows Desktop.x86_64-pc-windows-gnu.release" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-pc-windows-gnu/code-with-your-friends2022.release.x86_64-pc-windows-gnu.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.19.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=true +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +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.20] + +name="Windows Desktop.i686-pc-windows-msvc.debug" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/i686-pc-windows-msvc/code-with-your-friends2022.debug.i686-pc-windows-msvc.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.20.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=false +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +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.21] + +name="Windows Desktop.i686-pc-windows-msvc.release" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/i686-pc-windows-msvc/code-with-your-friends2022.release.i686-pc-windows-msvc.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.21.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=false +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +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.22] + +name="Windows Desktop.x86_64-pc-windows-msvc.debug" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-pc-windows-msvc/code-with-your-friends2022.debug.x86_64-pc-windows-msvc.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.22.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=true +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +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.23] + +name="Windows Desktop.x86_64-pc-windows-msvc.release" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/x86_64-pc-windows-msvc/code-with-your-friends2022.release.x86_64-pc-windows-msvc.exe" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.23.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=true +binary_format/embed_pck=false +custom_template/release="" +custom_template/debug="" +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.24] + +name="HTML5.wasm32-unknown-emscripten.debug" +platform="HTML5" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/wasm32-unknown-emscripten/code-with-your-friends2022.debug.wasm32-unknown-emscripten.html" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.24.options] + +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=false +html/custom_html_shell="" +html/head_include="" +custom_template/release="" +custom_template/debug="" + +[preset.25] + +name="HTML5.wasm32-unknown-emscripten.release" +platform="HTML5" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="*.gdignore" +export_path="../bin/wasm32-unknown-emscripten/code-with-your-friends2022.release.wasm32-unknown-emscripten.html" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.25.options] + +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=false +html/custom_html_shell="" +html/head_include="" +custom_template/release="" +custom_template/debug="" + + diff --git a/godot/native/Game.gdns b/godot/native/Game.gdns new file mode 100644 index 0000000..ea04ed5 --- /dev/null +++ b/godot/native/Game.gdns @@ -0,0 +1,8 @@ +[gd_resource type="NativeScript" load_steps=2 format=2] + +[ext_resource path="res://native/game.gdnlib" type="GDNativeLibrary" id=1] + +[resource] +resource_name = "Game" +class_name = "Game" +library = ExtResource( 1 ) diff --git a/godot/native/SpinningCube.gdns b/godot/native/SpinningCube.gdns new file mode 100644 index 0000000..e6c2766 --- /dev/null +++ b/godot/native/SpinningCube.gdns @@ -0,0 +1,8 @@ +[gd_resource type="NativeScript" load_steps=2 format=2] + +[ext_resource path="res://native/game.gdnlib" type="GDNativeLibrary" id=1] + +[resource] +resource_name = "SpinningCube" +class_name = "SpinningCube" +library = ExtResource( 1 ) diff --git a/godot/native/game.gdnlib b/godot/native/game.gdnlib new file mode 100644 index 0000000..439db91 --- /dev/null +++ b/godot/native/game.gdnlib @@ -0,0 +1,40 @@ +[general] + +singleton=false +load_once=true +symbol_prefix="godot_" +reloadable=true + +[entry] + +Android.arm64-v8a="res://../lib/aarch64-linux-android/libcode_with_your_friends2022.so" +Android.armeabi-v7a="res://../lib/armv7-linux-androideabi/libcode_with_your_friends2022.so" +Android.x86="res://../lib/i686-linux-android/libcode_with_your_friends2022.so" +Android.x86_64="res://../lib/x86_64-linux-android/libcode_with_your_friends2022.so" +HTML5.wasm32 = "res://../lib/wasm32-unknown-emscripten/code_with_your_friends2022.wasm" +iOS.arm64="res://../lib/aarch64-apple-ios/libcode_with_your_friends2022.a" +OSX.64="res://../lib/x86_64-apple-darwin/libcode_with_your_friends2022.dylib" +Server.32="res://../lib/i686-unknown-linux-gnu/libcode_with_your_friends2022.so" +Server.64="res://../lib/x86_64-unknown-linux-gnu/libcode_with_your_friends2022.so" +# Windows.32="res://../lib/i686-pc-windows-gnu/code_with_your_friends2022.dll" +Windows.32="res://../lib/i686-pc-windows-msvc/code_with_your_friends2022.dll" +# Windows.64="res://../lib/x86_64-pc-windows-gnu/code_with_your_friends2022.dll" +Windows.64="res://../lib/x86_64-pc-windows-msvc/code_with_your_friends2022.dll" +X11.32="res://../lib/i686-unknown-linux-gnu/libcode_with_your_friends2022.so" +X11.64="res://../lib/x86_64-unknown-linux-gnu/libcode_with_your_friends2022.so" + +[dependencies] + +Android.arm64-v8a=[ ] +Android.armeabi-v7a=[ ] +Android.x86=[ ] +Android.x86_64=[ ] +HTML5.wasm32=[ ] +iOS.arm64=[ ] +OSX.64=[ ] +Server.32=[ ] +Server.64=[ ] +Windows.32=[ ] +Windows.64=[ ] +X11.32=[ ] +X11.64=[ ] diff --git a/godot/project.godot b/godot/project.godot new file mode 100644 index 0000000..50f9a46 --- /dev/null +++ b/godot/project.godot @@ -0,0 +1,23 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=4 + +_global_script_classes=[ ] +_global_script_class_icons={ +} + +[application] + +config/name="code-with-your-friends2022" +run/main_scene="res://scenes/Game.tscn" +config/icon="res://assets/godot-ferris-32x32.png" + +[rendering] + +environment/default_environment="res://default_env.tres" diff --git a/godot/scenes/Game.tscn b/godot/scenes/Game.tscn new file mode 100644 index 0000000..a37a7eb --- /dev/null +++ b/godot/scenes/Game.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://native/Game.gdns" type="Script" id=1] +[ext_resource path="res://scenes/SpinningCube.tscn" type="PackedScene" id=2] + +[sub_resource type="CubeMesh" id=1] + +[node name="Game" type="Spatial"] +script = ExtResource( 1 ) + +[node name="Camera" type="Camera" parent="."] +transform = Transform( 0.572229, -0.327396, 0.751909, 0, 0.916856, 0.399217, -0.820094, -0.228443, 0.524651, 4.71648, 2.5, 3.45846 ) +current = true + +[node name="SpinningCube" parent="." instance=ExtResource( 2 )] +mesh = SubResource( 1 ) +material/0 = null +base/rotate_speed = 1.0 diff --git a/godot/scenes/SpinningCube.tscn b/godot/scenes/SpinningCube.tscn new file mode 100644 index 0000000..4a41ab3 --- /dev/null +++ b/godot/scenes/SpinningCube.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://native/SpinningCube.gdns" type="Script" id=1] + +[node name="SpinningCube" type="MeshInstance"] +script = ExtResource( 1 ) diff --git a/lib/aarch64-apple-ios/.gitkeep b/lib/aarch64-apple-ios/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/aarch64-apple-ios/.gitkeep diff --git a/lib/aarch64-linux-android/.gitkeep b/lib/aarch64-linux-android/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/aarch64-linux-android/.gitkeep diff --git a/lib/armv7-linux-androideabi/.gitkeep b/lib/armv7-linux-androideabi/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/armv7-linux-androideabi/.gitkeep diff --git a/lib/i686-linux-android/.gitkeep b/lib/i686-linux-android/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/i686-linux-android/.gitkeep diff --git a/lib/i686-pc-windows-gnu/.gitkeep b/lib/i686-pc-windows-gnu/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/i686-pc-windows-gnu/.gitkeep diff --git a/lib/i686-pc-windows-msvc/.gitkeep b/lib/i686-pc-windows-msvc/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/i686-pc-windows-msvc/.gitkeep diff --git a/lib/i686-unknown-linux-gnu/.gitkeep b/lib/i686-unknown-linux-gnu/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/i686-unknown-linux-gnu/.gitkeep diff --git a/lib/wasm32-unknown-emscripten/.gitkeep b/lib/wasm32-unknown-emscripten/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/wasm32-unknown-emscripten/.gitkeep diff --git a/lib/x86_64-apple-darwin/.gitkeep b/lib/x86_64-apple-darwin/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/x86_64-apple-darwin/.gitkeep diff --git a/lib/x86_64-linux-android/.gitkeep b/lib/x86_64-linux-android/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/x86_64-linux-android/.gitkeep diff --git a/lib/x86_64-pc-windows-gnu/.gitkeep b/lib/x86_64-pc-windows-gnu/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/x86_64-pc-windows-gnu/.gitkeep diff --git a/lib/x86_64-pc-windows-msvc/.gitkeep b/lib/x86_64-pc-windows-msvc/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/x86_64-pc-windows-msvc/.gitkeep diff --git a/lib/x86_64-unknown-linux-gnu/.gitkeep b/lib/x86_64-unknown-linux-gnu/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/x86_64-unknown-linux-gnu/.gitkeep diff --git a/lib/x86_64-unknown-linux-gnu/libcode_with_your_friends2022.so b/lib/x86_64-unknown-linux-gnu/libcode_with_your_friends2022.so Binary files differnew file mode 100755 index 0000000..140affc --- /dev/null +++ b/lib/x86_64-unknown-linux-gnu/libcode_with_your_friends2022.so diff --git a/rust/.vscode/launch.json b/rust/.vscode/launch.json new file mode 100644 index 0000000..ed595f2 --- /dev/null +++ b/rust/.vscode/launch.json @@ -0,0 +1,13 @@ +{ + "version": "0.2.0", + "configurations": [{ + "name": "rust-gdb - attach to process - code-with-your-friends2022", + "type": "gdb", + "request": "attach", + "gdbpath": "rust-gdb", + "cwd": "${workspaceFolder}", + "target": "12345", + "printCalls": true, + "showDevDebugOutput": true + }] +}
\ No newline at end of file diff --git a/rust/Cargo.toml b/rust/Cargo.toml new file mode 100644 index 0000000..c283d29 --- /dev/null +++ b/rust/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "code_with_your_friends2022" +version = "0.1.0" +authors = ["David <david003@gmx.net>"] +edition = "2018" + +[lib] +crate-type = ["cdylib", "staticlib"] + +[dependencies] +gdnative = "0.10.0" +# gdnative = { path = "../../godot-rust/gdnative" } diff --git a/rust/src/game.rs b/rust/src/game.rs new file mode 100644 index 0000000..ece5a54 --- /dev/null +++ b/rust/src/game.rs @@ -0,0 +1,46 @@ +use gdnative::api::*; +use gdnative::prelude::*; + +/// The Game "class" +#[derive(NativeClass)] +#[inherit(Spatial)] +#[register_with(Self::register_builder)] +pub struct Game { + name: String, +} + +// __One__ `impl` block can have the `#[methods]` attribute, which will generate +// code to automatically bind any exported methods to Godot. +#[methods] +impl Game { + // Register the builder for methods, properties and/or signals. + fn register_builder(_builder: &ClassBuilder<Self>) { + godot_print!("Game builder is registered!"); + } + + /// The "constructor" of the class. + fn new(_owner: &Spatial) -> Self { + godot_print!("Game is created!"); + Game { + name: "".to_string(), + } + } + + // In order to make a method known to Godot, the #[export] attribute has to be used. + // In Godot script-classes do not actually inherit the parent class. + // Instead they are "attached" to the parent object, called the "owner". + // The owner is passed to every single exposed method. + #[export] + unsafe fn _ready(&mut self, _owner: &Spatial) { + // The `godot_print!` macro works like `println!` but prints to the Godot-editor + // output tab as well. + self.name = "Game".to_string(); + godot_print!("{} is ready!", self.name); + } + + // This function will be called in every frame + #[export] + unsafe fn _process(&self, _owner: &Spatial, delta: f64) { + godot_print!("Inside {} _process(), delta is {}", self.name, delta); + } +} diff --git a/rust/src/lib.rs b/rust/src/lib.rs new file mode 100644 index 0000000..1cc766a --- /dev/null +++ b/rust/src/lib.rs @@ -0,0 +1,13 @@ +mod game; +mod spinning_cube; + +use gdnative::prelude::{godot_init, InitHandle}; + +// Function that registers all exposed classes to Godot +fn init(handle: InitHandle) { + handle.add_class::<game::Game>(); + handle.add_class::<spinning_cube::SpinningCube>(); +} + +// macros that create the entry-points of the dynamic library. +godot_init!(init); diff --git a/rust/src/spinning_cube.rs b/rust/src/spinning_cube.rs new file mode 100644 index 0000000..41b429f --- /dev/null +++ b/rust/src/spinning_cube.rs @@ -0,0 +1,58 @@ +use gdnative::api::*; +use gdnative::prelude::*; + +/// The SpinningCube "class" +#[derive(NativeClass)] +#[inherit(MeshInstance)] +#[register_with(Self::register_builder)] +pub struct SpinningCube { + start: Vector3, + time: f32, + #[property(path = "base/rotate_speed")] + rotate_speed: f64, +} + +// __One__ `impl` block can have the `#[methods]` attribute, which will generate +// code to automatically bind any exported methods to Godot. +#[methods] +impl SpinningCube { + // Register the builder for methods, properties and/or signals. + fn register_builder(_builder: &ClassBuilder<Self>) { + godot_print!("SpinningCube builder is registered!"); + } + + /// The "constructor" of the class. + fn new(_owner: &MeshInstance) -> Self { + SpinningCube { + start: Vector3::new(0.0, 0.0, 0.0), + time: 0.0, + rotate_speed: 0.05, + } + } + + // In order to make a method known to Godot, the #[export] attribute has to be used. + // In Godot script-classes do not actually inherit the parent class. + // Instead they are "attached" to the parent object, called the "owner". + // The owner is passed to every single exposed method. + #[export] + unsafe fn _ready(&mut self, owner: &MeshInstance) { + owner.set_physics_process(true); + } + + #[export] + unsafe fn _physics_process(&mut self, owner: &MeshInstance, delta: f64) { + use gdnative::api::SpatialMaterial; + + self.time += delta as f32; + owner.rotate_y(self.rotate_speed * delta); + + let offset = Vector3::new(0.0, 1.0, 0.0) * self.time.cos() * 0.5; + owner.set_translation(self.start + offset); + + if let Some(mat) = owner.get_surface_material(0) { + let mat = mat.assume_safe(); + let mat = mat.cast::<SpatialMaterial>().expect("Incorrect material"); + mat.set_albedo(Color::from_rgba(self.time.cos().abs(), 0.0, 0.0, 1.0)); + } + } +} diff --git a/rust/tests/gd_test_main.rs b/rust/tests/gd_test_main.rs new file mode 100644 index 0000000..de4c7d1 --- /dev/null +++ b/rust/tests/gd_test_main.rs @@ -0,0 +1,2 @@ +#[test] +fn test_get_message() {} diff --git a/sh/test-template.sh b/sh/test-template.sh new file mode 100644 index 0000000..b20040e --- /dev/null +++ b/sh/test-template.sh @@ -0,0 +1,27 @@ +GAME=my-awesome-game +GODOT_VER=3.2 +template_directory=$PWD +git branch +tree -a "${template_directory}" +rustup component add clippy rustfmt +cargo install cargo-generate --features vendored-openssl +if [ ! -f /tmp/godot.zip ]; then + wget "https://downloads.tuxfamily.org/godotengine/$GODOT_VER/Godot_v${GODOT_VER}-stable_linux_headless.64.zip" -O /tmp/godot.zip +fi +if [ ! -d /tmp/godot_bin ]; then + unzip /tmp/godot.zip -d /tmp/godot_bin +fi +export PATH=$PATH:/tmp/godot_bin/ +cd /tmp || exit 1 +rm -rf ${GAME} +cargo generate --git "${template_directory}" --name "${GAME}" --branch "${TRAVIS_BRANCH}" +cd "${GAME}" || exit 1 +cargo fmt --all -- --check +cargo clippy --all --all-features -- -D clippy::style -D clippy::complexity -D clippy::perf -D clippy::dbg_macro -D clippy::todo -D clippy::unimplemented +make build-x86_64-unknown-linux-gnu-debug +tree -a lib/ +"Godot_v${GODOT_VER}-stable_linux_headless.64" --path godot/ & +run_pid=$! +echo ${run_pid} +sleep 5 +kill -9 ${run_pid} diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..3bee8ce --- /dev/null +++ b/shell.nix @@ -0,0 +1,52 @@ +with import <nixpkgs> { + config.android_sdk.accept_license = true; +}; + +stdenv.mkDerivation { + name = "code-with-your-friends2022"; + nativeBuildInputs = [ + cacert + emacs + godot + jdk + nix + openssl + pkgconfig + sccache + ]; + buildInputs = [ + alsaLib + clang + glibc_multi + libGL + libpulseaudio + xorg.libX11 + xorg.libXcursor + xorg.libXi + xorg.libXinerama + xorg.libXrandr + xorg.libXrender + zlib + ]; + shellHook = '' + export PATH=$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:$PATH + ''; + + # Set Environment Variables + EDITOR = "emacs"; + LD_LIBRARY_PATH = builtins.concatStringsSep ":" [ + "${alsaLib}/lib/" + "${libGL}/lib/" + "${libpulseaudio}/lib/" + "${xorg.libX11}/lib/" + "${xorg.libXcursor}/lib/" + "${xorg.libXi}/lib/" + "${xorg.libXinerama}/lib/" + "${xorg.libXrandr}/lib/" + "${xorg.libXrender}/lib/" + "${zlib}/lib/" + ]; + LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; + RUST_BACKTRACE = 1; + RUSTC_WRAPPER = "${sccache}/bin/sccache"; +} |