diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/.github/workflows/Godot-Build.yml b/.github/workflows/Godot-Build.yml new file mode 100644 index 0000000..1ad0645 --- /dev/null +++ b/.github/workflows/Godot-Build.yml @@ -0,0 +1,127 @@ +# Based in: https://github.com/abarichello/godot-ci/blob/master/.github/workflows/godot-ci.yml + +name: "Godot-CI Export" + +on: + push: + branches: + - main + - master + pull_request: + branches: + - main + - master + +env: + GODOT_VERSION: 3.5.1 + EXPORT_NAME: Template # Project Name + FOLDER_PATH: Project + +jobs: + export-web: + name: Web Export + runs-on: ubuntu-latest + container: + image: barichello/godot-ci:3.5.1 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/templates + mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable + - name: Install rsync 📚 + run: | + apt-get update && apt-get install -y rsync + - name: Web Build + run: | + mkdir -v -p build/web + cd $FOLDER_PATH + godot -v --export "HTML5" ../build/web/index.html + - name: Upload Artifact + uses: actions/upload-artifact@v1 + with: + name: web + path: build/web + - name: Deploy to GitHub Pages 🚀 + uses: JamesIves/github-pages-deploy-action@releases/v4 + with: + branch: gh-pages # The branch the action should deploy to. + folder: build/web # The folder the action should deploy. + + export-windows: + name: Windows Export + runs-on: ubuntu-latest + container: + image: barichello/godot-ci:3.5.1 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/templates + mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable + - name: Windows Build + run: | + mkdir -v -p build/windows + cd $FOLDER_PATH + godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe + - name: Upload Artifact + uses: actions/upload-artifact@v1 + with: + name: windows + path: build/windows + + export-mac: + name: Mac Export + runs-on: ubuntu-latest + container: + image: barichello/godot-ci:3.5.1 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/templates + mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable + - name: Mac Build + run: | + mkdir -v -p build/mac + cd $FOLDER_PATH + godot -v --export "Mac OSX" ../build/mac/$EXPORT_NAME.zip + - name: Upload Artifact + uses: actions/upload-artifact@v1 + with: + name: mac + path: build/mac + + export-linux: + name: Linux Export + runs-on: ubuntu-latest + container: + image: barichello/godot-ci:3.5.1 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/templates + mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable + - name: Linux Build + run: | + mkdir -v -p build/linux + cd $FOLDER_PATH + godot -v --export "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64 + - name: Upload Artifact + uses: actions/upload-artifact@v1 + with: + name: linux + path: build/linux diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..25025b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,132 @@ +# ---- Personalizado +_ignore +build +Build +_Build +_build + +## --- Default +# These are some examples of commonly ignored file patterns. +# You should customize this list as applicable to your project. +# Learn more about .gitignore: +# https://www.atlassian.com/git/tutorials/saving-changes/gitignore + +# ---------------------------------------------------------------- +# Godot-specific ignores +.import/ +export.cfg +# export_presets.cfg +# addons + +# Imported translations (automatically generated from CSV files) +*.translation + +# Mono-specific ignores +.mono/ +data_*/ + +# Node artifact files +node_modules/ +dist/ + +# Compiled Java class files +*.class + +# Compiled Python bytecode +*.py[cod] + +# Log files +*.log + +# Package files +*.jar + +# Maven +target/ +dist/ + +# JetBrains IDE +.idea/ + +# Unit test reports +TEST*.xml + +# Generated by MacOS +.DS_Store + +# Generated by Windows +Thumbs.db + +# Applications +*.app +*.exe +*.war + +# Large media files +*.mp4 +*.tiff +*.avi +*.flv +*.mov +*.wmv + +## ----- Unity +# This .gitignore file should be placed at the root of your Unity project directory +# +# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore +# +[Ll]ibrary/ +[Tt]emp/ +[Oo]bj/ +[Bb]uild/ +[Bb]uilds/ +[Ll]ogs/ +[Mm]emoryCaptures/ + +# Asset meta data should only be ignored when the corresponding asset is also ignored +!/[Aa]ssets/**/*.meta + +# Uncomment this line if you wish to ignore the asset store tools plugin +# /[Aa]ssets/AssetStoreTools* + +# Autogenerated Jetbrains Rider plugin +[Aa]ssets/Plugins/Editor/JetBrains* + +# Visual Studio cache directory +.vs/ + +# Gradle cache directory +.gradle/ + +# Autogenerated VS/MD/Consulo solution and project files +ExportedObj/ +.consulo/ +*.csproj +*.unityproj +*.sln +*.suo +*.tmp +*.user +*.userprefs +*.pidb +*.booproj +*.svd +*.pdb +*.mdb +*.opendb +*.VC.db + +# Unity3D generated meta files +*.pidb.meta +*.pdb.meta +*.mdb.meta + +# Unity3D generated file on crash reports +sysinfo.txt + +# Builds +*.apk +*.unitypackage + +# Crashlytics generated file +crashlytics-build.properties diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c5bf909 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,66 @@ +# Based in: https://github.com/abarichello/godot-ci/blob/master/.gitlab-ci.yml + +image: barichello/godot-ci:3.4.2 + +stages: + - export + - deploy + +variables: + EXPORT_NAME: My-Template + +before_script: + - cd 'Template' + - mkdir -v -p build/linux + - mkdir -v -p build/windows + - mkdir -v -p build/mac + - mkdir -v -p build/web + +linux: + stage: export + script: + - godot -v --export "Linux/X11" ./build/linux/$EXPORT_NAME.x86_64 + artifacts: + name: $EXPORT_NAME-$CI_JOB_NAME + paths: + - build/linux + +windows: + stage: export + script: + - godot -v --export "Windows Desktop" ./build/windows/$EXPORT_NAME.exe + artifacts: + name: $EXPORT_NAME-$CI_JOB_NAME + paths: + - build/windows + +mac: + stage: export + script: + - godot -v --export "Mac OSX" ./build/mac/$EXPORT_NAME.zip + artifacts: + name: $EXPORT_NAME-$CI_JOB_NAME + paths: + - build/mac + +web: + stage: export + script: + - godot -v --export "HTML5" ./build/web/index.html + artifacts: + name: $EXPORT_NAME-$CI_JOB_NAME + paths: + - build/web + +# GitLab Pages Deploy +pages: + stage: deploy + dependencies: + - web + script: + - git checkout pages + - rm -f *.md + - mv build/web/** ./public + artifacts: + paths: + - public diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..308c348 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 flaviosilva + +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/Project/default_env.tres b/Project/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/Project/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/Project/export_presets.cfg b/Project/export_presets.cfg new file mode 100644 index 0000000..03f2626 --- /dev/null +++ b/Project/export_presets.cfg @@ -0,0 +1,162 @@ +[preset.0] + +name="HTML5" +platform="HTML5" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../_Build/Web/index.html" +script_export_mode=1 +script_encryption_key="" + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +variant/export_type=0 +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=false +html/export_icon=true +html/custom_html_shell="" +html/head_include="" +html/canvas_resize_policy=2 +html/focus_canvas_on_start=true +html/experimental_virtual_keyboard=false +progressive_web_app/enabled=false +progressive_web_app/offline_page="" +progressive_web_app/display=1 +progressive_web_app/orientation=0 +progressive_web_app/icon_144x144="" +progressive_web_app/icon_180x180="" +progressive_web_app/icon_512x512="" +progressive_web_app/background_color=Color( 0, 0, 0, 1 ) + +[preset.1] + +name="Windows Desktop" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../_Build/Windows/Template.exe" +script_export_mode=1 +script_encryption_key="" + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +binary_format/64_bits=true +binary_format/embed_pck=false +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +codesign/enable=false +codesign/identity="" +codesign/password="" +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PoolStringArray( ) +application/icon="" +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" + +[preset.2] + +name="Mac OSX" +platform="Mac OSX" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../_Build/MacOS/Template.dmg" +script_export_mode=1 +script_encryption_key="" + +[preset.2.options] + +custom_template/debug="" +custom_template/release="" +application/name="" +application/info="Made with Godot Engine" +application/icon="" +application/identifier="com.201flaviosilva.Template" +application/signature="" +application/app_category="Games" +application/short_version="1.0" +application/version="1.0" +application/copyright="" +display/high_res=false +privacy/camera_usage_description="" +privacy/microphone_usage_description="" +codesign/enable=true +codesign/identity="" +codesign/timestamp=true +codesign/hardened_runtime=true +codesign/replace_existing_signature=true +codesign/entitlements/custom_file="" +codesign/entitlements/disable_library_validation=false +codesign/entitlements/audio_input=false +codesign/entitlements/camera=false +codesign/entitlements/location=false +codesign/entitlements/address_book=false +codesign/entitlements/calendars=false +codesign/entitlements/photos_library=false +codesign/entitlements/apple_events=false +codesign/entitlements/debugging=false +codesign/entitlements/app_sandbox/enabled=false +codesign/entitlements/app_sandbox/network_server=false +codesign/entitlements/app_sandbox/network_client=false +codesign/entitlements/app_sandbox/device_usb=false +codesign/entitlements/app_sandbox/device_bluetooth=false +codesign/entitlements/app_sandbox/files_downloads=0 +codesign/entitlements/app_sandbox/files_pictures=0 +codesign/entitlements/app_sandbox/files_music=0 +codesign/entitlements/app_sandbox/files_movies=0 +codesign/custom_options=PoolStringArray( ) +notarization/enable=false +notarization/apple_id_name="" +notarization/apple_id_password="" +notarization/apple_team_id="" +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false + +[preset.3] + +name="Linux/X11" +platform="Linux/X11" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../_Build/Linux/Template.x86_64" +script_export_mode=1 +script_encryption_key="" + +[preset.3.options] + +custom_template/debug="" +custom_template/release="" +binary_format/64_bits=true +binary_format/embed_pck=false +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true diff --git a/Project/icon.png b/Project/icon.png new file mode 100644 index 0000000..c98fbb6 Binary files /dev/null and b/Project/icon.png differ diff --git a/Project/icon.png.import b/Project/icon.png.import new file mode 100644 index 0000000..a4c02e6 --- /dev/null +++ b/Project/icon.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.png" +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.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/Project/project.godot b/Project/project.godot new file mode 100644 index 0000000..7498427 --- /dev/null +++ b/Project/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 + +[application] + +config/name="Template Repository" +run/main_scene="res://src/Scenes/Start.tscn" +config/icon="res://icon.png" + +[physics] + +common/enable_pause_aware_picking=true + +[rendering] + +environment/default_environment="res://default_env.tres" diff --git a/Project/src/Assets/Fonts/PressStart2P/OFL.txt b/Project/src/Assets/Fonts/PressStart2P/OFL.txt new file mode 100644 index 0000000..c0f4383 --- /dev/null +++ b/Project/src/Assets/Fonts/PressStart2P/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2012 The Press Start 2P Project Authors (cody@zone38.net), with Reserved Font Name "Press Start 2P". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/Project/src/Assets/Fonts/PressStart2P/PressStart2P-Regular.ttf b/Project/src/Assets/Fonts/PressStart2P/PressStart2P-Regular.ttf new file mode 100644 index 0000000..e9b029c Binary files /dev/null and b/Project/src/Assets/Fonts/PressStart2P/PressStart2P-Regular.ttf differ diff --git a/Project/src/Assets/Fonts/PressStart2P/Ref.md b/Project/src/Assets/Fonts/PressStart2P/Ref.md new file mode 100644 index 0000000..c4b8b1e --- /dev/null +++ b/Project/src/Assets/Fonts/PressStart2P/Ref.md @@ -0,0 +1,6 @@ +# Press Start 2P + +## Refs + +- [Google Fonts](https://fonts.google.com/); +- [Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P); diff --git a/Project/src/Assets/Sprites/Balls/Blue.png b/Project/src/Assets/Sprites/Balls/Blue.png new file mode 100644 index 0000000..e3de7f9 Binary files /dev/null and b/Project/src/Assets/Sprites/Balls/Blue.png differ diff --git a/Project/src/Assets/Sprites/Balls/Blue.png.import b/Project/src/Assets/Sprites/Balls/Blue.png.import new file mode 100644 index 0000000..b2d2e34 --- /dev/null +++ b/Project/src/Assets/Sprites/Balls/Blue.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Blue.png-486ca7399048006d2b8c5b58ea3d21e9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://src/Assets/Sprites/Balls/Blue.png" +dest_files=[ "res://.import/Blue.png-486ca7399048006d2b8c5b58ea3d21e9.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/Project/src/Assets/Sprites/Balls/Green.png b/Project/src/Assets/Sprites/Balls/Green.png new file mode 100644 index 0000000..d2b5960 Binary files /dev/null and b/Project/src/Assets/Sprites/Balls/Green.png differ diff --git a/Project/src/Assets/Sprites/Balls/Green.png.import b/Project/src/Assets/Sprites/Balls/Green.png.import new file mode 100644 index 0000000..53866c9 --- /dev/null +++ b/Project/src/Assets/Sprites/Balls/Green.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Green.png-ce9d76733a5227f09014a4344f93856b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://src/Assets/Sprites/Balls/Green.png" +dest_files=[ "res://.import/Green.png-ce9d76733a5227f09014a4344f93856b.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/Project/src/Assets/Sprites/Balls/Red.png b/Project/src/Assets/Sprites/Balls/Red.png new file mode 100644 index 0000000..c2dd690 Binary files /dev/null and b/Project/src/Assets/Sprites/Balls/Red.png differ diff --git a/Project/src/Assets/Sprites/Balls/Red.png.import b/Project/src/Assets/Sprites/Balls/Red.png.import new file mode 100644 index 0000000..78da3a8 --- /dev/null +++ b/Project/src/Assets/Sprites/Balls/Red.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Red.png-54d1179a66042256bd75dc861dafe8d1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://src/Assets/Sprites/Balls/Red.png" +dest_files=[ "res://.import/Red.png-54d1179a66042256bd75dc861dafe8d1.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/Project/src/Assets/Sprites/Balls/Yellow.png b/Project/src/Assets/Sprites/Balls/Yellow.png new file mode 100644 index 0000000..2b69f6b Binary files /dev/null and b/Project/src/Assets/Sprites/Balls/Yellow.png differ diff --git a/Project/src/Assets/Sprites/Balls/Yellow.png.import b/Project/src/Assets/Sprites/Balls/Yellow.png.import new file mode 100644 index 0000000..25f1b51 --- /dev/null +++ b/Project/src/Assets/Sprites/Balls/Yellow.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Yellow.png-7c850a8342317154a2effd44d7ca6c64.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://src/Assets/Sprites/Balls/Yellow.png" +dest_files=[ "res://.import/Yellow.png-7c850a8342317154a2effd44d7ca6c64.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/Project/src/Scenes/Start.tscn b/Project/src/Scenes/Start.tscn new file mode 100644 index 0000000..bfd0116 --- /dev/null +++ b/Project/src/Scenes/Start.tscn @@ -0,0 +1,12 @@ +[gd_scene format=2] + +[node name="Start" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="Label" type="Label" parent="."] +anchor_right = 1.0 +margin_bottom = 14.0 +text = "Template Project" +align = 1 +valign = 1 diff --git a/README.md b/README.md new file mode 100644 index 0000000..945bf4c --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# Godot Repository Template + +## Description + +Um simple repositório template para projetos em Godot + +## Links + +- [Play](https://master.d3kjckivyd1c76.amplifyapp.com); +- [Code](https://github.com/201flaviosilva-labs/Godot-Repository-Template); + - [Bitbucket - Godot Project](https://bitbucket.org/201flaviosilva/workspace/projects/GODOT/); +- [Godot Official Web Site](https://godotengine.org/); +- [Tutorial](); diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..0d14273 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,61 @@ +# Base: https://gitlab.com/barichello/game-off/-/blob/master/.gitlab-ci.yml + +image: barichello/godot-ci:mono-3.5.1 + +pipelines: + branches: + master: + - step: + name: "Clear" + script: + - rm -rf build + - rm -rf .import + + - parallel: + - step: + name: "Web Export" + #trigger: manual + script: + - mkdir -v -p ./build/web + - cd $FOLDER_PATH + - godot -v --export "HTML5" ../build/web/index.html + artifacts: + - build/web/** + + - step: + name: "Windows Export" + #trigger: manual + script: + - mkdir -v -p ./build/windows + - cd $FOLDER_PATH + - godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe + artifacts: + - build/windows/** + + - step: + name: "Linux Export" + #trigger: manual + script: + - mkdir -v -p ./build/linux + - cd $FOLDER_PATH + - godot -v --export "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64 + artifacts: + - build/linux/** + + - step: + name: "Mac Export" + #trigger: manual + script: + - mkdir -v -p ./build/mac + - cd $FOLDER_PATH + - godot -v --export "Mac OSX" ../build/mac/$EXPORT_NAME.zip + artifacts: + - build/mac/** + + - step: + name: "Artifact All" + #trigger: manual + script: + - echo "Artifact All." + artifacts: + - build/**