diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..087c5b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +# Godot-specific ignores +game/.import/ +game/export.cfg +game/export_presets.cfg + +# Imported translations (automatically generated from CSV files) +*.translation +*.~lock.translations.csv# + +# Mono-specific ignores +game/.mono/ +game/data_*/ + +# Android +game/android/ +*.apk +*.aab diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000..6303e72 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,73 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Pocket Broomball +Upstream-Contact: Simon Dalvai +Source: https://github.com/dulvui/pocket-broomball + +Files: game/src/* +Copyright: 2022 Simon Dalvai +License: AGPL-3.0-or-later + +Files: game/assets/locker/* game/assets/animated-player/* game/assets/progressbar* game/assets/ball.png + game/assets/field.png game/assets/corner.png game/assets/goal.png game/assets/pause.png + game/assets/broomballcoin.png game/assets/gamebreak.png +Copyright: 2022 Simon Dalvai +License: CC-BY-SA-4.0 + +Files: game/translations/* game/assets/theme/* README.md *.import game/project.godot game/default_bus_layout.tres .gitignore +Copyright: 2022 Simon Dalvai +License: CC0-1.0 + +# Third parties assets and code + +Files: game/addons/smoothing/* +Copyright: 2019 Lawnjelly https://github.com/lawnjelly/smoothing-addon +License: MIT + +Files: game/icon.png +Copyright: 2022 Broomball icon created by Freepik - https://flaticon.com +License: Flaticon License + +Files: game/assets/sounds/commentator/* game/assets/sounds/click.wav game/assets/leaderboardsComplex.png + game/assets/video.png game/assets/sounds/click.wav game/assets/next.png game/assets/prev.png +Copyright: 2010 - 2022 https://kenney.nl +License: CC0-1.0 + +Files: game/assets/snowflake.png +Copyright: 2014 mkwong98 https://opengameart.org/content/snow-flake +License: CC0-1.0 + +Files: game/assets/sounds/chill-music.wav +Copyright: 2016 furbyguy https://freesound.org/people/furbyguy/sounds/365187/ +License: CC0-1.0 + +Files: game/assets/sounds/music.wav +Copyright: 2017 furbyguy https://freesound.org/people/furbyguy/sounds/388101/ +License: CC0-1.0 + +Files: game/assets/sounds/croud.ogg +Copyright: 2017 giddster https://freesound.org/people/giddster/sounds/406214/ +License: CC0-1.0 + +Files: game/assets/sounds/horn.wav +Copyright: 2012 santino_c https://freesound.org/people/santino_c/sounds/170825/ +License: CC0-1.0 + +Files: game/assets/sounds/hit.wav +Copyright: 2012 volivieri https://freesound.org/people/volivieri/sounds/37155/ +License: CC-BY-3.0 + +Files: game/assets/font/Carlito-Regular.ttf +Copyright: 2022 Łukasz Dziedzic https://www.1001fonts.com/carlito-font.html +License: OFL-1.1 + +Files: game/assets/font/DSEG7ClassicMini-Bold.ttf +Copyright: 2022 Keshikan https://github.com/keshikan/DSEG +License: OFL-1.1 + +Files: game/assets/teams/* +Copyright: 2022 The corresponding team organization +License: No license defined + +Files: game/assets/broomballcentral* +Copyright: 2018 https://broomballcentral.com +License: No license defined diff --git a/LICENSES/AGPL-3.0-or-later.txt b/LICENSES/AGPL-3.0-or-later.txt new file mode 100644 index 0000000..0c97efd --- /dev/null +++ b/LICENSES/AGPL-3.0-or-later.txt @@ -0,0 +1,235 @@ +GNU AFFERO GENERAL PUBLIC LICENSE +Version 3, 19 November 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + + Preamble + +The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software. + +The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. + +Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software. + +A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public. + +The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version. + +An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license. + +The precise terms and conditions for copying, distribution and modification follow. + + TERMS AND CONDITIONS + +0. Definitions. + +"This License" refers to version 3 of the GNU Affero General Public License. + +"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. + +"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. + +To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. + +A "covered work" means either the unmodified Program or a work based on the Program. + +To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. + +To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. + +1. Source Code. +The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. + +A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. + +The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. + +The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +2. Basic Permissions. +All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. +No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. + +4. Conveying Verbatim Copies. +You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. +You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". + + c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. + +6. Conveying Non-Source Forms. +You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: + + a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. + +A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. + +"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). + +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. + +7. Additional Terms. +"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. + +8. Termination. + +You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. + +9. Acceptance Not Required for Having Copies. + +You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. + +Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. + +An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. + +11. Patents. + +A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". + +A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. + +In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. + +A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. + +12. No Surrender of Others' Freedom. + +If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. + +13. Remote Network Interaction; Use with the GNU General Public License. + +Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph. + +Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License. + +14. Revised Versions of this License. + +The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. + +Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. + +15. Disclaimer of Warranty. + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. Limitation of Liability. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. + +If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements. + +You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see . diff --git a/LICENSES/CC-BY-3.0.txt b/LICENSES/CC-BY-3.0.txt new file mode 100644 index 0000000..465aae7 --- /dev/null +++ b/LICENSES/CC-BY-3.0.txt @@ -0,0 +1,93 @@ +Creative Commons Attribution 3.0 Unported + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + + a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. + + b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License. + + c. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. + + d. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. + + e. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. + + f. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. + + g. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + + h. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. + + i. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. + +2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + + a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; + + b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; + + c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, + + d. to Distribute and Publicly Perform Adaptations. + + e. For the avoidance of doubt: + + i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; + + ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, + + iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + + a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested. + + b. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. + + c. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + + a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + + b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous + + a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + + b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + + c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + + d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. + + e. This License may not be modified without the mutual written agreement of the Licensor and You. + + f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. + +Creative Commons Notice + +Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. + +Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of this License. + +Creative Commons may be contacted at http://creativecommons.org/. diff --git a/LICENSES/CC-BY-SA-4.0.txt b/LICENSES/CC-BY-SA-4.0.txt new file mode 100644 index 0000000..835a683 --- /dev/null +++ b/LICENSES/CC-BY-SA-4.0.txt @@ -0,0 +1,170 @@ +Creative Commons Attribution-ShareAlike 4.0 International + + Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + +Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors. + +Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. + +Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public. + +Creative Commons Attribution-ShareAlike 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + + a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + + e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + + i. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights under this Public License. + + k. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + + A. reproduce and Share the Licensed Material, in whole or in part; and + + B. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + + 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + + 5. Downstream recipients. + + A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + + B. Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. + + C. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + + 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this Public License. + + 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified form), You must: + + A. retain the following if it is supplied by the Licensor with the Licensed Material: + + i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + + B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + + C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + + 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + + b. ShareAlike.In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. + + 1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; + + b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and + + c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + + b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + + c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + + a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + + c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + + d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + + e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + + a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + + c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + + d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. + +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt new file mode 100644 index 0000000..0e259d4 --- /dev/null +++ b/LICENSES/CC0-1.0.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..2071b23 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +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/LICENSES/OFL-1.1.txt b/LICENSES/OFL-1.1.txt new file mode 100644 index 0000000..6fe84ee --- /dev/null +++ b/LICENSES/OFL-1.1.txt @@ -0,0 +1,43 @@ +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/README.md b/README.md new file mode 100644 index 0000000..9cafa07 --- /dev/null +++ b/README.md @@ -0,0 +1,58 @@ +# Pocket Broomball +The world's first Broomball video game made with Godot Engine. +This game is open source, with no ads and no tracking. + +
+Download on the App Store +Get it on Google Play +
+ + + +If you like the game, consider supporting me on Ko-fi :-) +Every donations means a lot to me and helps me to cover the Apple Developer fees. + +[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/P5P4BYZUR) + +**Table of contents** + - [Setup](#setup) + - [Join your team](#join-your-tem) + - [Contributions](#contributions) + - [Licenses and Copyrights](#licenses-and-copyrights) + +# Setup +Get the latest version of the Godot Engine editor and check out the +repo. Then open the `project.godot` file with the editor. + +For further instructions, like exporting to mobile please read the official [Godot Docs](https://docs.godotengine.org/en/stable/). + +# Join with your Broomball team +If you want to see your broomball team or even the whole league in the game, +just contact me at simon.dalvai@posteo.de +Or make a pull request with the team logos, names and stats (speed, power) and I'll publish it! + +# Arcade Highscores + +Google Play Services (Android) and GameCenter (iOS) are currently not working with the latest Godot 3.4.4. +I'm working on it to make it work again + +# Contributions +If you want to contribute to the project, please fork the repo, +make your changes and make a pull request with a short description +of the changes you made. + +# Licenses and Copyrights +The game itself is licensed under the GNU AGPL v3.0 or later license and all +assets made by myself are licensed under the CC-BY-SA-4.0 license. +All third parties assets and code have different license and copyright holders. + +This project uses the [FSFE reuse tool](https://github.com/fsfe/reuse-tool) to license files. +But because currently no all assets have a valid license, `reuse lint` fails. +Check out all licenses and copyright holders [here](.reuse/dep5). +To corresponding full license texts can be found in the LICENSES/ directory. + +Note: The team logos where send to me by themselves so I'm authorized to use them. + Since they haven't issued a license for the logos, no license is available and + all rights belong to the corresponding team. + If you want to use them, please contact me at simon.dalvai@posteo.de or the + teams directly. diff --git a/game/addons/smoothing/LICENSE b/game/addons/smoothing/LICENSE new file mode 100644 index 0000000..1742475 --- /dev/null +++ b/game/addons/smoothing/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Lawnjelly + +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/game/addons/smoothing/plugin.cfg b/game/addons/smoothing/plugin.cfg new file mode 100644 index 0000000..09a6ba9 --- /dev/null +++ b/game/addons/smoothing/plugin.cfg @@ -0,0 +1,7 @@ +[plugin] + +name="Smoothing" +description="Smoothing nodes for fixed timestep interpolation." +author="Lawnjelly" +version="1.0.0" +script="smoothing_plugin.gd" diff --git a/game/addons/smoothing/smoothing.gd b/game/addons/smoothing/smoothing.gd new file mode 100644 index 0000000..f81b2bf --- /dev/null +++ b/game/addons/smoothing/smoothing.gd @@ -0,0 +1,204 @@ +# Copyright (c) 2019 Lawnjelly +# +# 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. + +extends Spatial + +export(NodePath) var target : NodePath setget set_target, get_target + +var _m_Target : Spatial + +var _m_trCurr : Transform +var _m_trPrev : Transform + +const SF_ENABLED = 1 << 0 +const SF_TRANSLATE = 1 << 1 +const SF_BASIS = 1 << 2 +const SF_SLERP = 1 << 3 +const SF_DIRTY = 1 << 4 +const SF_INVISIBLE = 1 << 5 + +export (int, FLAGS, "enabled", "translate", "basis", "slerp") var flags : int = SF_ENABLED | SF_TRANSLATE | SF_BASIS setget _set_flags, _get_flags + +########################################################################################## +# USER FUNCS + +# call this on e.g. starting a level, AFTER moving the target +# so we can update both the previous and current values +func teleport(): + var temp_flags = flags + _SetFlags(SF_TRANSLATE | SF_BASIS) + + _RefreshTransform() + _m_trPrev = _m_trCurr + + # do one frame update to make sure all components are updated + _process(0) + + # resume old flags + flags = temp_flags + +func set_enabled(var bEnable : bool): + _ChangeFlags(SF_ENABLED, bEnable) + _SetProcessing() + +func is_enabled(): + return _TestFlags(SF_ENABLED) + + + + +########################################################################################## + + +func _ready(): + _m_trCurr = Transform() + _m_trPrev = Transform() + + assert(_m_Target != null, "A target must be defined for the Smoothing node to work.") + +func set_target(new_value): + target = new_value + if is_inside_tree(): + _FindTarget() + +func get_target(): + return target + +func _set_flags(new_value): + flags = new_value + # we may have enabled or disabled + _SetProcessing() + +func _get_flags(): + return flags + +func _SetProcessing(): + var bEnable = _TestFlags(SF_ENABLED) + if _TestFlags(SF_INVISIBLE): + bEnable = false + + set_process(bEnable); + set_physics_process(bEnable); + pass + +func _enter_tree(): + # might have been moved + _FindTarget() + pass + +func _notification(what): + match what: + # invisible turns off processing + NOTIFICATION_VISIBILITY_CHANGED: + _ChangeFlags(SF_INVISIBLE, is_visible_in_tree() == false) + _SetProcessing() + + + +func _RefreshTransform(): + _ClearFlags(SF_DIRTY); + + if _HasTarget() == false: + return + + _m_trPrev = _m_trCurr + _m_trCurr = _m_Target.transform + + +func _FindTarget(): + _m_Target = null + if target.is_empty(): + return + + _m_Target = get_node(target) + + if _m_Target is Spatial: + return + + _m_Target = null + #return false + + +func _HasTarget()->bool: + if _m_Target == null: + return false + + # has not been deleted? + if is_instance_valid(_m_Target): + return true + + _m_Target = null + return false + + +func _process(_delta): + if _TestFlags(SF_DIRTY): + _RefreshTransform() + + var f = Engine.get_physics_interpolation_fraction() + + var tr : Transform = Transform() + + # translate + if _TestFlags(SF_TRANSLATE): + var ptDiff = _m_trCurr.origin - _m_trPrev.origin + tr.origin = _m_trPrev.origin + (ptDiff * f) + + # rotate + if _TestFlags(SF_BASIS): + if _TestFlags(SF_SLERP): + tr.basis = _m_trPrev.basis.slerp(_m_trCurr.basis, f) + else: + tr.basis = _LerpBasis(_m_trPrev.basis, _m_trCurr.basis, f) + + transform = tr + + pass + +func _physics_process(_delta): + # take care of the special case where multiple physics ticks + # occur before a frame .. the data must flow! + if _TestFlags(SF_DIRTY): + _RefreshTransform() + + _SetFlags(SF_DIRTY) + pass + +func _LerpBasis(var from : Basis, var to : Basis, var f : float)->Basis: + var res : Basis = Basis() + res.x = from.x.linear_interpolate(to.x, f) + res.y = from.y.linear_interpolate(to.y, f) + res.z = from.z.linear_interpolate(to.z, f) + return res + +func _SetFlags(var f): + flags |= f + +func _ClearFlags(var f): + flags &= ~f + +func _TestFlags(var f): + return (flags & f) == f + +func _ChangeFlags(var f, var bSet): + if bSet: + _SetFlags(f) + else: + _ClearFlags(f) diff --git a/game/addons/smoothing/smoothing.png b/game/addons/smoothing/smoothing.png new file mode 100644 index 0000000..4d46817 Binary files /dev/null and b/game/addons/smoothing/smoothing.png differ diff --git a/game/addons/smoothing/smoothing.png.import b/game/addons/smoothing/smoothing.png.import new file mode 100644 index 0000000..1a015f9 --- /dev/null +++ b/game/addons/smoothing/smoothing.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/smoothing.png-6b454a779e636eaa20b6c6ac618bf82a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/smoothing/smoothing.png" +dest_files=[ "res://.import/smoothing.png-6b454a779e636eaa20b6c6ac618bf82a.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/addons/smoothing/smoothing_2d.gd b/game/addons/smoothing/smoothing_2d.gd new file mode 100644 index 0000000..4150692 --- /dev/null +++ b/game/addons/smoothing/smoothing_2d.gd @@ -0,0 +1,246 @@ +# Copyright (c) 2019 Lawnjelly +# +# 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. + +extends Node2D + +export(NodePath) var target : NodePath setget set_target, get_target + +var _m_Target : Node2D + +var m_Pos_curr : Vector2 = Vector2() +var m_Pos_prev : Vector2 = Vector2() + +var m_Angle_curr : float +var m_Angle_prev : float + +var m_Scale_curr : Vector2 = Vector2() +var m_Scale_prev : Vector2 = Vector2() + +const SF_ENABLED = 1 << 0 +const SF_TRANSLATE = 1 << 1 +const SF_ROTATE = 1 << 2 +const SF_SCALE = 1 << 3 +const SF_GLOBAL_IN = 1 << 4 +const SF_GLOBAL_OUT = 1 << 5 +const SF_DIRTY = 1 << 6 +const SF_INVISIBLE = 1 << 7 + +export (int, FLAGS, "enabled", "translate", "rotate", "scale", "global in", "global out") var flags : int = SF_ENABLED | SF_TRANSLATE setget _set_flags, _get_flags + +########################################################################################## +# USER FUNCS + +# call this on e.g. starting a level, AFTER moving the target +# so we can update both the previous and current values +func teleport(): + var temp_flags = flags + _SetFlags(SF_TRANSLATE | SF_ROTATE | SF_SCALE) + + _RefreshTransform() + m_Pos_prev = m_Pos_curr + m_Angle_prev = m_Angle_curr + m_Scale_prev = m_Scale_curr + + # call frame update to make sure all components of the node are set + _process(0) + + # get back the old flags + flags = temp_flags + +func set_enabled(var bEnable : bool): + _ChangeFlags(SF_ENABLED, bEnable) + _SetProcessing() + +func is_enabled(): + return _TestFlags(SF_ENABLED) + + + + +########################################################################################## + + +func _ready(): + m_Angle_curr = 0 + m_Angle_prev = 0 + + assert(_m_Target != null, "A target must be defined for the Smoothing2D node to work.") + +func set_target(new_value): + target = new_value + if is_inside_tree(): + _FindTarget() + +func get_target(): + return target + +func _set_flags(new_value): + flags = new_value + # we may have enabled or disabled + _SetProcessing() + +func _get_flags(): + return flags + +func _SetProcessing(): + var bEnable = _TestFlags(SF_ENABLED) + if _TestFlags(SF_INVISIBLE): + bEnable = false + + set_process(bEnable); + set_physics_process(bEnable); + pass + +func _enter_tree(): + # might have been moved + _FindTarget() + pass + +func _notification(what): + match what: + # invisible turns off processing + NOTIFICATION_VISIBILITY_CHANGED: + _ChangeFlags(SF_INVISIBLE, is_visible_in_tree() == false) + _SetProcessing() + + + +func _RefreshTransform(): + _ClearFlags(SF_DIRTY); + + if _HasTarget() == false: + return + + if _TestFlags(SF_GLOBAL_IN): + if _TestFlags(SF_TRANSLATE): + m_Pos_prev = m_Pos_curr + m_Pos_curr = _m_Target.get_global_position() + + if _TestFlags(SF_ROTATE): + m_Angle_prev = m_Angle_curr + m_Angle_curr = _m_Target.get_global_rotation() + + if _TestFlags(SF_SCALE): + m_Scale_prev = m_Scale_curr + m_Scale_curr = _m_Target.get_global_scale() + else: + if _TestFlags(SF_TRANSLATE): + m_Pos_prev = m_Pos_curr + m_Pos_curr = _m_Target.get_position() + + if _TestFlags(SF_ROTATE): + m_Angle_prev = m_Angle_curr + m_Angle_curr = _m_Target.get_rotation() + + if _TestFlags(SF_SCALE): + m_Scale_prev = m_Scale_curr + m_Scale_curr = _m_Target.get_scale() + + +func _FindTarget(): + _m_Target = null + if target.is_empty(): + return + + _m_Target = get_node(target) + + if _m_Target is Node2D: + return + + _m_Target = null + + +func _HasTarget()->bool: + if _m_Target == null: + return false + + # has not been deleted? + if is_instance_valid(_m_Target): + return true + + _m_Target = null + return false + + +func _process(_delta): + if _TestFlags(SF_DIRTY): + _RefreshTransform() + + var f = Engine.get_physics_interpolation_fraction() + + + if _TestFlags(SF_GLOBAL_OUT): + # translate + if _TestFlags(SF_TRANSLATE): + set_global_position(m_Pos_prev.linear_interpolate(m_Pos_curr, f)) + + # rotate + if _TestFlags(SF_ROTATE): + var r = _LerpAngle(m_Angle_prev, m_Angle_curr, f) + set_global_rotation(r) + + if _TestFlags(SF_SCALE): + set_global_scale(m_Scale_prev.linear_interpolate(m_Scale_curr, f)) + else: + # translate + if _TestFlags(SF_TRANSLATE): + set_position(m_Pos_prev.linear_interpolate(m_Pos_curr, f)) + + # rotate + if _TestFlags(SF_ROTATE): + var r = _LerpAngle(m_Angle_prev, m_Angle_curr, f) + set_rotation(r) + + if _TestFlags(SF_SCALE): + set_scale(m_Scale_prev.linear_interpolate(m_Scale_curr, f)) + + pass + +func _physics_process(_delta): + # take care of the special case where multiple physics ticks + # occur before a frame .. the data must flow! + if _TestFlags(SF_DIRTY): + _RefreshTransform() + + _SetFlags(SF_DIRTY) + pass + +func _LerpAngle(var from : float, var to : float, var weight : float)->float: + return from + _ShortAngleDist(from, to) * weight + +func _ShortAngleDist(var from : float, var to : float)->float: + var max_angle : float = 2 * PI + var diff : float = fmod(to-from, max_angle) + return fmod(2.0 * diff, max_angle) - diff + +func _SetFlags(var f): + flags |= f + +func _ClearFlags(var f): + flags &= ~f + +func _TestFlags(var f): + return (flags & f) == f + +func _ChangeFlags(var f, var bSet): + if bSet: + _SetFlags(f) + else: + _ClearFlags(f) diff --git a/game/addons/smoothing/smoothing_2d.png b/game/addons/smoothing/smoothing_2d.png new file mode 100644 index 0000000..558117a Binary files /dev/null and b/game/addons/smoothing/smoothing_2d.png differ diff --git a/game/addons/smoothing/smoothing_2d.png.import b/game/addons/smoothing/smoothing_2d.png.import new file mode 100644 index 0000000..0edf5e5 --- /dev/null +++ b/game/addons/smoothing/smoothing_2d.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/smoothing_2d.png-4942c58db397caab18506104d957cac1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/smoothing/smoothing_2d.png" +dest_files=[ "res://.import/smoothing_2d.png-4942c58db397caab18506104d957cac1.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/addons/smoothing/smoothing_plugin.gd b/game/addons/smoothing/smoothing_plugin.gd new file mode 100644 index 0000000..fa0aacd --- /dev/null +++ b/game/addons/smoothing/smoothing_plugin.gd @@ -0,0 +1,15 @@ +tool +extends EditorPlugin + +func _enter_tree(): + # Initialization of the plugin goes here + # Add the new type with a name, a parent type, a script and an icon + add_custom_type("Smoothing", "Spatial", preload("smoothing.gd"), preload("smoothing.png")) + add_custom_type("Smoothing2D", "Node2D", preload("smoothing_2d.gd"), preload("smoothing_2d.png")) + pass + +func _exit_tree(): + # Clean-up of the plugin goes here + # Always remember to remove it from the engine when deactivated + remove_custom_type("Smoothing") + remove_custom_type("Smoothing2D") diff --git a/game/assets/animated-player/animated-player_arm.png b/game/assets/animated-player/animated-player_arm.png new file mode 100644 index 0000000..c854cb6 Binary files /dev/null and b/game/assets/animated-player/animated-player_arm.png differ diff --git a/game/assets/animated-player/animated-player_arm.png.import b/game/assets/animated-player/animated-player_arm.png.import new file mode 100644 index 0000000..f01b66e --- /dev/null +++ b/game/assets/animated-player/animated-player_arm.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/animated-player_arm.png-21f075d096091dbc746972a2dc802f8a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/animated-player/animated-player_arm.png" +dest_files=[ "res://.import/animated-player_arm.png-21f075d096091dbc746972a2dc802f8a.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=false +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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/animated-player/animated-player_head.png b/game/assets/animated-player/animated-player_head.png new file mode 100644 index 0000000..48553b6 Binary files /dev/null and b/game/assets/animated-player/animated-player_head.png differ diff --git a/game/assets/animated-player/animated-player_head.png.import b/game/assets/animated-player/animated-player_head.png.import new file mode 100644 index 0000000..e85bbd9 --- /dev/null +++ b/game/assets/animated-player/animated-player_head.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/animated-player_head.png-c309b8a7a3585e4bd0b49178fdaef968.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/animated-player/animated-player_head.png" +dest_files=[ "res://.import/animated-player_head.png-c309b8a7a3585e4bd0b49178fdaef968.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=false +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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/animated-player/animated-player_shoulder.png b/game/assets/animated-player/animated-player_shoulder.png new file mode 100644 index 0000000..1f84c11 Binary files /dev/null and b/game/assets/animated-player/animated-player_shoulder.png differ diff --git a/game/assets/animated-player/animated-player_shoulder.png.import b/game/assets/animated-player/animated-player_shoulder.png.import new file mode 100644 index 0000000..ac0502f --- /dev/null +++ b/game/assets/animated-player/animated-player_shoulder.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/animated-player_shoulder.png-b6649a55a68b7ed7940ad41ab217788a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/animated-player/animated-player_shoulder.png" +dest_files=[ "res://.import/animated-player_shoulder.png-b6649a55a68b7ed7940ad41ab217788a.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=false +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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/animated-player/animated-player_stick.png b/game/assets/animated-player/animated-player_stick.png new file mode 100644 index 0000000..cea7b34 Binary files /dev/null and b/game/assets/animated-player/animated-player_stick.png differ diff --git a/game/assets/animated-player/animated-player_stick.png.import b/game/assets/animated-player/animated-player_stick.png.import new file mode 100644 index 0000000..c1d2878 --- /dev/null +++ b/game/assets/animated-player/animated-player_stick.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/animated-player_stick.png-7a6e1a5faeb4066345d83193cbce448b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/animated-player/animated-player_stick.png" +dest_files=[ "res://.import/animated-player_stick.png-7a6e1a5faeb4066345d83193cbce448b.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=false +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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/animated-player/animated-player_upper-arm.png b/game/assets/animated-player/animated-player_upper-arm.png new file mode 100644 index 0000000..666961a Binary files /dev/null and b/game/assets/animated-player/animated-player_upper-arm.png differ diff --git a/game/assets/animated-player/animated-player_upper-arm.png.import b/game/assets/animated-player/animated-player_upper-arm.png.import new file mode 100644 index 0000000..86a225f --- /dev/null +++ b/game/assets/animated-player/animated-player_upper-arm.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/animated-player_upper-arm.png-05a8e1bf7d6f1cf8ae15a6446ab880eb.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/animated-player/animated-player_upper-arm.png" +dest_files=[ "res://.import/animated-player_upper-arm.png-05a8e1bf7d6f1cf8ae15a6446ab880eb.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=false +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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/ball.png b/game/assets/ball.png new file mode 100644 index 0000000..3e91004 Binary files /dev/null and b/game/assets/ball.png differ diff --git a/game/assets/ball.png.import b/game/assets/ball.png.import new file mode 100644 index 0000000..aa3eb17 --- /dev/null +++ b/game/assets/ball.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ball.png-ca93c4f2e7b7f8325cbd933673092ff4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/ball.png" +dest_files=[ "res://.import/ball.png-ca93c4f2e7b7f8325cbd933673092ff4.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=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/game/assets/broomballcentral-small.png b/game/assets/broomballcentral-small.png new file mode 100644 index 0000000..58d6dac Binary files /dev/null and b/game/assets/broomballcentral-small.png differ diff --git a/game/assets/broomballcentral-small.png.import b/game/assets/broomballcentral-small.png.import new file mode 100644 index 0000000..becb86e --- /dev/null +++ b/game/assets/broomballcentral-small.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/broomballcentral-small.png-0fd5fb6194a8cd1d3137fd1c49401ba6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/broomballcentral-small.png" +dest_files=[ "res://.import/broomballcentral-small.png-0fd5fb6194a8cd1d3137fd1c49401ba6.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/broomballcentral.png b/game/assets/broomballcentral.png new file mode 100644 index 0000000..93b5871 Binary files /dev/null and b/game/assets/broomballcentral.png differ diff --git a/game/assets/broomballcentral.png.import b/game/assets/broomballcentral.png.import new file mode 100644 index 0000000..e30a2e7 --- /dev/null +++ b/game/assets/broomballcentral.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/broomballcentral.png-b1b6011a82d5df242e4331dcb4903948.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/broomballcentral.png" +dest_files=[ "res://.import/broomballcentral.png-b1b6011a82d5df242e4331dcb4903948.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/broomballcoin.png b/game/assets/broomballcoin.png new file mode 100644 index 0000000..a5550a0 Binary files /dev/null and b/game/assets/broomballcoin.png differ diff --git a/game/assets/broomballcoin.png.import b/game/assets/broomballcoin.png.import new file mode 100644 index 0000000..5ab1560 --- /dev/null +++ b/game/assets/broomballcoin.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/broomballcoin.png-f9b3a8586280b2c9f323f48b763be6b0.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/broomballcoin.png" +dest_files=[ "res://.import/broomballcoin.png-f9b3a8586280b2c9f323f48b763be6b0.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/corner.png b/game/assets/corner.png new file mode 100644 index 0000000..1bde38e Binary files /dev/null and b/game/assets/corner.png differ diff --git a/game/assets/corner.png.import b/game/assets/corner.png.import new file mode 100644 index 0000000..8736201 --- /dev/null +++ b/game/assets/corner.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/corner.png-5633dc332fcfcd3ebea652fffb03cc69.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/corner.png" +dest_files=[ "res://.import/corner.png-5633dc332fcfcd3ebea652fffb03cc69.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/field.png b/game/assets/field.png new file mode 100644 index 0000000..c122453 Binary files /dev/null and b/game/assets/field.png differ diff --git a/game/assets/field.png.import b/game/assets/field.png.import new file mode 100644 index 0000000..43a17a4 --- /dev/null +++ b/game/assets/field.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/field.png-fc9543e02f0d3dde744604a8b0366bd3.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/field.png" +dest_files=[ "res://.import/field.png-fc9543e02f0d3dde744604a8b0366bd3.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=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/game/assets/font/Carlito-Regular.ttf b/game/assets/font/Carlito-Regular.ttf new file mode 100644 index 0000000..6b7e0e3 Binary files /dev/null and b/game/assets/font/Carlito-Regular.ttf differ diff --git a/game/assets/font/DSEG7ClassicMini-Bold.ttf b/game/assets/font/DSEG7ClassicMini-Bold.ttf new file mode 100644 index 0000000..fb863cf Binary files /dev/null and b/game/assets/font/DSEG7ClassicMini-Bold.ttf differ diff --git a/game/assets/gamebreak.png b/game/assets/gamebreak.png new file mode 100644 index 0000000..a261f29 Binary files /dev/null and b/game/assets/gamebreak.png differ diff --git a/game/assets/gamebreak.png.import b/game/assets/gamebreak.png.import new file mode 100644 index 0000000..a8ccaa3 --- /dev/null +++ b/game/assets/gamebreak.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/gamebreak.png-14242a216f948f95f7243afff8b0c576.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/gamebreak.png" +dest_files=[ "res://.import/gamebreak.png-14242a216f948f95f7243afff8b0c576.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/goal.png b/game/assets/goal.png new file mode 100644 index 0000000..817f444 Binary files /dev/null and b/game/assets/goal.png differ diff --git a/game/assets/goal.png.import b/game/assets/goal.png.import new file mode 100644 index 0000000..987a1fa --- /dev/null +++ b/game/assets/goal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/goal.png-0c667cdea5a1e49b564b867d565eb4ec.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/goal.png" +dest_files=[ "res://.import/goal.png-0c667cdea5a1e49b564b867d565eb4ec.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/leaderboardsComplex.png b/game/assets/leaderboardsComplex.png new file mode 100644 index 0000000..3d8043b Binary files /dev/null and b/game/assets/leaderboardsComplex.png differ diff --git a/game/assets/leaderboardsComplex.png.import b/game/assets/leaderboardsComplex.png.import new file mode 100644 index 0000000..8112179 --- /dev/null +++ b/game/assets/leaderboardsComplex.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/leaderboardsComplex.png-7bb9a792f89258b426a61229d1ec1a46.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/leaderboardsComplex.png" +dest_files=[ "res://.import/leaderboardsComplex.png-7bb9a792f89258b426a61229d1ec1a46.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker1.png b/game/assets/locker/locker1.png new file mode 100644 index 0000000..bb79737 Binary files /dev/null and b/game/assets/locker/locker1.png differ diff --git a/game/assets/locker/locker1.png.import b/game/assets/locker/locker1.png.import new file mode 100644 index 0000000..27ae5b3 --- /dev/null +++ b/game/assets/locker/locker1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker1.png-88200ae602514c97b8228a347de6dff9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker1.png" +dest_files=[ "res://.import/locker1.png-88200ae602514c97b8228a347de6dff9.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker10.png b/game/assets/locker/locker10.png new file mode 100644 index 0000000..256e23d Binary files /dev/null and b/game/assets/locker/locker10.png differ diff --git a/game/assets/locker/locker10.png.import b/game/assets/locker/locker10.png.import new file mode 100644 index 0000000..b97ef96 --- /dev/null +++ b/game/assets/locker/locker10.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker10.png-90ce7c2c99affe477fd99387959ff2a1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker10.png" +dest_files=[ "res://.import/locker10.png-90ce7c2c99affe477fd99387959ff2a1.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker11.png b/game/assets/locker/locker11.png new file mode 100644 index 0000000..256e23d Binary files /dev/null and b/game/assets/locker/locker11.png differ diff --git a/game/assets/locker/locker11.png.import b/game/assets/locker/locker11.png.import new file mode 100644 index 0000000..5715a20 --- /dev/null +++ b/game/assets/locker/locker11.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker11.png-e8e9a8a0fc903deeb9091dcde0e7635c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker11.png" +dest_files=[ "res://.import/locker11.png-e8e9a8a0fc903deeb9091dcde0e7635c.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker12.png b/game/assets/locker/locker12.png new file mode 100644 index 0000000..f66a766 Binary files /dev/null and b/game/assets/locker/locker12.png differ diff --git a/game/assets/locker/locker12.png.import b/game/assets/locker/locker12.png.import new file mode 100644 index 0000000..5ba8d15 --- /dev/null +++ b/game/assets/locker/locker12.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker12.png-73eec6235a548521e9bb9aab1647b5fe.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker12.png" +dest_files=[ "res://.import/locker12.png-73eec6235a548521e9bb9aab1647b5fe.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker13.png b/game/assets/locker/locker13.png new file mode 100644 index 0000000..8186bee Binary files /dev/null and b/game/assets/locker/locker13.png differ diff --git a/game/assets/locker/locker13.png.import b/game/assets/locker/locker13.png.import new file mode 100644 index 0000000..9aa1352 --- /dev/null +++ b/game/assets/locker/locker13.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker13.png-eae301fa5884e0b521ebdab6c20a591c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker13.png" +dest_files=[ "res://.import/locker13.png-eae301fa5884e0b521ebdab6c20a591c.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker14.png b/game/assets/locker/locker14.png new file mode 100644 index 0000000..70d1e0e Binary files /dev/null and b/game/assets/locker/locker14.png differ diff --git a/game/assets/locker/locker14.png.import b/game/assets/locker/locker14.png.import new file mode 100644 index 0000000..29a467d --- /dev/null +++ b/game/assets/locker/locker14.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker14.png-3893c705ac5481cafd2efece62db58a2.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker14.png" +dest_files=[ "res://.import/locker14.png-3893c705ac5481cafd2efece62db58a2.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker15.png b/game/assets/locker/locker15.png new file mode 100644 index 0000000..e395f96 Binary files /dev/null and b/game/assets/locker/locker15.png differ diff --git a/game/assets/locker/locker15.png.import b/game/assets/locker/locker15.png.import new file mode 100644 index 0000000..9c37ce5 --- /dev/null +++ b/game/assets/locker/locker15.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker15.png-d44e444b0097d0fcb4666c69ff3f9c54.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker15.png" +dest_files=[ "res://.import/locker15.png-d44e444b0097d0fcb4666c69ff3f9c54.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker16.png b/game/assets/locker/locker16.png new file mode 100644 index 0000000..37b8c3e Binary files /dev/null and b/game/assets/locker/locker16.png differ diff --git a/game/assets/locker/locker16.png.import b/game/assets/locker/locker16.png.import new file mode 100644 index 0000000..feb2f9b --- /dev/null +++ b/game/assets/locker/locker16.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker16.png-71ec208084d4b93bacfaad8f23049ce5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker16.png" +dest_files=[ "res://.import/locker16.png-71ec208084d4b93bacfaad8f23049ce5.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker17.png b/game/assets/locker/locker17.png new file mode 100644 index 0000000..83a7930 Binary files /dev/null and b/game/assets/locker/locker17.png differ diff --git a/game/assets/locker/locker17.png.import b/game/assets/locker/locker17.png.import new file mode 100644 index 0000000..5363aae --- /dev/null +++ b/game/assets/locker/locker17.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker17.png-6fe4363cb5bf1d3ef91c7f97748d5d66.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker17.png" +dest_files=[ "res://.import/locker17.png-6fe4363cb5bf1d3ef91c7f97748d5d66.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker18.png b/game/assets/locker/locker18.png new file mode 100644 index 0000000..5379476 Binary files /dev/null and b/game/assets/locker/locker18.png differ diff --git a/game/assets/locker/locker18.png.import b/game/assets/locker/locker18.png.import new file mode 100644 index 0000000..e8a8248 --- /dev/null +++ b/game/assets/locker/locker18.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker18.png-984ba7f1e9b87e50843fbb52c9915246.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker18.png" +dest_files=[ "res://.import/locker18.png-984ba7f1e9b87e50843fbb52c9915246.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker19.png b/game/assets/locker/locker19.png new file mode 100644 index 0000000..8d28f7f Binary files /dev/null and b/game/assets/locker/locker19.png differ diff --git a/game/assets/locker/locker19.png.import b/game/assets/locker/locker19.png.import new file mode 100644 index 0000000..c20ec36 --- /dev/null +++ b/game/assets/locker/locker19.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker19.png-91cb417de4e6e8d9cd17ee8e1ba812b6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker19.png" +dest_files=[ "res://.import/locker19.png-91cb417de4e6e8d9cd17ee8e1ba812b6.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker2.png b/game/assets/locker/locker2.png new file mode 100644 index 0000000..eb6281d Binary files /dev/null and b/game/assets/locker/locker2.png differ diff --git a/game/assets/locker/locker2.png.import b/game/assets/locker/locker2.png.import new file mode 100644 index 0000000..2888d16 --- /dev/null +++ b/game/assets/locker/locker2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker2.png-999a85d5be2700c119486ec699c1d05b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker2.png" +dest_files=[ "res://.import/locker2.png-999a85d5be2700c119486ec699c1d05b.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker20.png b/game/assets/locker/locker20.png new file mode 100644 index 0000000..fc11a43 Binary files /dev/null and b/game/assets/locker/locker20.png differ diff --git a/game/assets/locker/locker20.png.import b/game/assets/locker/locker20.png.import new file mode 100644 index 0000000..b3dedf8 --- /dev/null +++ b/game/assets/locker/locker20.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker20.png-e35d1c05fea6d32c3c14437eba3feb43.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker20.png" +dest_files=[ "res://.import/locker20.png-e35d1c05fea6d32c3c14437eba3feb43.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker21.png b/game/assets/locker/locker21.png new file mode 100644 index 0000000..b42bf42 Binary files /dev/null and b/game/assets/locker/locker21.png differ diff --git a/game/assets/locker/locker21.png.import b/game/assets/locker/locker21.png.import new file mode 100644 index 0000000..ecc5d00 --- /dev/null +++ b/game/assets/locker/locker21.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker21.png-57eea891fb97dbeea6dfdf90393c65f6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker21.png" +dest_files=[ "res://.import/locker21.png-57eea891fb97dbeea6dfdf90393c65f6.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker22.png b/game/assets/locker/locker22.png new file mode 100644 index 0000000..32bde5c Binary files /dev/null and b/game/assets/locker/locker22.png differ diff --git a/game/assets/locker/locker22.png.import b/game/assets/locker/locker22.png.import new file mode 100644 index 0000000..c7d42af --- /dev/null +++ b/game/assets/locker/locker22.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker22.png-e4743317e220179edc5223e0e84a12d4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker22.png" +dest_files=[ "res://.import/locker22.png-e4743317e220179edc5223e0e84a12d4.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker23.png b/game/assets/locker/locker23.png new file mode 100644 index 0000000..d6e9b4b Binary files /dev/null and b/game/assets/locker/locker23.png differ diff --git a/game/assets/locker/locker23.png.import b/game/assets/locker/locker23.png.import new file mode 100644 index 0000000..0638816 --- /dev/null +++ b/game/assets/locker/locker23.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker23.png-3c3cbfea9185c36b82b24bcda73c62ff.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker23.png" +dest_files=[ "res://.import/locker23.png-3c3cbfea9185c36b82b24bcda73c62ff.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker24.png b/game/assets/locker/locker24.png new file mode 100644 index 0000000..d6e9b4b Binary files /dev/null and b/game/assets/locker/locker24.png differ diff --git a/game/assets/locker/locker24.png.import b/game/assets/locker/locker24.png.import new file mode 100644 index 0000000..9313d86 --- /dev/null +++ b/game/assets/locker/locker24.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker24.png-5c35a132d5f6095846bc473af1e8078f.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker24.png" +dest_files=[ "res://.import/locker24.png-5c35a132d5f6095846bc473af1e8078f.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker25.png b/game/assets/locker/locker25.png new file mode 100644 index 0000000..a7c09cc Binary files /dev/null and b/game/assets/locker/locker25.png differ diff --git a/game/assets/locker/locker25.png.import b/game/assets/locker/locker25.png.import new file mode 100644 index 0000000..85ff55a --- /dev/null +++ b/game/assets/locker/locker25.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker25.png-a720a0f22096e258740ea9c5c3fd9fb2.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker25.png" +dest_files=[ "res://.import/locker25.png-a720a0f22096e258740ea9c5c3fd9fb2.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker26.png b/game/assets/locker/locker26.png new file mode 100644 index 0000000..a7c09cc Binary files /dev/null and b/game/assets/locker/locker26.png differ diff --git a/game/assets/locker/locker26.png.import b/game/assets/locker/locker26.png.import new file mode 100644 index 0000000..0e2330d --- /dev/null +++ b/game/assets/locker/locker26.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker26.png-deab255aff90a12a32d1a120fac74d38.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker26.png" +dest_files=[ "res://.import/locker26.png-deab255aff90a12a32d1a120fac74d38.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker27.png b/game/assets/locker/locker27.png new file mode 100644 index 0000000..a7c09cc Binary files /dev/null and b/game/assets/locker/locker27.png differ diff --git a/game/assets/locker/locker27.png.import b/game/assets/locker/locker27.png.import new file mode 100644 index 0000000..775f681 --- /dev/null +++ b/game/assets/locker/locker27.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker27.png-6db5316fd8960969f9d4368bbb9c11a6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker27.png" +dest_files=[ "res://.import/locker27.png-6db5316fd8960969f9d4368bbb9c11a6.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker3.png b/game/assets/locker/locker3.png new file mode 100644 index 0000000..36122cd Binary files /dev/null and b/game/assets/locker/locker3.png differ diff --git a/game/assets/locker/locker3.png.import b/game/assets/locker/locker3.png.import new file mode 100644 index 0000000..b4b7f24 --- /dev/null +++ b/game/assets/locker/locker3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker3.png-0e3ba43032d2f2fe1e84d06e1972174d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker3.png" +dest_files=[ "res://.import/locker3.png-0e3ba43032d2f2fe1e84d06e1972174d.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker4.png b/game/assets/locker/locker4.png new file mode 100644 index 0000000..2ecf53e Binary files /dev/null and b/game/assets/locker/locker4.png differ diff --git a/game/assets/locker/locker4.png.import b/game/assets/locker/locker4.png.import new file mode 100644 index 0000000..cf2affd --- /dev/null +++ b/game/assets/locker/locker4.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker4.png-dcb10c0060882bd488e661f22cd51f75.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker4.png" +dest_files=[ "res://.import/locker4.png-dcb10c0060882bd488e661f22cd51f75.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker5.png b/game/assets/locker/locker5.png new file mode 100644 index 0000000..36382cf Binary files /dev/null and b/game/assets/locker/locker5.png differ diff --git a/game/assets/locker/locker5.png.import b/game/assets/locker/locker5.png.import new file mode 100644 index 0000000..35ddb3f --- /dev/null +++ b/game/assets/locker/locker5.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker5.png-4806fe66f24aa4c36277a8ad81d199f0.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker5.png" +dest_files=[ "res://.import/locker5.png-4806fe66f24aa4c36277a8ad81d199f0.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker6.png b/game/assets/locker/locker6.png new file mode 100644 index 0000000..c6fb0c9 Binary files /dev/null and b/game/assets/locker/locker6.png differ diff --git a/game/assets/locker/locker6.png.import b/game/assets/locker/locker6.png.import new file mode 100644 index 0000000..e1bad53 --- /dev/null +++ b/game/assets/locker/locker6.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker6.png-dceabf115ce9d08f646716a7051fdd9e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker6.png" +dest_files=[ "res://.import/locker6.png-dceabf115ce9d08f646716a7051fdd9e.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker7.png b/game/assets/locker/locker7.png new file mode 100644 index 0000000..a703872 Binary files /dev/null and b/game/assets/locker/locker7.png differ diff --git a/game/assets/locker/locker7.png.import b/game/assets/locker/locker7.png.import new file mode 100644 index 0000000..0cced2f --- /dev/null +++ b/game/assets/locker/locker7.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker7.png-229e4c50453cf2807cae0cecaef3b766.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker7.png" +dest_files=[ "res://.import/locker7.png-229e4c50453cf2807cae0cecaef3b766.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker8.png b/game/assets/locker/locker8.png new file mode 100644 index 0000000..02009dc Binary files /dev/null and b/game/assets/locker/locker8.png differ diff --git a/game/assets/locker/locker8.png.import b/game/assets/locker/locker8.png.import new file mode 100644 index 0000000..03a216f --- /dev/null +++ b/game/assets/locker/locker8.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker8.png-7bc76c6aa74e8363676a7b78f187cdc6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker8.png" +dest_files=[ "res://.import/locker8.png-7bc76c6aa74e8363676a7b78f187cdc6.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/locker/locker9.png b/game/assets/locker/locker9.png new file mode 100644 index 0000000..216c234 Binary files /dev/null and b/game/assets/locker/locker9.png differ diff --git a/game/assets/locker/locker9.png.import b/game/assets/locker/locker9.png.import new file mode 100644 index 0000000..02f8ec2 --- /dev/null +++ b/game/assets/locker/locker9.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/locker9.png-e1b0d6f4094cbdb65a5633228db4a764.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/locker/locker9.png" +dest_files=[ "res://.import/locker9.png-e1b0d6f4094cbdb65a5633228db4a764.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/next.png b/game/assets/next.png new file mode 100644 index 0000000..edf9f6f Binary files /dev/null and b/game/assets/next.png differ diff --git a/game/assets/next.png.import b/game/assets/next.png.import new file mode 100644 index 0000000..d28f5af --- /dev/null +++ b/game/assets/next.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/next.png-4a14bb3d3b235bb0505e1fa2dffc1d35.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/next.png" +dest_files=[ "res://.import/next.png-4a14bb3d3b235bb0505e1fa2dffc1d35.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/pause.png b/game/assets/pause.png new file mode 100644 index 0000000..3e61815 Binary files /dev/null and b/game/assets/pause.png differ diff --git a/game/assets/pause.png.import b/game/assets/pause.png.import new file mode 100644 index 0000000..1aaf973 --- /dev/null +++ b/game/assets/pause.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/pause.png-d497048eb98995ab9a2a1bb8927ffe58.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/pause.png" +dest_files=[ "res://.import/pause.png-d497048eb98995ab9a2a1bb8927ffe58.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/prev.png b/game/assets/prev.png new file mode 100644 index 0000000..25a90af Binary files /dev/null and b/game/assets/prev.png differ diff --git a/game/assets/prev.png.import b/game/assets/prev.png.import new file mode 100644 index 0000000..689806c --- /dev/null +++ b/game/assets/prev.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/prev.png-480a9edc20bfb325ae0128b7f812c068.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/prev.png" +dest_files=[ "res://.import/prev.png-480a9edc20bfb325ae0128b7f812c068.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/progressbar_bg.png b/game/assets/progressbar_bg.png new file mode 100644 index 0000000..205a627 Binary files /dev/null and b/game/assets/progressbar_bg.png differ diff --git a/game/assets/progressbar_bg.png.import b/game/assets/progressbar_bg.png.import new file mode 100644 index 0000000..2eea1aa --- /dev/null +++ b/game/assets/progressbar_bg.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/progressbar_bg.png-77e9a51a911312af0e8e40e84986e60c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/progressbar_bg.png" +dest_files=[ "res://.import/progressbar_bg.png-77e9a51a911312af0e8e40e84986e60c.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/progressbar_progress.png b/game/assets/progressbar_progress.png new file mode 100644 index 0000000..07bab2e Binary files /dev/null and b/game/assets/progressbar_progress.png differ diff --git a/game/assets/progressbar_progress.png.import b/game/assets/progressbar_progress.png.import new file mode 100644 index 0000000..a90cf89 --- /dev/null +++ b/game/assets/progressbar_progress.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/progressbar_progress.png-2da455cd9557415d4f025ecd90b88202.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/progressbar_progress.png" +dest_files=[ "res://.import/progressbar_progress.png-2da455cd9557415d4f025ecd90b88202.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/snowflake.png b/game/assets/snowflake.png new file mode 100644 index 0000000..70c58bd Binary files /dev/null and b/game/assets/snowflake.png differ diff --git a/game/assets/snowflake.png.import b/game/assets/snowflake.png.import new file mode 100644 index 0000000..21f99d4 --- /dev/null +++ b/game/assets/snowflake.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/snowflake.png-b933170c468ed8c558a28724201dc1a7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/snowflake.png" +dest_files=[ "res://.import/snowflake.png-b933170c468ed8c558a28724201dc1a7.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/sounds/chill-music.wav b/game/assets/sounds/chill-music.wav new file mode 100644 index 0000000..25af873 Binary files /dev/null and b/game/assets/sounds/chill-music.wav differ diff --git a/game/assets/sounds/chill-music.wav.import b/game/assets/sounds/chill-music.wav.import new file mode 100644 index 0000000..5a6e1ab --- /dev/null +++ b/game/assets/sounds/chill-music.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/chill-music.wav-660efba4209acbc4e3551801de0a1838.sample" + +[deps] + +source_file="res://assets/sounds/chill-music.wav" +dest_files=[ "res://.import/chill-music.wav-660efba4209acbc4e3551801de0a1838.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=true +compress/mode=0 diff --git a/game/assets/sounds/click.wav b/game/assets/sounds/click.wav new file mode 100644 index 0000000..1d8e55c Binary files /dev/null and b/game/assets/sounds/click.wav differ diff --git a/game/assets/sounds/click.wav.import b/game/assets/sounds/click.wav.import new file mode 100644 index 0000000..45f10fc --- /dev/null +++ b/game/assets/sounds/click.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/click.wav-6af01c357158287f6c248cf59f42edea.sample" + +[deps] + +source_file="res://assets/sounds/click.wav" +dest_files=[ "res://.import/click.wav-6af01c357158287f6c248cf59f42edea.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/1.wav b/game/assets/sounds/commentator/1.wav new file mode 100644 index 0000000..8b86fb6 Binary files /dev/null and b/game/assets/sounds/commentator/1.wav differ diff --git a/game/assets/sounds/commentator/1.wav.import b/game/assets/sounds/commentator/1.wav.import new file mode 100644 index 0000000..43b75b1 --- /dev/null +++ b/game/assets/sounds/commentator/1.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/1.wav-3afdd75a767f2eb84b348d0106237c4f.sample" + +[deps] + +source_file="res://assets/sounds/commentator/1.wav" +dest_files=[ "res://.import/1.wav-3afdd75a767f2eb84b348d0106237c4f.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/10.wav b/game/assets/sounds/commentator/10.wav new file mode 100644 index 0000000..cb46de6 Binary files /dev/null and b/game/assets/sounds/commentator/10.wav differ diff --git a/game/assets/sounds/commentator/10.wav.import b/game/assets/sounds/commentator/10.wav.import new file mode 100644 index 0000000..96c3d7a --- /dev/null +++ b/game/assets/sounds/commentator/10.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/10.wav-015bc49189e7bbbd8783c51a651b0e99.sample" + +[deps] + +source_file="res://assets/sounds/commentator/10.wav" +dest_files=[ "res://.import/10.wav-015bc49189e7bbbd8783c51a651b0e99.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/2.wav b/game/assets/sounds/commentator/2.wav new file mode 100644 index 0000000..319d927 Binary files /dev/null and b/game/assets/sounds/commentator/2.wav differ diff --git a/game/assets/sounds/commentator/2.wav.import b/game/assets/sounds/commentator/2.wav.import new file mode 100644 index 0000000..29de216 --- /dev/null +++ b/game/assets/sounds/commentator/2.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/2.wav-e41849d509d35fb7d62eef90c6dd1522.sample" + +[deps] + +source_file="res://assets/sounds/commentator/2.wav" +dest_files=[ "res://.import/2.wav-e41849d509d35fb7d62eef90c6dd1522.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/3.wav b/game/assets/sounds/commentator/3.wav new file mode 100644 index 0000000..dd8dc20 Binary files /dev/null and b/game/assets/sounds/commentator/3.wav differ diff --git a/game/assets/sounds/commentator/3.wav.import b/game/assets/sounds/commentator/3.wav.import new file mode 100644 index 0000000..59b0e8a --- /dev/null +++ b/game/assets/sounds/commentator/3.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/3.wav-e2e6af64b417d4073d42cfad007891e4.sample" + +[deps] + +source_file="res://assets/sounds/commentator/3.wav" +dest_files=[ "res://.import/3.wav-e2e6af64b417d4073d42cfad007891e4.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/4.wav b/game/assets/sounds/commentator/4.wav new file mode 100644 index 0000000..8010b78 Binary files /dev/null and b/game/assets/sounds/commentator/4.wav differ diff --git a/game/assets/sounds/commentator/4.wav.import b/game/assets/sounds/commentator/4.wav.import new file mode 100644 index 0000000..27253fe --- /dev/null +++ b/game/assets/sounds/commentator/4.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/4.wav-1bf20231ff5005f468562022c5285706.sample" + +[deps] + +source_file="res://assets/sounds/commentator/4.wav" +dest_files=[ "res://.import/4.wav-1bf20231ff5005f468562022c5285706.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/5.wav b/game/assets/sounds/commentator/5.wav new file mode 100644 index 0000000..ebc1df5 Binary files /dev/null and b/game/assets/sounds/commentator/5.wav differ diff --git a/game/assets/sounds/commentator/5.wav.import b/game/assets/sounds/commentator/5.wav.import new file mode 100644 index 0000000..7cae139 --- /dev/null +++ b/game/assets/sounds/commentator/5.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/5.wav-3947a547b7ccded381eaba05137775cf.sample" + +[deps] + +source_file="res://assets/sounds/commentator/5.wav" +dest_files=[ "res://.import/5.wav-3947a547b7ccded381eaba05137775cf.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/6.wav b/game/assets/sounds/commentator/6.wav new file mode 100644 index 0000000..184f1b5 Binary files /dev/null and b/game/assets/sounds/commentator/6.wav differ diff --git a/game/assets/sounds/commentator/6.wav.import b/game/assets/sounds/commentator/6.wav.import new file mode 100644 index 0000000..3e4d4a7 --- /dev/null +++ b/game/assets/sounds/commentator/6.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/6.wav-ea51735db7a280ba37640e09e0dd73d7.sample" + +[deps] + +source_file="res://assets/sounds/commentator/6.wav" +dest_files=[ "res://.import/6.wav-ea51735db7a280ba37640e09e0dd73d7.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/7.wav b/game/assets/sounds/commentator/7.wav new file mode 100644 index 0000000..97f925b Binary files /dev/null and b/game/assets/sounds/commentator/7.wav differ diff --git a/game/assets/sounds/commentator/7.wav.import b/game/assets/sounds/commentator/7.wav.import new file mode 100644 index 0000000..b8442fe --- /dev/null +++ b/game/assets/sounds/commentator/7.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/7.wav-462b9361cc8cc19dff1a11e1aea6b8d0.sample" + +[deps] + +source_file="res://assets/sounds/commentator/7.wav" +dest_files=[ "res://.import/7.wav-462b9361cc8cc19dff1a11e1aea6b8d0.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/8.wav b/game/assets/sounds/commentator/8.wav new file mode 100644 index 0000000..21eb87c Binary files /dev/null and b/game/assets/sounds/commentator/8.wav differ diff --git a/game/assets/sounds/commentator/8.wav.import b/game/assets/sounds/commentator/8.wav.import new file mode 100644 index 0000000..5c4a471 --- /dev/null +++ b/game/assets/sounds/commentator/8.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/8.wav-49399fe36f6dbcd4b4f0c4976f58c8c7.sample" + +[deps] + +source_file="res://assets/sounds/commentator/8.wav" +dest_files=[ "res://.import/8.wav-49399fe36f6dbcd4b4f0c4976f58c8c7.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/9.wav b/game/assets/sounds/commentator/9.wav new file mode 100644 index 0000000..589c104 Binary files /dev/null and b/game/assets/sounds/commentator/9.wav differ diff --git a/game/assets/sounds/commentator/9.wav.import b/game/assets/sounds/commentator/9.wav.import new file mode 100644 index 0000000..c41a05e --- /dev/null +++ b/game/assets/sounds/commentator/9.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/9.wav-6bc1b0eae4675ecb6fe78580ea1a9fab.sample" + +[deps] + +source_file="res://assets/sounds/commentator/9.wav" +dest_files=[ "res://.import/9.wav-6bc1b0eae4675ecb6fe78580ea1a9fab.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/go.wav b/game/assets/sounds/commentator/go.wav new file mode 100644 index 0000000..3422dbd Binary files /dev/null and b/game/assets/sounds/commentator/go.wav differ diff --git a/game/assets/sounds/commentator/go.wav.import b/game/assets/sounds/commentator/go.wav.import new file mode 100644 index 0000000..cb40ddb --- /dev/null +++ b/game/assets/sounds/commentator/go.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/go.wav-2d4b487107657758d88935a821cd0b72.sample" + +[deps] + +source_file="res://assets/sounds/commentator/go.wav" +dest_files=[ "res://.import/go.wav-2d4b487107657758d88935a821cd0b72.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/goal.wav b/game/assets/sounds/commentator/goal.wav new file mode 100644 index 0000000..46f23e4 Binary files /dev/null and b/game/assets/sounds/commentator/goal.wav differ diff --git a/game/assets/sounds/commentator/goal.wav.import b/game/assets/sounds/commentator/goal.wav.import new file mode 100644 index 0000000..d45cc6c --- /dev/null +++ b/game/assets/sounds/commentator/goal.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/goal.wav-aeb26be35ff3f95d002d7bd3e4208902.sample" + +[deps] + +source_file="res://assets/sounds/commentator/goal.wav" +dest_files=[ "res://.import/goal.wav-aeb26be35ff3f95d002d7bd3e4208902.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/new_highscore.ogg b/game/assets/sounds/commentator/new_highscore.ogg new file mode 100644 index 0000000..aa24d93 Binary files /dev/null and b/game/assets/sounds/commentator/new_highscore.ogg differ diff --git a/game/assets/sounds/commentator/new_highscore.ogg.import b/game/assets/sounds/commentator/new_highscore.ogg.import new file mode 100644 index 0000000..142e9d7 --- /dev/null +++ b/game/assets/sounds/commentator/new_highscore.ogg.import @@ -0,0 +1,15 @@ +[remap] + +importer="ogg_vorbis" +type="AudioStreamOGGVorbis" +path="res://.import/new_highscore.ogg-95cb3abfe211cde46d543573a577f096.oggstr" + +[deps] + +source_file="res://assets/sounds/commentator/new_highscore.ogg" +dest_files=[ "res://.import/new_highscore.ogg-95cb3abfe211cde46d543573a577f096.oggstr" ] + +[params] + +loop=false +loop_offset=0 diff --git a/game/assets/sounds/commentator/ready.wav b/game/assets/sounds/commentator/ready.wav new file mode 100644 index 0000000..5bc5f94 Binary files /dev/null and b/game/assets/sounds/commentator/ready.wav differ diff --git a/game/assets/sounds/commentator/ready.wav.import b/game/assets/sounds/commentator/ready.wav.import new file mode 100644 index 0000000..0b66f46 --- /dev/null +++ b/game/assets/sounds/commentator/ready.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/ready.wav-5d33f18cade577155661329a7426132e.sample" + +[deps] + +source_file="res://assets/sounds/commentator/ready.wav" +dest_files=[ "res://.import/ready.wav-5d33f18cade577155661329a7426132e.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/you_loose.wav b/game/assets/sounds/commentator/you_loose.wav new file mode 100644 index 0000000..bde5c15 Binary files /dev/null and b/game/assets/sounds/commentator/you_loose.wav differ diff --git a/game/assets/sounds/commentator/you_loose.wav.import b/game/assets/sounds/commentator/you_loose.wav.import new file mode 100644 index 0000000..7b9524c --- /dev/null +++ b/game/assets/sounds/commentator/you_loose.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/you_loose.wav-45ee2b2a92eb2dc3fbf4efb250371e79.sample" + +[deps] + +source_file="res://assets/sounds/commentator/you_loose.wav" +dest_files=[ "res://.import/you_loose.wav-45ee2b2a92eb2dc3fbf4efb250371e79.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/commentator/you_win.wav b/game/assets/sounds/commentator/you_win.wav new file mode 100644 index 0000000..719caad Binary files /dev/null and b/game/assets/sounds/commentator/you_win.wav differ diff --git a/game/assets/sounds/commentator/you_win.wav.import b/game/assets/sounds/commentator/you_win.wav.import new file mode 100644 index 0000000..91f7f92 --- /dev/null +++ b/game/assets/sounds/commentator/you_win.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/you_win.wav-d833551ecdf65a72fa63926300f0aad5.sample" + +[deps] + +source_file="res://assets/sounds/commentator/you_win.wav" +dest_files=[ "res://.import/you_win.wav-d833551ecdf65a72fa63926300f0aad5.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/croud.ogg b/game/assets/sounds/croud.ogg new file mode 100644 index 0000000..ce03c0c Binary files /dev/null and b/game/assets/sounds/croud.ogg differ diff --git a/game/assets/sounds/croud.ogg.import b/game/assets/sounds/croud.ogg.import new file mode 100644 index 0000000..8f11c36 --- /dev/null +++ b/game/assets/sounds/croud.ogg.import @@ -0,0 +1,15 @@ +[remap] + +importer="ogg_vorbis" +type="AudioStreamOGGVorbis" +path="res://.import/croud.ogg-8e80dca7b1f4f53e9195f14028b1dd25.oggstr" + +[deps] + +source_file="res://assets/sounds/croud.ogg" +dest_files=[ "res://.import/croud.ogg-8e80dca7b1f4f53e9195f14028b1dd25.oggstr" ] + +[params] + +loop=true +loop_offset=0 diff --git a/game/assets/sounds/crowd.wav.import b/game/assets/sounds/crowd.wav.import new file mode 100644 index 0000000..da59489 --- /dev/null +++ b/game/assets/sounds/crowd.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/crowd.wav-68e3609555de715f46300d6fc53da70b.sample" + +[deps] + +source_file="res://assets/sounds/crowd.wav" +dest_files=[ "res://.import/crowd.wav-68e3609555de715f46300d6fc53da70b.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/hit.wav b/game/assets/sounds/hit.wav new file mode 100644 index 0000000..9d56022 Binary files /dev/null and b/game/assets/sounds/hit.wav differ diff --git a/game/assets/sounds/hit.wav.import b/game/assets/sounds/hit.wav.import new file mode 100644 index 0000000..59fac69 --- /dev/null +++ b/game/assets/sounds/hit.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/hit.wav-b122da9ae3f69dfbe7a6d1bf9e1b423e.sample" + +[deps] + +source_file="res://assets/sounds/hit.wav" +dest_files=[ "res://.import/hit.wav-b122da9ae3f69dfbe7a6d1bf9e1b423e.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/horn.wav b/game/assets/sounds/horn.wav new file mode 100644 index 0000000..2e9f72a Binary files /dev/null and b/game/assets/sounds/horn.wav differ diff --git a/game/assets/sounds/horn.wav.import b/game/assets/sounds/horn.wav.import new file mode 100644 index 0000000..0f8615f --- /dev/null +++ b/game/assets/sounds/horn.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/horn.wav-5ed5ab26dfb002fe0ce0a40e2b07b7b1.sample" + +[deps] + +source_file="res://assets/sounds/horn.wav" +dest_files=[ "res://.import/horn.wav-5ed5ab26dfb002fe0ce0a40e2b07b7b1.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/game/assets/sounds/impactGlass_light_003.ogg.import b/game/assets/sounds/impactGlass_light_003.ogg.import new file mode 100644 index 0000000..83e0f8c --- /dev/null +++ b/game/assets/sounds/impactGlass_light_003.ogg.import @@ -0,0 +1,15 @@ +[remap] + +importer="ogg_vorbis" +type="AudioStreamOGGVorbis" +path="res://.import/impactGlass_light_003.ogg-e15f5217a6f41f7cd231d9ff1ca33b0c.oggstr" + +[deps] + +source_file="res://assets/sounds/impactGlass_light_003.ogg" +dest_files=[ "res://.import/impactGlass_light_003.ogg-e15f5217a6f41f7cd231d9ff1ca33b0c.oggstr" ] + +[params] + +loop=true +loop_offset=0 diff --git a/game/assets/sounds/music.wav b/game/assets/sounds/music.wav new file mode 100644 index 0000000..574a703 Binary files /dev/null and b/game/assets/sounds/music.wav differ diff --git a/game/assets/sounds/music.wav.import b/game/assets/sounds/music.wav.import new file mode 100644 index 0000000..35a0464 --- /dev/null +++ b/game/assets/sounds/music.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/music.wav-1289099606193b180e91147a9336c290.sample" + +[deps] + +source_file="res://assets/sounds/music.wav" +dest_files=[ "res://.import/music.wav-1289099606193b180e91147a9336c290.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=true +compress/mode=0 diff --git a/game/assets/teams/australian-teams/BlacktownPirates.png b/game/assets/teams/australian-teams/BlacktownPirates.png new file mode 100644 index 0000000..0d6e497 Binary files /dev/null and b/game/assets/teams/australian-teams/BlacktownPirates.png differ diff --git a/game/assets/teams/australian-teams/BlacktownPirates.png.import b/game/assets/teams/australian-teams/BlacktownPirates.png.import new file mode 100644 index 0000000..593419a --- /dev/null +++ b/game/assets/teams/australian-teams/BlacktownPirates.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/BlacktownPirates.png-730b27adcf018b1b05798b6315c95081.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/BlacktownPirates.png" +dest_files=[ "res://.import/BlacktownPirates.png-730b27adcf018b1b05798b6315c95081.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/game/assets/teams/australian-teams/DoonsideDirtSquirrels.png b/game/assets/teams/australian-teams/DoonsideDirtSquirrels.png new file mode 100644 index 0000000..0bbf39d Binary files /dev/null and b/game/assets/teams/australian-teams/DoonsideDirtSquirrels.png differ diff --git a/game/assets/teams/australian-teams/DoonsideDirtSquirrels.png.import b/game/assets/teams/australian-teams/DoonsideDirtSquirrels.png.import new file mode 100644 index 0000000..1e647cd --- /dev/null +++ b/game/assets/teams/australian-teams/DoonsideDirtSquirrels.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/DoonsideDirtSquirrels.png-16329db317dc209edb98aeb32d811c71.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/DoonsideDirtSquirrels.png" +dest_files=[ "res://.import/DoonsideDirtSquirrels.png-16329db317dc209edb98aeb32d811c71.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/game/assets/teams/australian-teams/Dugongs.png b/game/assets/teams/australian-teams/Dugongs.png new file mode 100644 index 0000000..bfb7620 Binary files /dev/null and b/game/assets/teams/australian-teams/Dugongs.png differ diff --git a/game/assets/teams/australian-teams/Dugongs.png.import b/game/assets/teams/australian-teams/Dugongs.png.import new file mode 100644 index 0000000..87e50c9 --- /dev/null +++ b/game/assets/teams/australian-teams/Dugongs.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Dugongs.png-bb0f6c5d44c9c1db7f78bfca58172b2b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/Dugongs.png" +dest_files=[ "res://.import/Dugongs.png-bb0f6c5d44c9c1db7f78bfca58172b2b.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/game/assets/teams/australian-teams/GlenmoreParkDruids.png b/game/assets/teams/australian-teams/GlenmoreParkDruids.png new file mode 100644 index 0000000..84448ff Binary files /dev/null and b/game/assets/teams/australian-teams/GlenmoreParkDruids.png differ diff --git a/game/assets/teams/australian-teams/GlenmoreParkDruids.png.import b/game/assets/teams/australian-teams/GlenmoreParkDruids.png.import new file mode 100644 index 0000000..f0c8526 --- /dev/null +++ b/game/assets/teams/australian-teams/GlenmoreParkDruids.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/GlenmoreParkDruids.png-2dcc760a72f759a332770f7da14aee6b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/GlenmoreParkDruids.png" +dest_files=[ "res://.import/GlenmoreParkDruids.png-2dcc760a72f759a332770f7da14aee6b.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/game/assets/teams/australian-teams/HeadBangingBillyGoats.png b/game/assets/teams/australian-teams/HeadBangingBillyGoats.png new file mode 100644 index 0000000..45056cf Binary files /dev/null and b/game/assets/teams/australian-teams/HeadBangingBillyGoats.png differ diff --git a/game/assets/teams/australian-teams/HeadBangingBillyGoats.png.import b/game/assets/teams/australian-teams/HeadBangingBillyGoats.png.import new file mode 100644 index 0000000..d1e46df --- /dev/null +++ b/game/assets/teams/australian-teams/HeadBangingBillyGoats.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/HeadBangingBillyGoats.png-c6fa2b37a76b52bb73e5b0f57a182f7b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/HeadBangingBillyGoats.png" +dest_files=[ "res://.import/HeadBangingBillyGoats.png-c6fa2b37a76b52bb73e5b0f57a182f7b.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/game/assets/teams/australian-teams/Hippos.png b/game/assets/teams/australian-teams/Hippos.png new file mode 100644 index 0000000..39fc1c1 Binary files /dev/null and b/game/assets/teams/australian-teams/Hippos.png differ diff --git a/game/assets/teams/australian-teams/Hippos.png.import b/game/assets/teams/australian-teams/Hippos.png.import new file mode 100644 index 0000000..53a8033 --- /dev/null +++ b/game/assets/teams/australian-teams/Hippos.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Hippos.png-b165543cb7b69d6dc052c49ffff35ed6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/Hippos.png" +dest_files=[ "res://.import/Hippos.png-b165543cb7b69d6dc052c49ffff35ed6.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/game/assets/teams/australian-teams/HowlingCommandos.png b/game/assets/teams/australian-teams/HowlingCommandos.png new file mode 100644 index 0000000..b002c22 Binary files /dev/null and b/game/assets/teams/australian-teams/HowlingCommandos.png differ diff --git a/game/assets/teams/australian-teams/HowlingCommandos.png.import b/game/assets/teams/australian-teams/HowlingCommandos.png.import new file mode 100644 index 0000000..af1d759 --- /dev/null +++ b/game/assets/teams/australian-teams/HowlingCommandos.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/HowlingCommandos.png-6ad1a3dc2d6addf6aa2d0b3e7f67f161.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/HowlingCommandos.png" +dest_files=[ "res://.import/HowlingCommandos.png-6ad1a3dc2d6addf6aa2d0b3e7f67f161.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/game/assets/teams/australian-teams/IceNinjas.png b/game/assets/teams/australian-teams/IceNinjas.png new file mode 100644 index 0000000..868eca3 Binary files /dev/null and b/game/assets/teams/australian-teams/IceNinjas.png differ diff --git a/game/assets/teams/australian-teams/IceNinjas.png.import b/game/assets/teams/australian-teams/IceNinjas.png.import new file mode 100644 index 0000000..703f946 --- /dev/null +++ b/game/assets/teams/australian-teams/IceNinjas.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/IceNinjas.png-eb146c352eb69ed10f613fa465717075.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/IceNinjas.png" +dest_files=[ "res://.import/IceNinjas.png-eb146c352eb69ed10f613fa465717075.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/game/assets/teams/australian-teams/KnightsWhoSayBroomball.png b/game/assets/teams/australian-teams/KnightsWhoSayBroomball.png new file mode 100644 index 0000000..94a1f48 Binary files /dev/null and b/game/assets/teams/australian-teams/KnightsWhoSayBroomball.png differ diff --git a/game/assets/teams/australian-teams/KnightsWhoSayBroomball.png.import b/game/assets/teams/australian-teams/KnightsWhoSayBroomball.png.import new file mode 100644 index 0000000..0a694a2 --- /dev/null +++ b/game/assets/teams/australian-teams/KnightsWhoSayBroomball.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/KnightsWhoSayBroomball.png-0900f921cc7683ad1af14963ec1984d8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/KnightsWhoSayBroomball.png" +dest_files=[ "res://.import/KnightsWhoSayBroomball.png-0900f921cc7683ad1af14963ec1984d8.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/game/assets/teams/australian-teams/MutleyCrew.png b/game/assets/teams/australian-teams/MutleyCrew.png new file mode 100644 index 0000000..f68fb51 Binary files /dev/null and b/game/assets/teams/australian-teams/MutleyCrew.png differ diff --git a/game/assets/teams/australian-teams/MutleyCrew.png.import b/game/assets/teams/australian-teams/MutleyCrew.png.import new file mode 100644 index 0000000..43900c9 --- /dev/null +++ b/game/assets/teams/australian-teams/MutleyCrew.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/MutleyCrew.png-29757df0286cdc0db4dffbec8846f0a2.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/MutleyCrew.png" +dest_files=[ "res://.import/MutleyCrew.png-29757df0286cdc0db4dffbec8846f0a2.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/game/assets/teams/australian-teams/PenrithCityRangers .png.import b/game/assets/teams/australian-teams/PenrithCityRangers .png.import new file mode 100644 index 0000000..1938030 --- /dev/null +++ b/game/assets/teams/australian-teams/PenrithCityRangers .png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/PenrithCityRangers .png-9029af9f8e50b79cdb31f7e0130e1f01.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/australian-teams/PenrithCityRangers .png" +dest_files=[ "res://.import/PenrithCityRangers .png-9029af9f8e50b79cdb31f7e0130e1f01.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/assets/teams/australian-teams/PenrithCityRangers.png b/game/assets/teams/australian-teams/PenrithCityRangers.png new file mode 100644 index 0000000..71de237 Binary files /dev/null and b/game/assets/teams/australian-teams/PenrithCityRangers.png differ diff --git a/game/assets/teams/australian-teams/PenrithCityRangers.png.import b/game/assets/teams/australian-teams/PenrithCityRangers.png.import new file mode 100644 index 0000000..8825b16 --- /dev/null +++ b/game/assets/teams/australian-teams/PenrithCityRangers.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/PenrithCityRangers.png-89f6d7465ca03131737b86867f0c39eb.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/PenrithCityRangers.png" +dest_files=[ "res://.import/PenrithCityRangers.png-89f6d7465ca03131737b86867f0c39eb.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/game/assets/teams/australian-teams/RichmondRhinos.png b/game/assets/teams/australian-teams/RichmondRhinos.png new file mode 100644 index 0000000..50276e9 Binary files /dev/null and b/game/assets/teams/australian-teams/RichmondRhinos.png differ diff --git a/game/assets/teams/australian-teams/RichmondRhinos.png.import b/game/assets/teams/australian-teams/RichmondRhinos.png.import new file mode 100644 index 0000000..bf73f23 --- /dev/null +++ b/game/assets/teams/australian-teams/RichmondRhinos.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/RichmondRhinos.png-a03d6222a30ac94fd13b2f707783021b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/RichmondRhinos.png" +dest_files=[ "res://.import/RichmondRhinos.png-a03d6222a30ac94fd13b2f707783021b.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/game/assets/teams/australian-teams/SMASolarPower.png b/game/assets/teams/australian-teams/SMASolarPower.png new file mode 100644 index 0000000..98976bb Binary files /dev/null and b/game/assets/teams/australian-teams/SMASolarPower.png differ diff --git a/game/assets/teams/australian-teams/SMASolarPower.png.import b/game/assets/teams/australian-teams/SMASolarPower.png.import new file mode 100644 index 0000000..d736bf1 --- /dev/null +++ b/game/assets/teams/australian-teams/SMASolarPower.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/SMASolarPower.png-75e8fa3e55a02d1abdf0d7e140ad48da.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/SMASolarPower.png" +dest_files=[ "res://.import/SMASolarPower.png-75e8fa3e55a02d1abdf0d7e140ad48da.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/game/assets/teams/australian-teams/VictoriousSecret.png b/game/assets/teams/australian-teams/VictoriousSecret.png new file mode 100644 index 0000000..9c51508 Binary files /dev/null and b/game/assets/teams/australian-teams/VictoriousSecret.png differ diff --git a/game/assets/teams/australian-teams/VictoriousSecret.png.import b/game/assets/teams/australian-teams/VictoriousSecret.png.import new file mode 100644 index 0000000..39a361a --- /dev/null +++ b/game/assets/teams/australian-teams/VictoriousSecret.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/VictoriousSecret.png-96ca093556d01e6bdb1f2564f57719c0.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/VictoriousSecret.png" +dest_files=[ "res://.import/VictoriousSecret.png-96ca093556d01e6bdb1f2564f57719c0.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/game/assets/teams/australian-teams/WerringtonCountySonics.png b/game/assets/teams/australian-teams/WerringtonCountySonics.png new file mode 100644 index 0000000..3c7fb88 Binary files /dev/null and b/game/assets/teams/australian-teams/WerringtonCountySonics.png differ diff --git a/game/assets/teams/australian-teams/WerringtonCountySonics.png.import b/game/assets/teams/australian-teams/WerringtonCountySonics.png.import new file mode 100644 index 0000000..755cae7 --- /dev/null +++ b/game/assets/teams/australian-teams/WerringtonCountySonics.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/WerringtonCountySonics.png-ea585e93603c9628743e8b669eb3332d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/australian-teams/WerringtonCountySonics.png" +dest_files=[ "res://.import/WerringtonCountySonics.png-ea585e93603c9628743e8b669eb3332d.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/game/assets/teams/international-league/angers.png b/game/assets/teams/international-league/angers.png new file mode 100644 index 0000000..45fecd7 Binary files /dev/null and b/game/assets/teams/international-league/angers.png differ diff --git a/game/assets/teams/international-league/angers.png.import b/game/assets/teams/international-league/angers.png.import new file mode 100644 index 0000000..0b0b824 --- /dev/null +++ b/game/assets/teams/international-league/angers.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/angers.png-ae768adfc891dc68462e3fc5a6d82941.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/angers.png" +dest_files=[ "res://.import/angers.png-ae768adfc891dc68462e3fc5a6d82941.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/game/assets/teams/international-league/carolina.png b/game/assets/teams/international-league/carolina.png new file mode 100644 index 0000000..07d0c48 Binary files /dev/null and b/game/assets/teams/international-league/carolina.png differ diff --git a/game/assets/teams/international-league/carolina.png.import b/game/assets/teams/international-league/carolina.png.import new file mode 100644 index 0000000..d50eccc --- /dev/null +++ b/game/assets/teams/international-league/carolina.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/carolina.png-42121faa247cd90013df269cc8f30622.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/carolina.png" +dest_files=[ "res://.import/carolina.png-42121faa247cd90013df269cc8f30622.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/game/assets/teams/international-league/cyclones.png b/game/assets/teams/international-league/cyclones.png new file mode 100644 index 0000000..f6f2e65 Binary files /dev/null and b/game/assets/teams/international-league/cyclones.png differ diff --git a/game/assets/teams/international-league/cyclones.png.import b/game/assets/teams/international-league/cyclones.png.import new file mode 100644 index 0000000..3ba5887 --- /dev/null +++ b/game/assets/teams/international-league/cyclones.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/cyclones.png-e2fd9d66c22e1033e4d30188814cb5f4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/cyclones.png" +dest_files=[ "res://.import/cyclones.png-e2fd9d66c22e1033e4d30188814cb5f4.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/game/assets/teams/international-league/deben-roadrunnners.png b/game/assets/teams/international-league/deben-roadrunnners.png new file mode 100644 index 0000000..81aef8e Binary files /dev/null and b/game/assets/teams/international-league/deben-roadrunnners.png differ diff --git a/game/assets/teams/international-league/deben-roadrunnners.png.import b/game/assets/teams/international-league/deben-roadrunnners.png.import new file mode 100644 index 0000000..de59714 --- /dev/null +++ b/game/assets/teams/international-league/deben-roadrunnners.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/deben-roadrunnners.png-45ca8fcd2bf568a0db4f9fc469a7042c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/deben-roadrunnners.png" +dest_files=[ "res://.import/deben-roadrunnners.png-45ca8fcd2bf568a0db4f9fc469a7042c.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/game/assets/teams/international-league/flying-brooms.png b/game/assets/teams/international-league/flying-brooms.png new file mode 100644 index 0000000..abd6f48 Binary files /dev/null and b/game/assets/teams/international-league/flying-brooms.png differ diff --git a/game/assets/teams/international-league/flying-brooms.png.import b/game/assets/teams/international-league/flying-brooms.png.import new file mode 100644 index 0000000..bff4427 --- /dev/null +++ b/game/assets/teams/international-league/flying-brooms.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/flying-brooms.png-03de38a01ac4b843e7347505a7ac39d1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/flying-brooms.png" +dest_files=[ "res://.import/flying-brooms.png-03de38a01ac4b843e7347505a7ac39d1.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/game/assets/teams/international-league/france.png b/game/assets/teams/international-league/france.png new file mode 100644 index 0000000..82f6c67 Binary files /dev/null and b/game/assets/teams/international-league/france.png differ diff --git a/game/assets/teams/international-league/france.png.import b/game/assets/teams/international-league/france.png.import new file mode 100644 index 0000000..17616b6 --- /dev/null +++ b/game/assets/teams/international-league/france.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/france.png-f5cab72adc611d8534f955baf24a1e55.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/france.png" +dest_files=[ "res://.import/france.png-f5cab72adc611d8534f955baf24a1e55.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/game/assets/teams/international-league/iceducks.png b/game/assets/teams/international-league/iceducks.png new file mode 100644 index 0000000..de9570b Binary files /dev/null and b/game/assets/teams/international-league/iceducks.png differ diff --git a/game/assets/teams/international-league/iceducks.png.import b/game/assets/teams/international-league/iceducks.png.import new file mode 100644 index 0000000..6d1784d --- /dev/null +++ b/game/assets/teams/international-league/iceducks.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/iceducks.png-117b00e3de7f6e2bb5aad07923168cba.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/iceducks.png" +dest_files=[ "res://.import/iceducks.png-117b00e3de7f6e2bb5aad07923168cba.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/game/assets/teams/international-league/indiana-invaders.png b/game/assets/teams/international-league/indiana-invaders.png new file mode 100644 index 0000000..849f8f8 Binary files /dev/null and b/game/assets/teams/international-league/indiana-invaders.png differ diff --git a/game/assets/teams/international-league/indiana-invaders.png.import b/game/assets/teams/international-league/indiana-invaders.png.import new file mode 100644 index 0000000..0c11d16 --- /dev/null +++ b/game/assets/teams/international-league/indiana-invaders.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/indiana-invaders.png-447456faaa7e618769e66b54ee85964f.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/indiana-invaders.png" +dest_files=[ "res://.import/indiana-invaders.png-447456faaa7e618769e66b54ee85964f.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/game/assets/teams/international-league/legion.png b/game/assets/teams/international-league/legion.png new file mode 100644 index 0000000..7208e30 Binary files /dev/null and b/game/assets/teams/international-league/legion.png differ diff --git a/game/assets/teams/international-league/legion.png.import b/game/assets/teams/international-league/legion.png.import new file mode 100644 index 0000000..1eeaee2 --- /dev/null +++ b/game/assets/teams/international-league/legion.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/legion.png-001e0d45a09cde02e78bf682fa2500ac.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/legion.png" +dest_files=[ "res://.import/legion.png-001e0d45a09cde02e78bf682fa2500ac.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/game/assets/teams/international-league/renegades.png b/game/assets/teams/international-league/renegades.png new file mode 100644 index 0000000..536b255 Binary files /dev/null and b/game/assets/teams/international-league/renegades.png differ diff --git a/game/assets/teams/international-league/renegades.png.import b/game/assets/teams/international-league/renegades.png.import new file mode 100644 index 0000000..d5ec13a --- /dev/null +++ b/game/assets/teams/international-league/renegades.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/renegades.png-f2010d971dc3b9f117ea7e12c7731b01.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/renegades.png" +dest_files=[ "res://.import/renegades.png-f2010d971dc3b9f117ea7e12c7731b01.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/game/assets/teams/international-league/thunder-brooms.png b/game/assets/teams/international-league/thunder-brooms.png new file mode 100644 index 0000000..9f36342 Binary files /dev/null and b/game/assets/teams/international-league/thunder-brooms.png differ diff --git a/game/assets/teams/international-league/thunder-brooms.png.import b/game/assets/teams/international-league/thunder-brooms.png.import new file mode 100644 index 0000000..db52ddb --- /dev/null +++ b/game/assets/teams/international-league/thunder-brooms.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/thunder-brooms.png-d171f0ab4b8c5864cb991ee02b7c2e25.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/thunder-brooms.png" +dest_files=[ "res://.import/thunder-brooms.png-d171f0ab4b8c5864cb991ee02b7c2e25.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/game/assets/teams/international-league/thunderbirds.png b/game/assets/teams/international-league/thunderbirds.png new file mode 100644 index 0000000..58974f5 Binary files /dev/null and b/game/assets/teams/international-league/thunderbirds.png differ diff --git a/game/assets/teams/international-league/thunderbirds.png.import b/game/assets/teams/international-league/thunderbirds.png.import new file mode 100644 index 0000000..a161e2e --- /dev/null +++ b/game/assets/teams/international-league/thunderbirds.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/thunderbirds.png-7506487de5e078598e7f0b2e5916d3b1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/international-league/thunderbirds.png" +dest_files=[ "res://.import/thunderbirds.png-7506487de5e078598e7f0b2e5916d3b1.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/game/assets/teams/italian-teams/agordino-bears.png b/game/assets/teams/italian-teams/agordino-bears.png new file mode 100644 index 0000000..c9ec4ea Binary files /dev/null and b/game/assets/teams/italian-teams/agordino-bears.png differ diff --git a/game/assets/teams/italian-teams/agordino-bears.png.import b/game/assets/teams/italian-teams/agordino-bears.png.import new file mode 100644 index 0000000..a081c7c --- /dev/null +++ b/game/assets/teams/italian-teams/agordino-bears.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/agordino-bears.png-3c0065605b54e58bec800adecd1038c4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/agordino-bears.png" +dest_files=[ "res://.import/agordino-bears.png-3c0065605b54e58bec800adecd1038c4.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/game/assets/teams/italian-teams/badboys.png b/game/assets/teams/italian-teams/badboys.png new file mode 100644 index 0000000..9714814 Binary files /dev/null and b/game/assets/teams/italian-teams/badboys.png differ diff --git a/game/assets/teams/italian-teams/badboys.png.import b/game/assets/teams/italian-teams/badboys.png.import new file mode 100644 index 0000000..a13ce26 --- /dev/null +++ b/game/assets/teams/italian-teams/badboys.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/badboys.png-4b8dff145adb60105e1bc6f7df72e22e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/badboys.png" +dest_files=[ "res://.import/badboys.png-4b8dff145adb60105e1bc6f7df72e22e.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=false +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/game/assets/teams/italian-teams/belluno.png b/game/assets/teams/italian-teams/belluno.png new file mode 100644 index 0000000..e93610e Binary files /dev/null and b/game/assets/teams/italian-teams/belluno.png differ diff --git a/game/assets/teams/italian-teams/belluno.png.import b/game/assets/teams/italian-teams/belluno.png.import new file mode 100644 index 0000000..def7364 --- /dev/null +++ b/game/assets/teams/italian-teams/belluno.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/belluno.png-4b1c45ede55fa67318a8e12031b73fc7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/belluno.png" +dest_files=[ "res://.import/belluno.png-4b1c45ede55fa67318a8e12031b73fc7.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=false +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/game/assets/teams/italian-teams/dolomiti-warriors.png b/game/assets/teams/italian-teams/dolomiti-warriors.png new file mode 100644 index 0000000..ae1a263 Binary files /dev/null and b/game/assets/teams/italian-teams/dolomiti-warriors.png differ diff --git a/game/assets/teams/italian-teams/dolomiti-warriors.png.import b/game/assets/teams/italian-teams/dolomiti-warriors.png.import new file mode 100644 index 0000000..8b65554 --- /dev/null +++ b/game/assets/teams/italian-teams/dolomiti-warriors.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/dolomiti-warriors.png-fe3cb3c7e29290afb29bb4204316ed1d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/dolomiti-warriors.png" +dest_files=[ "res://.import/dolomiti-warriors.png-fe3cb3c7e29290afb29bb4204316ed1d.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/game/assets/teams/italian-teams/groeden.png b/game/assets/teams/italian-teams/groeden.png new file mode 100644 index 0000000..42b2b0e Binary files /dev/null and b/game/assets/teams/italian-teams/groeden.png differ diff --git a/game/assets/teams/italian-teams/groeden.png.import b/game/assets/teams/italian-teams/groeden.png.import new file mode 100644 index 0000000..956321e --- /dev/null +++ b/game/assets/teams/italian-teams/groeden.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/groeden.png-a6695a516dc03dd23b5c19477b9df450.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/groeden.png" +dest_files=[ "res://.import/groeden.png-a6695a516dc03dd23b5c19477b9df450.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=false +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/game/assets/teams/italian-teams/leifers.png b/game/assets/teams/italian-teams/leifers.png new file mode 100644 index 0000000..4e580d1 Binary files /dev/null and b/game/assets/teams/italian-teams/leifers.png differ diff --git a/game/assets/teams/italian-teams/leifers.png.import b/game/assets/teams/italian-teams/leifers.png.import new file mode 100644 index 0000000..2ebffeb --- /dev/null +++ b/game/assets/teams/italian-teams/leifers.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/leifers.png-b7417db5488033a97e29f3e503a01675.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/leifers.png" +dest_files=[ "res://.import/leifers.png-b7417db5488033a97e29f3e503a01675.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=false +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/game/assets/teams/italian-teams/neumarkt.png b/game/assets/teams/italian-teams/neumarkt.png new file mode 100644 index 0000000..f6056fd Binary files /dev/null and b/game/assets/teams/italian-teams/neumarkt.png differ diff --git a/game/assets/teams/italian-teams/neumarkt.png.import b/game/assets/teams/italian-teams/neumarkt.png.import new file mode 100644 index 0000000..ba03329 --- /dev/null +++ b/game/assets/teams/italian-teams/neumarkt.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/neumarkt.png-2bda7652a9bc69c835c5ce67e86edec1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/neumarkt.png" +dest_files=[ "res://.import/neumarkt.png-2bda7652a9bc69c835c5ce67e86edec1.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=false +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/game/assets/teams/italian-teams/pochi.png b/game/assets/teams/italian-teams/pochi.png new file mode 100644 index 0000000..f30a87a Binary files /dev/null and b/game/assets/teams/italian-teams/pochi.png differ diff --git a/game/assets/teams/italian-teams/pochi.png.import b/game/assets/teams/italian-teams/pochi.png.import new file mode 100644 index 0000000..86696d7 --- /dev/null +++ b/game/assets/teams/italian-teams/pochi.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/pochi.png-0603ae9a5d767c005f79e1f2baa9238d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/pochi.png" +dest_files=[ "res://.import/pochi.png-0603ae9a5d767c005f79e1f2baa9238d.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=false +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/game/assets/teams/italian-teams/sharks.png b/game/assets/teams/italian-teams/sharks.png new file mode 100644 index 0000000..692d82e Binary files /dev/null and b/game/assets/teams/italian-teams/sharks.png differ diff --git a/game/assets/teams/italian-teams/sharks.png.import b/game/assets/teams/italian-teams/sharks.png.import new file mode 100644 index 0000000..2a71b31 --- /dev/null +++ b/game/assets/teams/italian-teams/sharks.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/sharks.png-e2c7af5a1b67e98ad3107072bf490c82.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/sharks.png" +dest_files=[ "res://.import/sharks.png-e2c7af5a1b67e98ad3107072bf490c82.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=false +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/game/assets/teams/italian-teams/stilfes.png b/game/assets/teams/italian-teams/stilfes.png new file mode 100644 index 0000000..dea0127 Binary files /dev/null and b/game/assets/teams/italian-teams/stilfes.png differ diff --git a/game/assets/teams/italian-teams/stilfes.png.import b/game/assets/teams/italian-teams/stilfes.png.import new file mode 100644 index 0000000..5fcb5aa --- /dev/null +++ b/game/assets/teams/italian-teams/stilfes.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/stilfes.png-34d35a04c987b07df6cae961679e151d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/italian-teams/stilfes.png" +dest_files=[ "res://.import/stilfes.png-34d35a04c987b07df6cae961679e151d.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=false +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/game/assets/teams/maritime-teams/avondale_blackbear.png b/game/assets/teams/maritime-teams/avondale_blackbear.png new file mode 100644 index 0000000..46b8c22 Binary files /dev/null and b/game/assets/teams/maritime-teams/avondale_blackbear.png differ diff --git a/game/assets/teams/maritime-teams/avondale_blackbear.png.import b/game/assets/teams/maritime-teams/avondale_blackbear.png.import new file mode 100644 index 0000000..b0316e9 --- /dev/null +++ b/game/assets/teams/maritime-teams/avondale_blackbear.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/avondale_blackbear.png-e3ee5d1c64911f8c82a1a6a6adb05bfa.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/maritime-teams/avondale_blackbear.png" +dest_files=[ "res://.import/avondale_blackbear.png-e3ee5d1c64911f8c82a1a6a6adb05bfa.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/game/assets/teams/maritime-teams/brooklyn_knights.png b/game/assets/teams/maritime-teams/brooklyn_knights.png new file mode 100644 index 0000000..cd89b89 Binary files /dev/null and b/game/assets/teams/maritime-teams/brooklyn_knights.png differ diff --git a/game/assets/teams/maritime-teams/brooklyn_knights.png.import b/game/assets/teams/maritime-teams/brooklyn_knights.png.import new file mode 100644 index 0000000..283135f --- /dev/null +++ b/game/assets/teams/maritime-teams/brooklyn_knights.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/brooklyn_knights.png-001b49b7ae37c9416b18b0253071fb69.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/maritime-teams/brooklyn_knights.png" +dest_files=[ "res://.import/brooklyn_knights.png-001b49b7ae37c9416b18b0253071fb69.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/game/assets/teams/maritime-teams/hants_bruins.png b/game/assets/teams/maritime-teams/hants_bruins.png new file mode 100644 index 0000000..b042901 Binary files /dev/null and b/game/assets/teams/maritime-teams/hants_bruins.png differ diff --git a/game/assets/teams/maritime-teams/hants_bruins.png.import b/game/assets/teams/maritime-teams/hants_bruins.png.import new file mode 100644 index 0000000..62d0015 --- /dev/null +++ b/game/assets/teams/maritime-teams/hants_bruins.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/hants_bruins.png-19d15197fa6f939f82361fe2478524ce.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/maritime-teams/hants_bruins.png" +dest_files=[ "res://.import/hants_bruins.png-19d15197fa6f939f82361fe2478524ce.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/game/assets/teams/maritime-teams/maritime_lobster_fishermen.png b/game/assets/teams/maritime-teams/maritime_lobster_fishermen.png new file mode 100644 index 0000000..cf498df Binary files /dev/null and b/game/assets/teams/maritime-teams/maritime_lobster_fishermen.png differ diff --git a/game/assets/teams/maritime-teams/maritime_lobster_fishermen.png.import b/game/assets/teams/maritime-teams/maritime_lobster_fishermen.png.import new file mode 100644 index 0000000..c5efebb --- /dev/null +++ b/game/assets/teams/maritime-teams/maritime_lobster_fishermen.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/maritime_lobster_fishermen.png-d14bd2524bd3a2e0cc5de0ff23b0cd35.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/maritime-teams/maritime_lobster_fishermen.png" +dest_files=[ "res://.import/maritime_lobster_fishermen.png-d14bd2524bd3a2e0cc5de0ff23b0cd35.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/game/assets/teams/maritime-teams/most_wanted.png b/game/assets/teams/maritime-teams/most_wanted.png new file mode 100644 index 0000000..4b76e8f Binary files /dev/null and b/game/assets/teams/maritime-teams/most_wanted.png differ diff --git a/game/assets/teams/maritime-teams/most_wanted.png.import b/game/assets/teams/maritime-teams/most_wanted.png.import new file mode 100644 index 0000000..1ff1317 --- /dev/null +++ b/game/assets/teams/maritime-teams/most_wanted.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/most_wanted.png-a37fadf6f1d8b84fe563450afed49ac4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/maritime-teams/most_wanted.png" +dest_files=[ "res://.import/most_wanted.png-a37fadf6f1d8b84fe563450afed49ac4.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/game/assets/teams/maritime-teams/neguac_lumberjacks.png b/game/assets/teams/maritime-teams/neguac_lumberjacks.png new file mode 100644 index 0000000..03fc5ba Binary files /dev/null and b/game/assets/teams/maritime-teams/neguac_lumberjacks.png differ diff --git a/game/assets/teams/maritime-teams/neguac_lumberjacks.png.import b/game/assets/teams/maritime-teams/neguac_lumberjacks.png.import new file mode 100644 index 0000000..0e75b82 --- /dev/null +++ b/game/assets/teams/maritime-teams/neguac_lumberjacks.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/neguac_lumberjacks.png-8b5a5b6f4f79baeaa9340e7031ab92f8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/maritime-teams/neguac_lumberjacks.png" +dest_files=[ "res://.import/neguac_lumberjacks.png-8b5a5b6f4f79baeaa9340e7031ab92f8.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/game/assets/teams/maritime-teams/nor_easters.png b/game/assets/teams/maritime-teams/nor_easters.png new file mode 100644 index 0000000..b283769 Binary files /dev/null and b/game/assets/teams/maritime-teams/nor_easters.png differ diff --git a/game/assets/teams/maritime-teams/nor_easters.png.import b/game/assets/teams/maritime-teams/nor_easters.png.import new file mode 100644 index 0000000..f19bfcd --- /dev/null +++ b/game/assets/teams/maritime-teams/nor_easters.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/nor_easters.png-30d2c2665e18d8a329bc79b45f96c034.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/maritime-teams/nor_easters.png" +dest_files=[ "res://.import/nor_easters.png-30d2c2665e18d8a329bc79b45f96c034.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/game/assets/teams/maritime-teams/tatamagouche_broomball.png b/game/assets/teams/maritime-teams/tatamagouche_broomball.png new file mode 100644 index 0000000..f04f81a Binary files /dev/null and b/game/assets/teams/maritime-teams/tatamagouche_broomball.png differ diff --git a/game/assets/teams/maritime-teams/tatamagouche_broomball.png.import b/game/assets/teams/maritime-teams/tatamagouche_broomball.png.import new file mode 100644 index 0000000..b919b43 --- /dev/null +++ b/game/assets/teams/maritime-teams/tatamagouche_broomball.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/tatamagouche_broomball.png-cf966461ff318d459bc199b272046b52.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/maritime-teams/tatamagouche_broomball.png" +dest_files=[ "res://.import/tatamagouche_broomball.png-cf966461ff318d459bc199b272046b52.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/game/assets/teams/national-teams/australia.png b/game/assets/teams/national-teams/australia.png new file mode 100644 index 0000000..74745a5 Binary files /dev/null and b/game/assets/teams/national-teams/australia.png differ diff --git a/game/assets/teams/national-teams/australia.png.import b/game/assets/teams/national-teams/australia.png.import new file mode 100644 index 0000000..fa4f0b5 --- /dev/null +++ b/game/assets/teams/national-teams/australia.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/australia.png-f772210c60a0016c35975ad889409b56.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/australia.png" +dest_files=[ "res://.import/australia.png-f772210c60a0016c35975ad889409b56.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/game/assets/teams/national-teams/austria.png b/game/assets/teams/national-teams/austria.png new file mode 100644 index 0000000..532a99b Binary files /dev/null and b/game/assets/teams/national-teams/austria.png differ diff --git a/game/assets/teams/national-teams/austria.png.import b/game/assets/teams/national-teams/austria.png.import new file mode 100644 index 0000000..66b9b8f --- /dev/null +++ b/game/assets/teams/national-teams/austria.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/austria.png-74bf0eb1e2916ac23e5f644ffb90a1cc.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/austria.png" +dest_files=[ "res://.import/austria.png-74bf0eb1e2916ac23e5f644ffb90a1cc.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/game/assets/teams/national-teams/canada.png b/game/assets/teams/national-teams/canada.png new file mode 100644 index 0000000..bb8e986 Binary files /dev/null and b/game/assets/teams/national-teams/canada.png differ diff --git a/game/assets/teams/national-teams/canada.png.import b/game/assets/teams/national-teams/canada.png.import new file mode 100644 index 0000000..b4908e4 --- /dev/null +++ b/game/assets/teams/national-teams/canada.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/canada.png-fd9dac0f469049c663fb17f04ee1e37e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/canada.png" +dest_files=[ "res://.import/canada.png-fd9dac0f469049c663fb17f04ee1e37e.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/game/assets/teams/national-teams/france.png b/game/assets/teams/national-teams/france.png new file mode 100644 index 0000000..150c536 Binary files /dev/null and b/game/assets/teams/national-teams/france.png differ diff --git a/game/assets/teams/national-teams/france.png.import b/game/assets/teams/national-teams/france.png.import new file mode 100644 index 0000000..2238cbf --- /dev/null +++ b/game/assets/teams/national-teams/france.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/france.png-3e4724dc68556d1167c6bc05ec000fc5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/france.png" +dest_files=[ "res://.import/france.png-3e4724dc68556d1167c6bc05ec000fc5.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/game/assets/teams/national-teams/germany.png b/game/assets/teams/national-teams/germany.png new file mode 100644 index 0000000..18dd805 Binary files /dev/null and b/game/assets/teams/national-teams/germany.png differ diff --git a/game/assets/teams/national-teams/germany.png.import b/game/assets/teams/national-teams/germany.png.import new file mode 100644 index 0000000..08fcaf8 --- /dev/null +++ b/game/assets/teams/national-teams/germany.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/germany.png-a7219a4f9d7554d9a422626ec51391e3.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/germany.png" +dest_files=[ "res://.import/germany.png-a7219a4f9d7554d9a422626ec51391e3.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/game/assets/teams/national-teams/india.png b/game/assets/teams/national-teams/india.png new file mode 100644 index 0000000..7b259a6 Binary files /dev/null and b/game/assets/teams/national-teams/india.png differ diff --git a/game/assets/teams/national-teams/india.png.import b/game/assets/teams/national-teams/india.png.import new file mode 100644 index 0000000..06538dd --- /dev/null +++ b/game/assets/teams/national-teams/india.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/india.png-cab10c166028658e310146c0574d4130.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/india.png" +dest_files=[ "res://.import/india.png-cab10c166028658e310146c0574d4130.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/game/assets/teams/national-teams/italy.png b/game/assets/teams/national-teams/italy.png new file mode 100644 index 0000000..c1558f3 Binary files /dev/null and b/game/assets/teams/national-teams/italy.png differ diff --git a/game/assets/teams/national-teams/italy.png.import b/game/assets/teams/national-teams/italy.png.import new file mode 100644 index 0000000..92bb9b2 --- /dev/null +++ b/game/assets/teams/national-teams/italy.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/italy.png-70f20500dbcbfa7c5e74d1d06f35ccd2.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/italy.png" +dest_files=[ "res://.import/italy.png-70f20500dbcbfa7c5e74d1d06f35ccd2.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/game/assets/teams/national-teams/japan.png b/game/assets/teams/national-teams/japan.png new file mode 100644 index 0000000..88603e9 Binary files /dev/null and b/game/assets/teams/national-teams/japan.png differ diff --git a/game/assets/teams/national-teams/japan.png.import b/game/assets/teams/national-teams/japan.png.import new file mode 100644 index 0000000..e0240ba --- /dev/null +++ b/game/assets/teams/national-teams/japan.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/japan.png-ed12fd3c17f72e1b949e2097c1cb2e26.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/japan.png" +dest_files=[ "res://.import/japan.png-ed12fd3c17f72e1b949e2097c1cb2e26.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/game/assets/teams/national-teams/russia.png b/game/assets/teams/national-teams/russia.png new file mode 100644 index 0000000..dfcbee2 Binary files /dev/null and b/game/assets/teams/national-teams/russia.png differ diff --git a/game/assets/teams/national-teams/russia.png.import b/game/assets/teams/national-teams/russia.png.import new file mode 100644 index 0000000..c636c5b --- /dev/null +++ b/game/assets/teams/national-teams/russia.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/russia.png-435bef732297de1ceb8a05b9401bd1b4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/russia.png" +dest_files=[ "res://.import/russia.png-435bef732297de1ceb8a05b9401bd1b4.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/game/assets/teams/national-teams/slovenia.png b/game/assets/teams/national-teams/slovenia.png new file mode 100644 index 0000000..02391d5 Binary files /dev/null and b/game/assets/teams/national-teams/slovenia.png differ diff --git a/game/assets/teams/national-teams/slovenia.png.import b/game/assets/teams/national-teams/slovenia.png.import new file mode 100644 index 0000000..138da46 --- /dev/null +++ b/game/assets/teams/national-teams/slovenia.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/slovenia.png-ed44b1fa84d286e33429a3d448083095.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/slovenia.png" +dest_files=[ "res://.import/slovenia.png-ed44b1fa84d286e33429a3d448083095.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/game/assets/teams/national-teams/switzerland.png b/game/assets/teams/national-teams/switzerland.png new file mode 100644 index 0000000..dc227e2 Binary files /dev/null and b/game/assets/teams/national-teams/switzerland.png differ diff --git a/game/assets/teams/national-teams/switzerland.png.import b/game/assets/teams/national-teams/switzerland.png.import new file mode 100644 index 0000000..9ce1413 --- /dev/null +++ b/game/assets/teams/national-teams/switzerland.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/switzerland.png-55a16bff2f92c9c6c938e5124c1e9d96.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/switzerland.png" +dest_files=[ "res://.import/switzerland.png-55a16bff2f92c9c6c938e5124c1e9d96.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/game/assets/teams/national-teams/usa.png b/game/assets/teams/national-teams/usa.png new file mode 100644 index 0000000..9af1927 Binary files /dev/null and b/game/assets/teams/national-teams/usa.png differ diff --git a/game/assets/teams/national-teams/usa.png.import b/game/assets/teams/national-teams/usa.png.import new file mode 100644 index 0000000..9540899 --- /dev/null +++ b/game/assets/teams/national-teams/usa.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/usa.png-eb9391ab0172d202c294bfe70940c590.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/national-teams/usa.png" +dest_files=[ "res://.import/usa.png-eb9391ab0172d202c294bfe70940c590.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/game/assets/teams/north-american-league/boston.png b/game/assets/teams/north-american-league/boston.png new file mode 100644 index 0000000..4975bde Binary files /dev/null and b/game/assets/teams/north-american-league/boston.png differ diff --git a/game/assets/teams/north-american-league/boston.png.import b/game/assets/teams/north-american-league/boston.png.import new file mode 100644 index 0000000..1a70540 --- /dev/null +++ b/game/assets/teams/north-american-league/boston.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/boston.png-3557b049ad043853ae7669fb083538ef.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/boston.png" +dest_files=[ "res://.import/boston.png-3557b049ad043853ae7669fb083538ef.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/game/assets/teams/north-american-league/broom-shack.png b/game/assets/teams/north-american-league/broom-shack.png new file mode 100644 index 0000000..d2ccf44 Binary files /dev/null and b/game/assets/teams/north-american-league/broom-shack.png differ diff --git a/game/assets/teams/north-american-league/broom-shack.png.import b/game/assets/teams/north-american-league/broom-shack.png.import new file mode 100644 index 0000000..cfc611d --- /dev/null +++ b/game/assets/teams/north-american-league/broom-shack.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/broom-shack.png-a595e53f066e556d2959c619835be58c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/broom-shack.png" +dest_files=[ "res://.import/broom-shack.png-a595e53f066e556d2959c619835be58c.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/game/assets/teams/north-american-league/capitol.png b/game/assets/teams/north-american-league/capitol.png new file mode 100644 index 0000000..c7d4e81 Binary files /dev/null and b/game/assets/teams/north-american-league/capitol.png differ diff --git a/game/assets/teams/north-american-league/capitol.png.import b/game/assets/teams/north-american-league/capitol.png.import new file mode 100644 index 0000000..2d7fbfc --- /dev/null +++ b/game/assets/teams/north-american-league/capitol.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/capitol.png-faa51ba25867a1f31a860c08187470e6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/capitol.png" +dest_files=[ "res://.import/capitol.png-faa51ba25867a1f31a860c08187470e6.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/game/assets/teams/north-american-league/charmcity.png b/game/assets/teams/north-american-league/charmcity.png new file mode 100644 index 0000000..2c4966e Binary files /dev/null and b/game/assets/teams/north-american-league/charmcity.png differ diff --git a/game/assets/teams/north-american-league/charmcity.png.import b/game/assets/teams/north-american-league/charmcity.png.import new file mode 100644 index 0000000..6fa9f9b --- /dev/null +++ b/game/assets/teams/north-american-league/charmcity.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/charmcity.png-38c8b37328788c4519ae515a46a08c89.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/charmcity.png" +dest_files=[ "res://.import/charmcity.png-38c8b37328788c4519ae515a46a08c89.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/game/assets/teams/north-american-league/cleveland.png b/game/assets/teams/north-american-league/cleveland.png new file mode 100644 index 0000000..3556f98 Binary files /dev/null and b/game/assets/teams/north-american-league/cleveland.png differ diff --git a/game/assets/teams/north-american-league/cleveland.png.import b/game/assets/teams/north-american-league/cleveland.png.import new file mode 100644 index 0000000..1130015 --- /dev/null +++ b/game/assets/teams/north-american-league/cleveland.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/cleveland.png-13541ad31e7c6ce830097bc4e7570321.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/cleveland.png" +dest_files=[ "res://.import/cleveland.png-13541ad31e7c6ce830097bc4e7570321.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/game/assets/teams/north-american-league/juvenile-boys-quebec.png b/game/assets/teams/north-american-league/juvenile-boys-quebec.png new file mode 100644 index 0000000..70923f0 Binary files /dev/null and b/game/assets/teams/north-american-league/juvenile-boys-quebec.png differ diff --git a/game/assets/teams/north-american-league/juvenile-boys-quebec.png.import b/game/assets/teams/north-american-league/juvenile-boys-quebec.png.import new file mode 100644 index 0000000..32c8d85 --- /dev/null +++ b/game/assets/teams/north-american-league/juvenile-boys-quebec.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/juvenile-boys-quebec.png-2770936613b9b4dbedbd9a56400061c8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/juvenile-boys-quebec.png" +dest_files=[ "res://.import/juvenile-boys-quebec.png-2770936613b9b4dbedbd9a56400061c8.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/game/assets/teams/north-american-league/juvenile-girls-quebec.png b/game/assets/teams/north-american-league/juvenile-girls-quebec.png new file mode 100644 index 0000000..a56b2bb Binary files /dev/null and b/game/assets/teams/north-american-league/juvenile-girls-quebec.png differ diff --git a/game/assets/teams/north-american-league/juvenile-girls-quebec.png.import b/game/assets/teams/north-american-league/juvenile-girls-quebec.png.import new file mode 100644 index 0000000..1060e09 --- /dev/null +++ b/game/assets/teams/north-american-league/juvenile-girls-quebec.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/juvenile-girls-quebec.png-f28b8cc7a7cc49d1f6afa7fbbe673f65.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/juvenile-girls-quebec.png" +dest_files=[ "res://.import/juvenile-girls-quebec.png-f28b8cc7a7cc49d1f6afa7fbbe673f65.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/game/assets/teams/north-american-league/kellylake.png b/game/assets/teams/north-american-league/kellylake.png new file mode 100644 index 0000000..e2152c6 Binary files /dev/null and b/game/assets/teams/north-american-league/kellylake.png differ diff --git a/game/assets/teams/north-american-league/kellylake.png.import b/game/assets/teams/north-american-league/kellylake.png.import new file mode 100644 index 0000000..12bbb26 --- /dev/null +++ b/game/assets/teams/north-american-league/kellylake.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/kellylake.png-a6d7615c16e368d7927c9ea69fc01fbd.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/kellylake.png" +dest_files=[ "res://.import/kellylake.png-a6d7615c16e368d7927c9ea69fc01fbd.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/game/assets/teams/north-american-league/minesota.png b/game/assets/teams/north-american-league/minesota.png new file mode 100644 index 0000000..06a94b9 Binary files /dev/null and b/game/assets/teams/north-american-league/minesota.png differ diff --git a/game/assets/teams/north-american-league/minesota.png.import b/game/assets/teams/north-american-league/minesota.png.import new file mode 100644 index 0000000..19085f6 --- /dev/null +++ b/game/assets/teams/north-american-league/minesota.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/minesota.png-95482199c551b88b8af0edc31ebd0d28.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/minesota.png" +dest_files=[ "res://.import/minesota.png-95482199c551b88b8af0edc31ebd0d28.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/game/assets/teams/north-american-league/ottawa.png b/game/assets/teams/north-american-league/ottawa.png new file mode 100644 index 0000000..f734a59 Binary files /dev/null and b/game/assets/teams/north-american-league/ottawa.png differ diff --git a/game/assets/teams/north-american-league/ottawa.png.import b/game/assets/teams/north-american-league/ottawa.png.import new file mode 100644 index 0000000..7369f08 --- /dev/null +++ b/game/assets/teams/north-american-league/ottawa.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ottawa.png-6bf3a0cb0d034c03d64bbf103479c302.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/ottawa.png" +dest_files=[ "res://.import/ottawa.png-6bf3a0cb0d034c03d64bbf103479c302.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/game/assets/teams/north-american-league/regulators.png b/game/assets/teams/north-american-league/regulators.png new file mode 100644 index 0000000..5e69bca Binary files /dev/null and b/game/assets/teams/north-american-league/regulators.png differ diff --git a/game/assets/teams/north-american-league/regulators.png.import b/game/assets/teams/north-american-league/regulators.png.import new file mode 100644 index 0000000..afee1d5 --- /dev/null +++ b/game/assets/teams/north-american-league/regulators.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/regulators.png-f7b900b70558b4b905088ed491f60d69.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/regulators.png" +dest_files=[ "res://.import/regulators.png-f7b900b70558b4b905088ed491f60d69.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/game/assets/teams/north-american-league/roadrunners.png b/game/assets/teams/north-american-league/roadrunners.png new file mode 100644 index 0000000..8b7e328 Binary files /dev/null and b/game/assets/teams/north-american-league/roadrunners.png differ diff --git a/game/assets/teams/north-american-league/roadrunners.png.import b/game/assets/teams/north-american-league/roadrunners.png.import new file mode 100644 index 0000000..c3d0c65 --- /dev/null +++ b/game/assets/teams/north-american-league/roadrunners.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/roadrunners.png-6a0cdcd241a366d4f68e28ef6cdc3a89.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/roadrunners.png" +dest_files=[ "res://.import/roadrunners.png-6a0cdcd241a366d4f68e28ef6cdc3a89.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/game/assets/teams/north-american-league/senior-women-quebec.png b/game/assets/teams/north-american-league/senior-women-quebec.png new file mode 100644 index 0000000..e089750 Binary files /dev/null and b/game/assets/teams/north-american-league/senior-women-quebec.png differ diff --git a/game/assets/teams/north-american-league/senior-women-quebec.png.import b/game/assets/teams/north-american-league/senior-women-quebec.png.import new file mode 100644 index 0000000..9762f46 --- /dev/null +++ b/game/assets/teams/north-american-league/senior-women-quebec.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/senior-women-quebec.png-de2fd82c440a36a24fa70da00473dbb2.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/senior-women-quebec.png" +dest_files=[ "res://.import/senior-women-quebec.png-de2fd82c440a36a24fa70da00473dbb2.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/game/assets/teams/north-american-league/steeld.png b/game/assets/teams/north-american-league/steeld.png new file mode 100644 index 0000000..2cd4c81 Binary files /dev/null and b/game/assets/teams/north-american-league/steeld.png differ diff --git a/game/assets/teams/north-american-league/steeld.png.import b/game/assets/teams/north-american-league/steeld.png.import new file mode 100644 index 0000000..974c73d --- /dev/null +++ b/game/assets/teams/north-american-league/steeld.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/steeld.png-74d0006873f70977af6ec1bad77dc892.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/steeld.png" +dest_files=[ "res://.import/steeld.png-74d0006873f70977af6ec1bad77dc892.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/game/assets/teams/north-american-league/top-shelf.png b/game/assets/teams/north-american-league/top-shelf.png new file mode 100644 index 0000000..dfbb394 Binary files /dev/null and b/game/assets/teams/north-american-league/top-shelf.png differ diff --git a/game/assets/teams/north-american-league/top-shelf.png.import b/game/assets/teams/north-american-league/top-shelf.png.import new file mode 100644 index 0000000..b1750b5 --- /dev/null +++ b/game/assets/teams/north-american-league/top-shelf.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/top-shelf.png-be4593d849379f2a68c495ca57134167.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/top-shelf.png" +dest_files=[ "res://.import/top-shelf.png-be4593d849379f2a68c495ca57134167.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/game/assets/teams/north-american-league/wizards.png b/game/assets/teams/north-american-league/wizards.png new file mode 100644 index 0000000..8a06e5f Binary files /dev/null and b/game/assets/teams/north-american-league/wizards.png differ diff --git a/game/assets/teams/north-american-league/wizards.png.import b/game/assets/teams/north-american-league/wizards.png.import new file mode 100644 index 0000000..730b045 --- /dev/null +++ b/game/assets/teams/north-american-league/wizards.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/wizards.png-546cfc114c966a8189bbf821c694e3c9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/north-american-league/wizards.png" +dest_files=[ "res://.import/wizards.png-546cfc114c966a8189bbf821c694e3c9.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/game/assets/teams/ontario-league/devils.png b/game/assets/teams/ontario-league/devils.png new file mode 100644 index 0000000..81f2841 Binary files /dev/null and b/game/assets/teams/ontario-league/devils.png differ diff --git a/game/assets/teams/ontario-league/devils.png.import b/game/assets/teams/ontario-league/devils.png.import new file mode 100644 index 0000000..e45b64d --- /dev/null +++ b/game/assets/teams/ontario-league/devils.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/devils.png-8dbdfc890b713a9533d73a36457ba1ba.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/ontario-league/devils.png" +dest_files=[ "res://.import/devils.png-8dbdfc890b713a9533d73a36457ba1ba.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/game/assets/teams/ontario-league/gamblers.png b/game/assets/teams/ontario-league/gamblers.png new file mode 100644 index 0000000..3835e2c Binary files /dev/null and b/game/assets/teams/ontario-league/gamblers.png differ diff --git a/game/assets/teams/ontario-league/gamblers.png.import b/game/assets/teams/ontario-league/gamblers.png.import new file mode 100644 index 0000000..35fda21 --- /dev/null +++ b/game/assets/teams/ontario-league/gamblers.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/gamblers.png-de2df577ea91740756fbab25bdf0b3c5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/ontario-league/gamblers.png" +dest_files=[ "res://.import/gamblers.png-de2df577ea91740756fbab25bdf0b3c5.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/game/assets/teams/ontario-league/lesboys.png b/game/assets/teams/ontario-league/lesboys.png new file mode 100644 index 0000000..1ebc3b3 Binary files /dev/null and b/game/assets/teams/ontario-league/lesboys.png differ diff --git a/game/assets/teams/ontario-league/lesboys.png.import b/game/assets/teams/ontario-league/lesboys.png.import new file mode 100644 index 0000000..2d6851a --- /dev/null +++ b/game/assets/teams/ontario-league/lesboys.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/lesboys.png-a06ce87e541bf3bb60ec953446d92dc6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/ontario-league/lesboys.png" +dest_files=[ "res://.import/lesboys.png-a06ce87e541bf3bb60ec953446d92dc6.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/game/assets/teams/ontario-league/sting.png b/game/assets/teams/ontario-league/sting.png new file mode 100644 index 0000000..f620e9f Binary files /dev/null and b/game/assets/teams/ontario-league/sting.png differ diff --git a/game/assets/teams/ontario-league/sting.png.import b/game/assets/teams/ontario-league/sting.png.import new file mode 100644 index 0000000..2d3a913 --- /dev/null +++ b/game/assets/teams/ontario-league/sting.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/sting.png-493ff0b8cca9dc15512e380d14f810b3.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/ontario-league/sting.png" +dest_files=[ "res://.import/sting.png-493ff0b8cca9dc15512e380d14f810b3.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/game/assets/teams/ontario-league/thunder.png b/game/assets/teams/ontario-league/thunder.png new file mode 100644 index 0000000..d3e51ef Binary files /dev/null and b/game/assets/teams/ontario-league/thunder.png differ diff --git a/game/assets/teams/ontario-league/thunder.png.import b/game/assets/teams/ontario-league/thunder.png.import new file mode 100644 index 0000000..1d7aef1 --- /dev/null +++ b/game/assets/teams/ontario-league/thunder.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/thunder.png-ba20afee787a44fa8da28aa3774f07de.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/ontario-league/thunder.png" +dest_files=[ "res://.import/thunder.png-ba20afee787a44fa8da28aa3774f07de.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/game/assets/teams/ontario-league/warriors.png b/game/assets/teams/ontario-league/warriors.png new file mode 100644 index 0000000..adb0a22 Binary files /dev/null and b/game/assets/teams/ontario-league/warriors.png differ diff --git a/game/assets/teams/ontario-league/warriors.png.import b/game/assets/teams/ontario-league/warriors.png.import new file mode 100644 index 0000000..1dc10c7 --- /dev/null +++ b/game/assets/teams/ontario-league/warriors.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/warriors.png-8f9192a23ebead1e5f9fdb4af08f31a7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/ontario-league/warriors.png" +dest_files=[ "res://.import/warriors.png-8f9192a23ebead1e5f9fdb4af08f31a7.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/game/assets/teams/swiss-teams/bcv.png b/game/assets/teams/swiss-teams/bcv.png new file mode 100644 index 0000000..04ded0e Binary files /dev/null and b/game/assets/teams/swiss-teams/bcv.png differ diff --git a/game/assets/teams/swiss-teams/bcv.png.import b/game/assets/teams/swiss-teams/bcv.png.import new file mode 100644 index 0000000..db3ad54 --- /dev/null +++ b/game/assets/teams/swiss-teams/bcv.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/bcv.png-abbf13a20f648f02d78a071cc7d0454c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/bcv.png" +dest_files=[ "res://.import/bcv.png-abbf13a20f648f02d78a071cc7d0454c.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/game/assets/teams/swiss-teams/bills.png b/game/assets/teams/swiss-teams/bills.png new file mode 100644 index 0000000..f495fe4 Binary files /dev/null and b/game/assets/teams/swiss-teams/bills.png differ diff --git a/game/assets/teams/swiss-teams/bills.png.import b/game/assets/teams/swiss-teams/bills.png.import new file mode 100644 index 0000000..757f474 --- /dev/null +++ b/game/assets/teams/swiss-teams/bills.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/bills.png-cec6511cf08494bc61328de62f16001b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/bills.png" +dest_files=[ "res://.import/bills.png-cec6511cf08494bc61328de62f16001b.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/game/assets/teams/swiss-teams/blackhawks.png b/game/assets/teams/swiss-teams/blackhawks.png new file mode 100644 index 0000000..cdbb6f2 Binary files /dev/null and b/game/assets/teams/swiss-teams/blackhawks.png differ diff --git a/game/assets/teams/swiss-teams/blackhawks.png.import b/game/assets/teams/swiss-teams/blackhawks.png.import new file mode 100644 index 0000000..2793ec1 --- /dev/null +++ b/game/assets/teams/swiss-teams/blackhawks.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/blackhawks.png-47dbb6165ee4c7a315a1a870cc2274aa.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/blackhawks.png" +dest_files=[ "res://.import/blackhawks.png-47dbb6165ee4c7a315a1a870cc2274aa.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/game/assets/teams/swiss-teams/greenfoxes.png b/game/assets/teams/swiss-teams/greenfoxes.png new file mode 100644 index 0000000..58f5530 Binary files /dev/null and b/game/assets/teams/swiss-teams/greenfoxes.png differ diff --git a/game/assets/teams/swiss-teams/greenfoxes.png.import b/game/assets/teams/swiss-teams/greenfoxes.png.import new file mode 100644 index 0000000..df3295e --- /dev/null +++ b/game/assets/teams/swiss-teams/greenfoxes.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/greenfoxes.png-40c27b28774bfd51af041c4b892ccd0f.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/greenfoxes.png" +dest_files=[ "res://.import/greenfoxes.png-40c27b28774bfd51af041c4b892ccd0f.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/game/assets/teams/swiss-teams/jeunsteam.png b/game/assets/teams/swiss-teams/jeunsteam.png new file mode 100644 index 0000000..bbd2e03 Binary files /dev/null and b/game/assets/teams/swiss-teams/jeunsteam.png differ diff --git a/game/assets/teams/swiss-teams/jeunsteam.png.import b/game/assets/teams/swiss-teams/jeunsteam.png.import new file mode 100644 index 0000000..2e11de1 --- /dev/null +++ b/game/assets/teams/swiss-teams/jeunsteam.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/jeunsteam.png-fb3e40418dfa721928cf098fba484462.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/jeunsteam.png" +dest_files=[ "res://.import/jeunsteam.png-fb3e40418dfa721928cf098fba484462.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/game/assets/teams/swiss-teams/lusanne.png b/game/assets/teams/swiss-teams/lusanne.png new file mode 100644 index 0000000..555f79d Binary files /dev/null and b/game/assets/teams/swiss-teams/lusanne.png differ diff --git a/game/assets/teams/swiss-teams/lusanne.png.import b/game/assets/teams/swiss-teams/lusanne.png.import new file mode 100644 index 0000000..9009f90 --- /dev/null +++ b/game/assets/teams/swiss-teams/lusanne.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/lusanne.png-8c4b95845fb304ace61e61580574aa19.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/lusanne.png" +dest_files=[ "res://.import/lusanne.png-8c4b95845fb304ace61e61580574aa19.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/game/assets/teams/swiss-teams/rangers.png b/game/assets/teams/swiss-teams/rangers.png new file mode 100644 index 0000000..26fa47b Binary files /dev/null and b/game/assets/teams/swiss-teams/rangers.png differ diff --git a/game/assets/teams/swiss-teams/rangers.png.import b/game/assets/teams/swiss-teams/rangers.png.import new file mode 100644 index 0000000..ae09aca --- /dev/null +++ b/game/assets/teams/swiss-teams/rangers.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/rangers.png-a811eb22797afaf994cd4733ab44a6ce.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/rangers.png" +dest_files=[ "res://.import/rangers.png-a811eb22797afaf994cd4733ab44a6ce.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/game/assets/teams/swiss-teams/savigny.png b/game/assets/teams/swiss-teams/savigny.png new file mode 100644 index 0000000..2f29724 Binary files /dev/null and b/game/assets/teams/swiss-teams/savigny.png differ diff --git a/game/assets/teams/swiss-teams/savigny.png.import b/game/assets/teams/swiss-teams/savigny.png.import new file mode 100644 index 0000000..131a04b --- /dev/null +++ b/game/assets/teams/swiss-teams/savigny.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/savigny.png-30ecec3e14e5600184a3d4af8ef23be9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/savigny.png" +dest_files=[ "res://.import/savigny.png-30ecec3e14e5600184a3d4af8ef23be9.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/game/assets/teams/swiss-teams/spartak.png b/game/assets/teams/swiss-teams/spartak.png new file mode 100644 index 0000000..0a85df3 Binary files /dev/null and b/game/assets/teams/swiss-teams/spartak.png differ diff --git a/game/assets/teams/swiss-teams/spartak.png.import b/game/assets/teams/swiss-teams/spartak.png.import new file mode 100644 index 0000000..1068b4a --- /dev/null +++ b/game/assets/teams/swiss-teams/spartak.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/spartak.png-c5bfe5a423286098b4c68e1a384acf31.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/spartak.png" +dest_files=[ "res://.import/spartak.png-c5bfe5a423286098b4c68e1a384acf31.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/game/assets/teams/swiss-teams/stags.png b/game/assets/teams/swiss-teams/stags.png new file mode 100644 index 0000000..29bfb04 Binary files /dev/null and b/game/assets/teams/swiss-teams/stags.png differ diff --git a/game/assets/teams/swiss-teams/stags.png.import b/game/assets/teams/swiss-teams/stags.png.import new file mode 100644 index 0000000..0d91f43 --- /dev/null +++ b/game/assets/teams/swiss-teams/stags.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/stags.png-5f0a92aacccceff690736eae251f34ed.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/stags.png" +dest_files=[ "res://.import/stags.png-5f0a92aacccceff690736eae251f34ed.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/game/assets/teams/swiss-teams/union.png b/game/assets/teams/swiss-teams/union.png new file mode 100644 index 0000000..75e9219 Binary files /dev/null and b/game/assets/teams/swiss-teams/union.png differ diff --git a/game/assets/teams/swiss-teams/union.png.import b/game/assets/teams/swiss-teams/union.png.import new file mode 100644 index 0000000..6008256 --- /dev/null +++ b/game/assets/teams/swiss-teams/union.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/union.png-ea7e3daa80b287ab5d7653ac02c0aea8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/swiss-teams/union.png" +dest_files=[ "res://.import/union.png-ea7e3daa80b287ab5d7653ac02c0aea8.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/game/assets/teams/women-league/bc-rotalnord.png b/game/assets/teams/women-league/bc-rotalnord.png new file mode 100644 index 0000000..8a50f67 Binary files /dev/null and b/game/assets/teams/women-league/bc-rotalnord.png differ diff --git a/game/assets/teams/women-league/bc-rotalnord.png.import b/game/assets/teams/women-league/bc-rotalnord.png.import new file mode 100644 index 0000000..142416e --- /dev/null +++ b/game/assets/teams/women-league/bc-rotalnord.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/bc-rotalnord.png-9d75395ca7c2c5ee2635b11ed48e438d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/bc-rotalnord.png" +dest_files=[ "res://.import/bc-rotalnord.png-9d75395ca7c2c5ee2635b11ed48e438d.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/game/assets/teams/women-league/equipe.png b/game/assets/teams/women-league/equipe.png new file mode 100644 index 0000000..ada547f Binary files /dev/null and b/game/assets/teams/women-league/equipe.png differ diff --git a/game/assets/teams/women-league/equipe.png.import b/game/assets/teams/women-league/equipe.png.import new file mode 100644 index 0000000..4b7cc07 --- /dev/null +++ b/game/assets/teams/women-league/equipe.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/equipe.png-db276d00b224ead5f657216f423142f6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/equipe.png" +dest_files=[ "res://.import/equipe.png-db276d00b224ead5f657216f423142f6.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/game/assets/teams/women-league/fahrenheit.png b/game/assets/teams/women-league/fahrenheit.png new file mode 100644 index 0000000..04373d3 Binary files /dev/null and b/game/assets/teams/women-league/fahrenheit.png differ diff --git a/game/assets/teams/women-league/fahrenheit.png.import b/game/assets/teams/women-league/fahrenheit.png.import new file mode 100644 index 0000000..fd44226 --- /dev/null +++ b/game/assets/teams/women-league/fahrenheit.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/fahrenheit.png-66ae6def30edc8002424a0db9acd8a5b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/fahrenheit.png" +dest_files=[ "res://.import/fahrenheit.png-66ae6def30edc8002424a0db9acd8a5b.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/game/assets/teams/women-league/jacks.png b/game/assets/teams/women-league/jacks.png new file mode 100644 index 0000000..fbd1750 Binary files /dev/null and b/game/assets/teams/women-league/jacks.png differ diff --git a/game/assets/teams/women-league/jacks.png.import b/game/assets/teams/women-league/jacks.png.import new file mode 100644 index 0000000..833bda0 --- /dev/null +++ b/game/assets/teams/women-league/jacks.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/jacks.png-7855eb726997e3900d62552f8d8df666.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/jacks.png" +dest_files=[ "res://.import/jacks.png-7855eb726997e3900d62552f8d8df666.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/game/assets/teams/women-league/merano.png b/game/assets/teams/women-league/merano.png new file mode 100644 index 0000000..3ce2696 Binary files /dev/null and b/game/assets/teams/women-league/merano.png differ diff --git a/game/assets/teams/women-league/merano.png.import b/game/assets/teams/women-league/merano.png.import new file mode 100644 index 0000000..caf325d --- /dev/null +++ b/game/assets/teams/women-league/merano.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/merano.png-a65219815c16a43a16a0673f508b5a69.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/merano.png" +dest_files=[ "res://.import/merano.png-a65219815c16a43a16a0673f508b5a69.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/game/assets/teams/women-league/pergine.png b/game/assets/teams/women-league/pergine.png new file mode 100644 index 0000000..d3f631f Binary files /dev/null and b/game/assets/teams/women-league/pergine.png differ diff --git a/game/assets/teams/women-league/pergine.png.import b/game/assets/teams/women-league/pergine.png.import new file mode 100644 index 0000000..aa79f68 --- /dev/null +++ b/game/assets/teams/women-league/pergine.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/pergine.png-8d5d2be95cf5945b2dc3a34e2cd7c686.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/pergine.png" +dest_files=[ "res://.import/pergine.png-8d5d2be95cf5945b2dc3a34e2cd7c686.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/game/assets/teams/women-league/pittsburgh.png b/game/assets/teams/women-league/pittsburgh.png new file mode 100644 index 0000000..980f94a Binary files /dev/null and b/game/assets/teams/women-league/pittsburgh.png differ diff --git a/game/assets/teams/women-league/pittsburgh.png.import b/game/assets/teams/women-league/pittsburgh.png.import new file mode 100644 index 0000000..1a25e89 --- /dev/null +++ b/game/assets/teams/women-league/pittsburgh.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/pittsburgh.png-0826753201e515c2c6a847315db5919b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/pittsburgh.png" +dest_files=[ "res://.import/pittsburgh.png-0826753201e515c2c6a847315db5919b.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/game/assets/teams/women-league/tracys.png b/game/assets/teams/women-league/tracys.png new file mode 100644 index 0000000..a4fb11b Binary files /dev/null and b/game/assets/teams/women-league/tracys.png differ diff --git a/game/assets/teams/women-league/tracys.png.import b/game/assets/teams/women-league/tracys.png.import new file mode 100644 index 0000000..c562599 --- /dev/null +++ b/game/assets/teams/women-league/tracys.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/tracys.png-2e0a07ee36ce73a139153236857e5f20.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/tracys.png" +dest_files=[ "res://.import/tracys.png-2e0a07ee36ce73a139153236857e5f20.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/game/assets/teams/women-league/white-owl.png b/game/assets/teams/women-league/white-owl.png new file mode 100644 index 0000000..e6a503d Binary files /dev/null and b/game/assets/teams/women-league/white-owl.png differ diff --git a/game/assets/teams/women-league/white-owl.png.import b/game/assets/teams/women-league/white-owl.png.import new file mode 100644 index 0000000..b93c48a --- /dev/null +++ b/game/assets/teams/women-league/white-owl.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/white-owl.png-32b94aaecd68aac8325c59f0714e7873.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/white-owl.png" +dest_files=[ "res://.import/white-owl.png-32b94aaecd68aac8325c59f0714e7873.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/game/assets/teams/women-league/white-wolves.png b/game/assets/teams/women-league/white-wolves.png new file mode 100644 index 0000000..a592dcf Binary files /dev/null and b/game/assets/teams/women-league/white-wolves.png differ diff --git a/game/assets/teams/women-league/white-wolves.png.import b/game/assets/teams/women-league/white-wolves.png.import new file mode 100644 index 0000000..f986b4b --- /dev/null +++ b/game/assets/teams/women-league/white-wolves.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/white-wolves.png-4cf9e32557f2d2416332591c9ab87f65.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/teams/women-league/white-wolves.png" +dest_files=[ "res://.import/white-wolves.png-4cf9e32557f2d2416332591c9ab87f65.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/game/assets/theme/airbroomball_theme.tres b/game/assets/theme/airbroomball_theme.tres new file mode 100644 index 0000000..50b4a20 --- /dev/null +++ b/game/assets/theme/airbroomball_theme.tres @@ -0,0 +1,62 @@ +[gd_resource type="Theme" load_steps=8 format=2] + +[ext_resource path="res://assets/theme/button_style.tres" type="StyleBox" id=1] +[ext_resource path="res://assets/theme/button_pressed_style.tres" type="StyleBox" id=2] +[ext_resource path="res://assets/font/Carlito-Regular.ttf" type="DynamicFontData" id=3] + +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 0, 0, 0, 1 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxFlat" id=2] +bg_color = Color( 0.0630798, 0.0686588, 0.152344, 1 ) + +[sub_resource type="StyleBoxFlat" id=3] +bg_color = Color( 0.0117647, 0.662745, 0.956863, 1 ) + +[sub_resource type="DynamicFont" id=4] +size = 84 +outline_size = 2 +outline_color = Color( 0, 0, 0, 1 ) +use_mipmaps = true +use_filter = true +font_data = ExtResource( 3 ) + +[resource] +default_font = SubResource( 4 ) +Button/colors/font_color = Color( 0.996078, 0.960784, 0.960784, 1 ) +Button/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 ) +Button/colors/font_color_hover = Color( 0.94, 0.94, 0.94, 1 ) +Button/colors/font_color_pressed = Color( 1, 1, 1, 1 ) +Button/constants/hseparation = 0 +Button/fonts/font = null +Button/styles/disabled = ExtResource( 1 ) +Button/styles/focus = ExtResource( 1 ) +Button/styles/hover = ExtResource( 1 ) +Button/styles/normal = ExtResource( 1 ) +Button/styles/pressed = ExtResource( 2 ) +Label/colors/font_color = Color( 0.933333, 0.933333, 0.933333, 1 ) +Label/colors/font_color_shadow = Color( 0, 0, 0, 0 ) +Label/colors/font_outline_modulate = Color( 1, 1, 1, 1 ) +Label/constants/line_spacing = 3 +Label/constants/shadow_as_outline = 0 +Label/constants/shadow_offset_x = 1 +Label/constants/shadow_offset_y = 1 +Label/fonts/font = null +Label/styles/normal = null +LinkButton/colors/font_color = Color( 0, 0, 0, 1 ) +LinkButton/constants/underline_spacing = 7 +MarginContainer/constants/margin_bottom = 0 +MarginContainer/constants/margin_left = 0 +MarginContainer/constants/margin_right = 0 +MarginContainer/constants/margin_top = 0 +Panel/styles/panel = SubResource( 1 ) +ProgressBar/colors/font_color = Color( 0.94, 0.94, 0.94, 1 ) +ProgressBar/colors/font_color_shadow = Color( 0, 0, 0, 1 ) +ProgressBar/fonts/font = null +ProgressBar/styles/bg = SubResource( 2 ) +ProgressBar/styles/fg = SubResource( 3 ) +VBoxContainer/constants/separation = 10 diff --git a/game/assets/theme/button_pressed_style.tres b/game/assets/theme/button_pressed_style.tres new file mode 100644 index 0000000..8743fd8 --- /dev/null +++ b/game/assets/theme/button_pressed_style.tres @@ -0,0 +1,8 @@ +[gd_resource type="StyleBoxFlat" format=2] + +[resource] +bg_color = Color( 0, 0, 0, 1 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 diff --git a/game/assets/theme/button_style.tres b/game/assets/theme/button_style.tres new file mode 100644 index 0000000..642e2a2 --- /dev/null +++ b/game/assets/theme/button_style.tres @@ -0,0 +1,16 @@ +[gd_resource type="StyleBoxFlat" format=2] + +[resource] +content_margin_bottom = 10.0 +bg_color = Color( 0.137255, 0.658824, 0.756863, 1 ) +border_width_left = 5 +border_width_top = 5 +border_width_right = 5 +border_width_bottom = 5 +border_color = Color( 0.0532379, 0.486442, 0.567871, 1 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 +shadow_color = Color( 0.0705882, 0.027451, 0.027451, 0.721569 ) +shadow_offset = Vector2( 0, 6 ) diff --git a/game/assets/video.png b/game/assets/video.png new file mode 100644 index 0000000..fa5081b Binary files /dev/null and b/game/assets/video.png differ diff --git a/game/assets/video.png.import b/game/assets/video.png.import new file mode 100644 index 0000000..fde0dfa --- /dev/null +++ b/game/assets/video.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/video.png-7524bcc11fd01495cfa0f473634447a1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/video.png" +dest_files=[ "res://.import/video.png-7524bcc11fd01495cfa0f473634447a1.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/default_bus_layout.tres b/game/default_bus_layout.tres new file mode 100644 index 0000000..682ef52 --- /dev/null +++ b/game/default_bus_layout.tres @@ -0,0 +1,15 @@ +[gd_resource type="AudioBusLayout" format=2] + +[resource] +bus/1/name = "Sfx" +bus/1/solo = false +bus/1/mute = false +bus/1/bypass_fx = false +bus/1/volume_db = 0.0 +bus/1/send = "Master" +bus/2/name = "Music" +bus/2/solo = false +bus/2/mute = false +bus/2/bypass_fx = false +bus/2/volume_db = 0.0 +bus/2/send = "Master" diff --git a/game/icon.png b/game/icon.png new file mode 100644 index 0000000..0571981 Binary files /dev/null and b/game/icon.png differ diff --git a/game/icon.png.import b/game/icon.png.import new file mode 100644 index 0000000..96cbf46 --- /dev/null +++ b/game/icon.png.import @@ -0,0 +1,34 @@ +[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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/game/project.godot b/game/project.godot new file mode 100644 index 0000000..9b484c2 --- /dev/null +++ b/game/project.godot @@ -0,0 +1,107 @@ +; 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=[ { +"base": "RigidBody2D", +"class": "Ball", +"language": "GDScript", +"path": "res://src/actors/ball/Ball.gd" +}, { +"base": "KinematicBody2D", +"class": "Computer", +"language": "GDScript", +"path": "res://src/actors/computer/Computer.gd" +}, { +"base": "KinematicBody2D", +"class": "Player", +"language": "GDScript", +"path": "res://src/actors/player/Player.gd" +} ] +_global_script_class_icons={ +"Ball": "", +"Computer": "", +"Player": "" +} + +[application] + +config/name="Pocket Broomball" +run/main_scene="res://src/splash/Splash.tscn" +boot_splash/image="res://icon.png" +boot_splash/bg_color=Color( 0.933333, 0.933333, 0.933333, 1 ) +config/icon="res://icon.png" + +[autoload] + +Teams="*res://src/global/Teams.gd" +Global="*res://src/global/Global.tscn" +TouchHelper="*res://src/global/TouchHelper.gd" +Server="res://src/global/Server.gd" +GameServices="*res://src/global/game-services/GameServices.gd" + +[debug] + +gdscript/warnings/unsafe_property_access=true +gdscript/warnings/unsafe_method_access=true +gdscript/warnings/unsafe_cast=true +gdscript/warnings/unsafe_call_argument=true + +[display] + +window/size/width=720 +window/size/height=1280 +window/size/resizable=false +window/size/always_on_top=true +window/size/test_width=360 +window/size/test_height=640 +window/handheld/orientation="portrait" +window/stretch/mode="2d" +window/stretch/aspect="keep" + +[editor_plugins] + +enabled=PoolStringArray( "smoothing" ) + +[global] + +loca=false + +[gui] + +theme/custom="res://assets/theme/airbroomball_theme.tres" + +[input_devices] + +pointing/emulate_touch_from_mouse=true + +[layer_names] + +2d_physics/layer_1="player" +2d_physics/layer_2="middle-line-player" +2d_physics/layer_3="wall" +2d_physics/layer_4="ball" +2d_physics/layer_5="middle-line-computer" + +[locale] + +translations=PoolStringArray( "res://translations/translations.de.translation", "res://translations/translations.en.translation", "res://translations/translations.fr.translation", "res://translations/translations.it.translation" ) + +[physics] + +2d/default_gravity_vector=Vector2( 0, 0 ) +2d/enable_object_picking=true + +[rendering] + +quality/driver/driver_name="GLES2" +quality/intended_usage/framebuffer_allocation=0 +quality/intended_usage/framebuffer_allocation.mobile=0 +vram_compression/import_etc=true +quality/depth/hdr=false diff --git a/game/src/Confetti.tscn b/game/src/Confetti.tscn new file mode 100644 index 0000000..8490739 --- /dev/null +++ b/game/src/Confetti.tscn @@ -0,0 +1,67 @@ +[gd_scene format=2] + +[node name="NewHighscore" type="Node2D"] + +[node name="Blue" type="CPUParticles2D" parent="."] +position = Vector2( 343.232, -204.672 ) +amount = 100 +lifetime = 10.0 +preprocess = 20.0 +emission_shape = 2 +emission_rect_extents = Vector2( 400, 100 ) +radial_accel = 10.0 +radial_accel_random = 0.8 +angle = 45.0 +angle_random = 1.0 +scale_amount = 20.0 +scale_amount_random = 0.8 +color = Color( 0.34902, 0.427451, 0.882353, 1 ) +hue_variation = 1.0 + +[node name="Red" type="CPUParticles2D" parent="."] +position = Vector2( 343.232, -204.672 ) +amount = 100 +lifetime = 10.0 +preprocess = 20.0 +emission_shape = 2 +emission_rect_extents = Vector2( 400, 100 ) +radial_accel = 10.0 +radial_accel_random = 0.8 +angle = 45.0 +angle_random = 1.0 +scale_amount = 20.0 +scale_amount_random = 0.8 +color = Color( 0.941176, 0.207843, 0.12549, 1 ) +hue_variation = 1.0 + +[node name="Yellow" type="CPUParticles2D" parent="."] +position = Vector2( 343.232, -204.672 ) +amount = 100 +lifetime = 10.0 +preprocess = 20.0 +emission_shape = 2 +emission_rect_extents = Vector2( 400, 100 ) +radial_accel = 10.0 +radial_accel_random = 0.8 +angle = 45.0 +angle_random = 1.0 +scale_amount = 20.0 +scale_amount_random = 0.8 +color = Color( 0.960784, 0.729412, 0.168627, 1 ) +hue_variation = 1.0 + +[node name="Green" type="CPUParticles2D" parent="."] +position = Vector2( 343.232, -204.672 ) +amount = 100 +lifetime = 10.0 +preprocess = 20.0 +emission_shape = 2 +emission_rect_extents = Vector2( 400, 100 ) +radial_accel = 10.0 +radial_accel_random = 0.8 +angle = 45.0 +angle_random = 1.0 +scale_amount = 20.0 +scale_amount_random = 0.8 +color = Color( 0.631373, 0.917647, 0.207843, 1 ) +hue_variation = 1.0 diff --git a/game/src/actors/AnimatedBody.gd b/game/src/actors/AnimatedBody.gd new file mode 100644 index 0000000..11e159e --- /dev/null +++ b/game/src/actors/AnimatedBody.gd @@ -0,0 +1,56 @@ +extends Node2D + +export var shoulder_color:Color +export var arm_color:Color +export var upper_arm_color:Color + + +func _ready(): + + # color gets override if global team color is set + $Body/LeftShoulder.self_modulate = Color(shoulder_color) + $Body/RightShoulder.self_modulate = Color(shoulder_color) + $Body/RightArm.self_modulate = Color(arm_color) + $Body/LeftArm.self_modulate = Color(arm_color) + $Body/LeftUpperArm.self_modulate = Color(upper_arm_color) + $Body/RightUpperArm.self_modulate = Color(upper_arm_color) + + + if get_parent().name == "Computer": + if Global.away_team_icon != null: + $Body/LeftShoulder/TeamLogo.texture = Global.away_team_icon + $Body/RightShoulder/TeamLogo.texture = Global.away_team_icon + + $Body/LeftShoulder.self_modulate = Color(Global.away_team_colors[0]) + $Body/RightShoulder.self_modulate = Color(Global.away_team_colors[0]) + + $Body/LeftUpperArm.self_modulate = Color(Global.away_team_colors[1]) + $Body/RightUpperArm.self_modulate = Color(Global.away_team_colors[1]) + + $Body/RightArm.self_modulate = Color(Global.away_team_colors[1]) + $Body/LeftArm.self_modulate = Color(Global.away_team_colors[1]) + + + else: + if Global.home_team_icon != null: + $Body/LeftShoulder/TeamLogo.texture = Global.home_team_icon + $Body/RightShoulder/TeamLogo.texture = Global.home_team_icon + + $Body/LeftShoulder.self_modulate = Color(Global.home_team_colors[0]) + $Body/RightShoulder.self_modulate = Color(Global.home_team_colors[0]) + + $Body/LeftUpperArm.self_modulate = Color(Global.home_team_colors[1]) + $Body/RightUpperArm.self_modulate = Color(Global.home_team_colors[1]) + + $Body/RightArm.self_modulate = Color(Global.home_team_colors[1]) + $Body/LeftArm.self_modulate = Color(Global.home_team_colors[1]) + + + + + $AnimationPlayer.play("Idle") + + +func _on_AnimationPlayer_animation_finished(anim_name): + if anim_name == "Shoot": + $AnimationPlayer.play("Idle") diff --git a/game/src/actors/AnimatedBody.tscn b/game/src/actors/AnimatedBody.tscn new file mode 100644 index 0000000..bde77d4 --- /dev/null +++ b/game/src/actors/AnimatedBody.tscn @@ -0,0 +1,1033 @@ +[gd_scene load_steps=13 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://assets/animated-player/animated-player_arm.png" type="Texture" id=2] +[ext_resource path="res://assets/animated-player/animated-player_stick.png" type="Texture" id=3] +[ext_resource path="res://assets/animated-player/animated-player_head.png" type="Texture" id=4] +[ext_resource path="res://assets/animated-player/animated-player_upper-arm.png" type="Texture" id=5] +[ext_resource path="res://assets/animated-player/animated-player_shoulder.png" type="Texture" id=6] +[ext_resource path="res://assets/broomballcentral.png" type="Texture" id=7] +[ext_resource path="res://src/actors/AnimatedBody.gd" type="Script" id=10] + +[sub_resource type="Animation" id=1] +resource_name = "Charge" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("Body/Stick:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( -14.7931, -25.2381 ), Vector2( -25.1372, -9.26815 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Body/Head:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( -10.1578, -9.76715 ), Vector2( -9.61337, -9.4042 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Body/Head:rotation_degrees") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, -30.4232 ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Body/LeftShoulder:position") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( -25.0415, -9.11794 ), Vector2( -18.5084, -0.407125 ) ] +} +tracks/4/type = "value" +tracks/4/path = NodePath("Body/LeftShoulder:rotation_degrees") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ -1.5712, -47.0098 ] +} +tracks/5/type = "value" +tracks/5/path = NodePath("Body/LeftShoulder/ShirtNumber:rect_position") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 1.29143, -4.07799 ), Vector2( 1.29143, -4.07799 ) ] +} +tracks/6/type = "value" +tracks/6/path = NodePath("Body/LeftShoulder/ShirtNumber:rect_rotation") +tracks/6/interp = 1 +tracks/6/loop_wrap = true +tracks/6/imported = false +tracks/6/enabled = true +tracks/6/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ -270.917, -270.917 ] +} +tracks/7/type = "value" +tracks/7/path = NodePath("Body/RightUpperArm:position") +tracks/7/interp = 1 +tracks/7/loop_wrap = true +tracks/7/imported = false +tracks/7/enabled = true +tracks/7/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 14.9883, -15.6382 ), Vector2( 4.28116, -24.1675 ) ] +} +tracks/8/type = "value" +tracks/8/path = NodePath("Body/RightUpperArm:rotation_degrees") +tracks/8/interp = 1 +tracks/8/loop_wrap = true +tracks/8/imported = false +tracks/8/enabled = true +tracks/8/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 64.8295, -59.8364 ] +} +tracks/9/type = "value" +tracks/9/path = NodePath("Body/LeftUpperArm:position") +tracks/9/interp = 1 +tracks/9/loop_wrap = true +tracks/9/imported = false +tracks/9/enabled = true +tracks/9/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( -32.4781, -11.313 ), Vector2( -27.9412, 4.65683 ) ] +} +tracks/10/type = "value" +tracks/10/path = NodePath("Body/LeftUpperArm:rotation_degrees") +tracks/10/interp = 1 +tracks/10/loop_wrap = true +tracks/10/imported = false +tracks/10/enabled = true +tracks/10/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ -26.0676, -128.762 ] +} +tracks/11/type = "value" +tracks/11/path = NodePath("Body/RightShoulder/ShirtNumber:rect_position") +tracks/11/interp = 1 +tracks/11/loop_wrap = true +tracks/11/imported = false +tracks/11/enabled = true +tracks/11/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( -2.07613, 2.60545 ), Vector2( -2.07613, 2.60545 ) ] +} +tracks/12/type = "value" +tracks/12/path = NodePath("Body/RightShoulder/ShirtNumber:rect_rotation") +tracks/12/interp = 1 +tracks/12/loop_wrap = true +tracks/12/imported = false +tracks/12/enabled = true +tracks/12/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 270.224, 270.224 ] +} +tracks/13/type = "value" +tracks/13/path = NodePath("Body/LeftArm:position") +tracks/13/interp = 1 +tracks/13/loop_wrap = true +tracks/13/imported = false +tracks/13/enabled = true +tracks/13/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( -35.6889, -19.9047 ), Vector2( -34.6, 7.49815 ) ] +} +tracks/14/type = "value" +tracks/14/path = NodePath("Body/LeftArm:rotation_degrees") +tracks/14/interp = 1 +tracks/14/loop_wrap = true +tracks/14/imported = false +tracks/14/enabled = true +tracks/14/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ -12.2781, -102.746 ] +} +tracks/15/type = "value" +tracks/15/path = NodePath("Body/RightArm:position") +tracks/15/interp = 1 +tracks/15/loop_wrap = true +tracks/15/imported = false +tracks/15/enabled = true +tracks/15/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 14.0466, -21.7983 ), Vector2( -4.82697, -28.6943 ) ] +} +tracks/16/type = "value" +tracks/16/path = NodePath("Body/RightArm:rotation_degrees") +tracks/16/interp = 1 +tracks/16/loop_wrap = true +tracks/16/imported = false +tracks/16/enabled = true +tracks/16/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ -41.157, -80.911 ] +} +tracks/17/type = "value" +tracks/17/path = NodePath("Body/RightShoulder:position") +tracks/17/interp = 1 +tracks/17/loop_wrap = true +tracks/17/imported = false +tracks/17/enabled = true +tracks/17/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 4.95595, -10.4929 ), Vector2( 3.32264, -15.3927 ) ] +} +tracks/18/type = "value" +tracks/18/path = NodePath("Body/RightShoulder:rotation_degrees") +tracks/18/interp = 1 +tracks/18/loop_wrap = true +tracks/18/imported = false +tracks/18/enabled = true +tracks/18/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ -1.253, -33.7304 ] +} +tracks/19/type = "value" +tracks/19/path = NodePath("Body/Stick:rotation_degrees") +tracks/19/interp = 1 +tracks/19/loop_wrap = true +tracks/19/imported = false +tracks/19/enabled = true +tracks/19/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ -1.38235, -48.753 ] +} + +[sub_resource type="Animation" id=2] +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Body/Head:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -10.1578, -9.76715 ), Vector2( -10.3393, -12.1263 ), Vector2( -10.1578, -9.76715 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Body/Head:rotation_degrees") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ 0.0, -7.39308, 0.0 ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Body/LeftShoulder:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -25.0415, -9.11794 ), Vector2( -25.586, -7.48467 ), Vector2( -25.0415, -9.11794 ) ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Body/LeftShoulder:rotation_degrees") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -1.5712, -5.25411, -1.5712 ] +} +tracks/4/type = "value" +tracks/4/path = NodePath("Body/LeftShoulder/ShirtNumber:rect_position") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 1.29143, -4.07799 ), Vector2( 1.29143, -4.07799 ), Vector2( 1.29143, -4.07799 ) ] +} +tracks/5/type = "value" +tracks/5/path = NodePath("Body/LeftShoulder/ShirtNumber:rect_rotation") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -270.917, -270.917, -270.917 ] +} +tracks/6/type = "value" +tracks/6/path = NodePath("Body/RightUpperArm:position") +tracks/6/interp = 1 +tracks/6/loop_wrap = true +tracks/6/imported = false +tracks/6/enabled = true +tracks/6/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 14.9883, -15.6382 ), Vector2( 13.8994, -17.2714 ), Vector2( 14.9883, -15.6382 ) ] +} +tracks/7/type = "value" +tracks/7/path = NodePath("Body/RightUpperArm:rotation_degrees") +tracks/7/interp = 1 +tracks/7/loop_wrap = true +tracks/7/imported = false +tracks/7/enabled = true +tracks/7/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ 64.8295, 64.8295, 64.8295 ] +} +tracks/8/type = "value" +tracks/8/path = NodePath("Body/LeftUpperArm:position") +tracks/8/interp = 1 +tracks/8/loop_wrap = true +tracks/8/imported = false +tracks/8/enabled = true +tracks/8/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -32.4781, -11.313 ), Vector2( -33.7485, -9.67976 ), Vector2( -32.6596, -11.8575 ) ] +} +tracks/9/type = "value" +tracks/9/path = NodePath("Body/LeftUpperArm:rotation_degrees") +tracks/9/interp = 1 +tracks/9/loop_wrap = true +tracks/9/imported = false +tracks/9/enabled = true +tracks/9/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -26.0676, -38.5103, -26.0676 ] +} +tracks/10/type = "value" +tracks/10/path = NodePath("Body/RightShoulder/ShirtNumber:rect_position") +tracks/10/interp = 1 +tracks/10/loop_wrap = true +tracks/10/imported = false +tracks/10/enabled = true +tracks/10/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -2.07613, 2.60545 ), Vector2( -2.07613, 2.60545 ), Vector2( -2.07613, 2.60545 ) ] +} +tracks/11/type = "value" +tracks/11/path = NodePath("Body/RightShoulder/ShirtNumber:rect_rotation") +tracks/11/interp = 1 +tracks/11/loop_wrap = true +tracks/11/imported = false +tracks/11/enabled = true +tracks/11/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ 270.224, 270.224, 270.224 ] +} +tracks/12/type = "value" +tracks/12/path = NodePath("Body/LeftArm:position") +tracks/12/interp = 1 +tracks/12/loop_wrap = true +tracks/12/imported = false +tracks/12/enabled = true +tracks/12/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -35.6889, -19.9047 ), Vector2( -37.8666, -18.6344 ), Vector2( -35.6889, -19.9047 ) ] +} +tracks/13/type = "value" +tracks/13/path = NodePath("Body/LeftArm:rotation_degrees") +tracks/13/interp = 1 +tracks/13/loop_wrap = true +tracks/13/imported = false +tracks/13/enabled = true +tracks/13/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -12.2781, -12.2781, -12.2781 ] +} +tracks/14/type = "value" +tracks/14/path = NodePath("Body/RightArm:position") +tracks/14/interp = 1 +tracks/14/loop_wrap = true +tracks/14/imported = false +tracks/14/enabled = true +tracks/14/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 14.0466, -21.7983 ), Vector2( 12.7762, -23.976 ), Vector2( 14.0466, -21.7983 ) ] +} +tracks/15/type = "value" +tracks/15/path = NodePath("Body/RightArm:rotation_degrees") +tracks/15/interp = 1 +tracks/15/loop_wrap = true +tracks/15/imported = false +tracks/15/enabled = true +tracks/15/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -41.157, -56.1856, -41.157 ] +} +tracks/16/type = "value" +tracks/16/path = NodePath("Body/RightShoulder:position") +tracks/16/interp = 1 +tracks/16/loop_wrap = true +tracks/16/imported = false +tracks/16/enabled = true +tracks/16/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 4.95595, -10.4929 ), Vector2( 4.95594, -12.1262 ), Vector2( 4.95595, -10.4929 ) ] +} +tracks/17/type = "value" +tracks/17/path = NodePath("Body/RightShoulder:rotation_degrees") +tracks/17/interp = 1 +tracks/17/loop_wrap = true +tracks/17/imported = false +tracks/17/enabled = true +tracks/17/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -1.253, -10.5327, -1.253 ] +} +tracks/18/type = "value" +tracks/18/path = NodePath("Body/Stick:position") +tracks/18/interp = 1 +tracks/18/loop_wrap = true +tracks/18/imported = false +tracks/18/enabled = true +tracks/18/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -14.7931, -25.2381 ), Vector2( -18.2412, -24.1492 ), Vector2( -14.7931, -25.2381 ) ] +} +tracks/19/type = "value" +tracks/19/path = NodePath("Body/Stick:rotation_degrees") +tracks/19/interp = 1 +tracks/19/loop_wrap = true +tracks/19/imported = false +tracks/19/enabled = true +tracks/19/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -1.38235, -6.67055, -1.38235 ] +} + +[sub_resource type="Animation" id=3] +length = 0.4 +tracks/0/type = "value" +tracks/0/path = NodePath("Body/Stick:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -25.1372, -9.26815 ), Vector2( -3.52005, -30.8895 ), Vector2( -17.5516, -24.367 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Body/Head:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -9.61337, -9.4042 ), Vector2( -6.67474, -9.82576 ), Vector2( -10.303, -11.6545 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Body/Head:rotation_degrees") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -30.4232, 26.1665, -5.91446 ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Body/LeftShoulder:position") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -18.5084, -0.407125 ), Vector2( -18.9439, -13.256 ), Vector2( -25.4771, -7.81132 ) ] +} +tracks/4/type = "value" +tracks/4/path = NodePath("Body/LeftShoulder:rotation_degrees") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -47.0098, 34.719, -4.51753 ] +} +tracks/5/type = "value" +tracks/5/path = NodePath("Body/LeftShoulder/ShirtNumber:rect_position") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 1.29143, -4.07799 ), Vector2( 1.29143, -4.07799 ), Vector2( 1.29143, -4.07799 ) ] +} +tracks/6/type = "value" +tracks/6/path = NodePath("Body/LeftShoulder/ShirtNumber:rect_rotation") +tracks/6/interp = 1 +tracks/6/loop_wrap = true +tracks/6/imported = false +tracks/6/enabled = true +tracks/6/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -270.917, -270.917, -270.917 ] +} +tracks/7/type = "value" +tracks/7/path = NodePath("Body/RightUpperArm:position") +tracks/7/interp = 1 +tracks/7/loop_wrap = true +tracks/7/imported = false +tracks/7/enabled = true +tracks/7/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 4.28116, -24.1675 ), Vector2( 14.3589, -6.95332 ), Vector2( 14.1172, -16.9448 ) ] +} +tracks/8/type = "value" +tracks/8/path = NodePath("Body/RightUpperArm:rotation_degrees") +tracks/8/interp = 1 +tracks/8/loop_wrap = true +tracks/8/imported = false +tracks/8/enabled = true +tracks/8/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -59.8364, 52.8022, 64.8295 ] +} +tracks/9/type = "value" +tracks/9/path = NodePath("Body/LeftUpperArm:position") +tracks/9/interp = 1 +tracks/9/loop_wrap = true +tracks/9/imported = false +tracks/9/enabled = true +tracks/9/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -27.9412, 4.65683 ), Vector2( -22.5093, -23.7827 ), Vector2( -33.4944, -10.0064 ) ] +} +tracks/10/type = "value" +tracks/10/path = NodePath("Body/LeftUpperArm:rotation_degrees") +tracks/10/interp = 1 +tracks/10/loop_wrap = true +tracks/10/imported = false +tracks/10/enabled = true +tracks/10/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -128.762, 7.06362, -36.0218 ] +} +tracks/11/type = "value" +tracks/11/path = NodePath("Body/RightShoulder/ShirtNumber:rect_position") +tracks/11/interp = 1 +tracks/11/loop_wrap = true +tracks/11/imported = false +tracks/11/enabled = true +tracks/11/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -2.07613, 2.60545 ), Vector2( -2.07613, 2.60545 ), Vector2( -2.07613, 2.60545 ) ] +} +tracks/12/type = "value" +tracks/12/path = NodePath("Body/RightShoulder/ShirtNumber:rect_rotation") +tracks/12/interp = 1 +tracks/12/loop_wrap = true +tracks/12/imported = false +tracks/12/enabled = true +tracks/12/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ 270.224, 270.224, 270.224 ] +} +tracks/13/type = "value" +tracks/13/path = NodePath("Body/LeftArm:position") +tracks/13/interp = 1 +tracks/13/loop_wrap = true +tracks/13/imported = false +tracks/13/enabled = true +tracks/13/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -34.6, 7.49815 ), Vector2( -20.5366, -35.9498 ), Vector2( -37.4311, -18.8884 ) ] +} +tracks/14/type = "value" +tracks/14/path = NodePath("Body/LeftArm:rotation_degrees") +tracks/14/interp = 1 +tracks/14/loop_wrap = true +tracks/14/imported = false +tracks/14/enabled = true +tracks/14/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -102.746, 9.58416, -12.2781 ] +} +tracks/15/type = "value" +tracks/15/path = NodePath("Body/RightArm:position") +tracks/15/interp = 1 +tracks/15/loop_wrap = true +tracks/15/imported = false +tracks/15/enabled = true +tracks/15/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -4.82697, -28.6943 ), Vector2( 18.1736, -12.9837 ), Vector2( 13.0303, -23.5404 ) ] +} +tracks/16/type = "value" +tracks/16/path = NodePath("Body/RightArm:rotation_degrees") +tracks/16/interp = 1 +tracks/16/loop_wrap = true +tracks/16/imported = false +tracks/16/enabled = true +tracks/16/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -80.911, -11.1722, -53.1799 ] +} +tracks/17/type = "value" +tracks/17/path = NodePath("Body/RightShoulder:position") +tracks/17/interp = 1 +tracks/17/loop_wrap = true +tracks/17/imported = false +tracks/17/enabled = true +tracks/17/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 3.32264, -15.3927 ), Vector2( 4.37385, -4.68392 ), Vector2( 4.95594, -11.7995 ) ] +} +tracks/18/type = "value" +tracks/18/path = NodePath("Body/RightShoulder:rotation_degrees") +tracks/18/interp = 1 +tracks/18/loop_wrap = true +tracks/18/imported = false +tracks/18/enabled = true +tracks/18/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -33.7304, 19.393, -8.67679 ] +} +tracks/19/type = "value" +tracks/19/path = NodePath("Body/Stick:rotation_degrees") +tracks/19/interp = 1 +tracks/19/loop_wrap = true +tracks/19/imported = false +tracks/19/enabled = true +tracks/19/keys = { +"times": PoolRealArray( 0, 0.2, 0.4 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ -48.753, 35.5601, -5.61291 ] +} + +[sub_resource type="Animation" id=4] +resource_name = "Win" +length = 2.0 +tracks/0/type = "value" +tracks/0/path = NodePath("Body/LeftShoulder:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -25.0415, -9.11794 ), Vector2( -25.0415, -9.11794 ), Vector2( -25.0415, -9.11794 ), Vector2( -24.1332, -5.78753 ), Vector2( -25.0415, -9.11794 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Body/LeftShoulder:rotation_degrees") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ -1.5712, -1.5712, -1.5712, -10.1166, -1.5712 ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Body/RightShoulder:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 4.95595, -10.4929 ), Vector2( 5.19023, -9.08727 ), Vector2( 5.19023, -9.08727 ), Vector2( 5.19023, -9.08727 ), Vector2( 5.19023, -9.08727 ) ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Body/RightShoulder:rotation_degrees") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ -1.253, -11.6406, -11.6406, -11.6406, -11.6406 ] +} +tracks/4/type = "value" +tracks/4/path = NodePath("Body/RightUpperArm:position") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 14.9883, -15.6382 ), Vector2( 15.2226, -16.8096 ), Vector2( 16.1597, -14.7011 ), Vector2( 16.1597, -17.426 ), Vector2( 16.1597, -14.7011 ) ] +} +tracks/5/type = "value" +tracks/5/path = NodePath("Body/RightUpperArm:rotation_degrees") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ 64.8295, 64.8295, 64.8295, 35.3945, 64.8295 ] +} +tracks/6/type = "value" +tracks/6/path = NodePath("Body/LeftUpperArm:position") +tracks/6/interp = 1 +tracks/6/loop_wrap = true +tracks/6/imported = false +tracks/6/enabled = true +tracks/6/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -32.4781, -11.313 ), Vector2( -35.0551, -10.3759 ), Vector2( -35.0551, -15.9984 ), Vector2( -33.8441, -10.8515 ), Vector2( -35.0551, -15.9984 ) ] +} +tracks/7/type = "value" +tracks/7/path = NodePath("Body/LeftUpperArm:rotation_degrees") +tracks/7/interp = 1 +tracks/7/loop_wrap = true +tracks/7/imported = false +tracks/7/enabled = true +tracks/7/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ -26.0676, -55.4283, -20.4749, -25.5091, -20.4749 ] +} +tracks/8/type = "value" +tracks/8/path = NodePath("Body/RightArm:position") +tracks/8/interp = 1 +tracks/8/loop_wrap = true +tracks/8/imported = false +tracks/8/enabled = true +tracks/8/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 14.0466, -21.7983 ), Vector2( 24.1203, -22.9697 ), Vector2( 24.5889, -22.7354 ), Vector2( 21.5612, -26.3686 ), Vector2( 24.5889, -22.7354 ) ] +} +tracks/9/type = "value" +tracks/9/path = NodePath("Body/RightArm:rotation_degrees") +tracks/9/interp = 1 +tracks/9/loop_wrap = true +tracks/9/imported = false +tracks/9/enabled = true +tracks/9/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ -41.157, 43.5636, 38.1735, 10.5302, 38.1735 ] +} +tracks/10/type = "value" +tracks/10/path = NodePath("Body/Head:position") +tracks/10/interp = 1 +tracks/10/loop_wrap = true +tracks/10/imported = false +tracks/10/enabled = true +tracks/10/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -10.1578, -9.76715 ), Vector2( -8.28361, -7.42442 ), Vector2( -8.28361, -7.42442 ), Vector2( -8.28361, -7.42442 ), Vector2( -8.28361, -7.42442 ) ] +} +tracks/11/type = "value" +tracks/11/path = NodePath("Body/Head:rotation_degrees") +tracks/11/interp = 1 +tracks/11/loop_wrap = true +tracks/11/imported = false +tracks/11/enabled = true +tracks/11/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ 0.0, -14.0434, 20.537, -10.5523, 20.537 ] +} +tracks/12/type = "value" +tracks/12/path = NodePath("Body/LeftArm:position") +tracks/12/interp = 1 +tracks/12/loop_wrap = true +tracks/12/imported = false +tracks/12/enabled = true +tracks/12/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -35.6889, -19.9047 ), Vector2( -38.7344, -17.562 ), Vector2( -36.1575, -25.5273 ), Vector2( -36.4602, -17.6554 ), Vector2( -36.1575, -25.5273 ) ] +} +tracks/13/type = "value" +tracks/13/path = NodePath("Body/LeftArm:rotation_degrees") +tracks/13/interp = 1 +tracks/13/loop_wrap = true +tracks/13/imported = false +tracks/13/enabled = true +tracks/13/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ -12.2781, -29.5909, 8.68693, 8.68693, 8.68693 ] +} +tracks/14/type = "value" +tracks/14/path = NodePath("Body/Stick:position") +tracks/14/interp = 1 +tracks/14/loop_wrap = true +tracks/14/imported = false +tracks/14/enabled = true +tracks/14/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -14.7931, -25.2381 ), Vector2( 24.799, -44.2144 ), Vector2( 28.0789, -39.2947 ), Vector2( 12.6378, -53.2218 ), Vector2( 28.0789, -39.2947 ) ] +} +tracks/15/type = "value" +tracks/15/path = NodePath("Body/Stick:rotation_degrees") +tracks/15/interp = 1 +tracks/15/loop_wrap = true +tracks/15/imported = false +tracks/15/enabled = true +tracks/15/keys = { +"times": PoolRealArray( 0, 0.4, 1, 1.5, 2 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ -1.38235, 83.0664, 94.8252, 66.0232, 94.8252 ] +} + +[node name="AnimatedBody" type="Node2D"] +position = Vector2( -5.77093, 14.5861 ) +rotation = 1.5708 +scale = Vector2( 2.97759, 2.97759 ) +script = ExtResource( 10 ) + +[node name="Body" type="Node2D" parent="."] +scale = Vector2( 0.903495, 0.903495 ) + +[node name="Stick" type="Sprite" parent="Body"] +position = Vector2( -14.7931, -25.2381 ) +rotation = -0.0241266 +texture = ExtResource( 3 ) + +[node name="LeftArm" type="Sprite" parent="Body"] +position = Vector2( -35.6889, -19.9047 ) +rotation = -0.214293 +texture = ExtResource( 2 ) + +[node name="RightArm" type="Sprite" parent="Body"] +position = Vector2( 14.0466, -21.7983 ) +rotation = -0.718325 +texture = ExtResource( 2 ) + +[node name="LeftUpperArm" type="Sprite" parent="Body"] +position = Vector2( -32.4781, -11.313 ) +rotation = -0.454965 +texture = ExtResource( 5 ) + +[node name="RightUpperArm" type="Sprite" parent="Body"] +position = Vector2( 14.9883, -15.6382 ) +rotation = 1.13149 +texture = ExtResource( 5 ) + +[node name="RightShoulder" type="Sprite" parent="Body"] +position = Vector2( 4.95595, -10.4929 ) +rotation = -0.021869 +texture = ExtResource( 6 ) + +[node name="ShirtNumber" type="Label" parent="Body/RightShoulder"] +visible = false +margin_left = -2.07613 +margin_top = 2.60545 +margin_right = 40.9239 +margin_bottom = 86.6055 +rect_rotation = 270.224 +rect_scale = Vector2( 0.152694, 0.152694 ) +theme = ExtResource( 1 ) +text = "5" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="TeamLogo" type="Sprite" parent="Body/RightShoulder"] +position = Vector2( 1.46414, 2.43291 ) +rotation = 0.021869 +scale = Vector2( 0.0354797, 0.0354797 ) +texture = ExtResource( 7 ) + +[node name="LeftShoulder" type="Sprite" parent="Body"] +position = Vector2( -25.0415, -9.11794 ) +rotation = -0.0274226 +texture = ExtResource( 6 ) +flip_h = true + +[node name="ShirtNumber" type="Label" parent="Body/LeftShoulder"] +visible = false +margin_left = 1.29143 +margin_top = -4.07799 +margin_right = 44.2914 +margin_bottom = 79.922 +rect_rotation = -270.917 +rect_scale = Vector2( 0.152694, 0.152694 ) +theme = ExtResource( 1 ) +text = "5" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="TeamLogo" type="Sprite" parent="Body/LeftShoulder"] +position = Vector2( -1.22406, 0.992279 ) +rotation = 0.0274226 +scale = Vector2( 0.0354797, 0.0354797 ) +texture = ExtResource( 7 ) + +[node name="Head" type="Sprite" parent="Body"] +position = Vector2( -10.1578, -9.76715 ) +scale = Vector2( 1.16745, 1.16745 ) +texture = ExtResource( 4 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/Charge = SubResource( 1 ) +anims/Idle = SubResource( 2 ) +anims/Shoot = SubResource( 3 ) +anims/Win = SubResource( 4 ) +[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"] diff --git a/game/src/actors/ball/Ball.gd b/game/src/actors/ball/Ball.gd new file mode 100644 index 0000000..97fbc7c --- /dev/null +++ b/game/src/actors/ball/Ball.gd @@ -0,0 +1,69 @@ +extends RigidBody2D + +class_name Ball + +var max_speed = 1800 + +var reset_home +var reset_away +var stop_home +var stop_away + +var computer + +func _ready(): + if get_parent().singleplayer: + computer = get_parent().get_parent().get_node("Computer") +#to set max speed of ball + +func _integrate_forces(state): + if abs(get_linear_velocity().x) > max_speed or abs(get_linear_velocity().y) > max_speed: + var new_speed = get_linear_velocity().normalized() + new_speed *= max_speed + state.linear_velocity = new_speed + + if get_parent().singleplayer: + look_at(computer.position) + + if stop_home: + state.linear_velocity = Vector2.ZERO + state.transform = Transform2D(0, Vector2(360, -50)) + stop_home = false + + if stop_away: + state.linear_velocity = Vector2.ZERO + state.transform = Transform2D(0, Vector2(360, 1300)) + stop_away = false + + if reset_home: + state.linear_velocity = Vector2.ZERO + state.transform = Transform2D(0, Vector2(360,440)) + reset_home = false + show() + + if reset_away: + state.linear_velocity = Vector2.ZERO + state.transform = Transform2D(0, Vector2(360,840)) + reset_away = false + show() + + +func on_home_goal(): + hide() + stop_home = true + yield(get_tree().create_timer(1.5), "timeout") + reset_home = true + + +func on_away_goal(): + hide() + stop_away = true + yield(get_tree().create_timer(1.5), "timeout") + reset_away = true + +func _on_RigidBody2D_body_entered(body): + if body is Computer || body is Player: + apply_central_impulse((global_position - body.global_position).normalized() * Global.power_factor * body.power) + body.animation_player.play("Shoot") + if Global.sfx: + $HitSound.play() diff --git a/game/src/actors/ball/Ball.tscn b/game/src/actors/ball/Ball.tscn new file mode 100644 index 0000000..d382a07 --- /dev/null +++ b/game/src/actors/ball/Ball.tscn @@ -0,0 +1,52 @@ +[gd_scene load_steps=9 format=2] + +[ext_resource path="res://assets/ball.png" type="Texture" id=1] +[ext_resource path="res://src/actors/ball/ball_physicsmaterial.tres" type="PhysicsMaterial" id=2] +[ext_resource path="res://src/actors/ball/Ball.gd" type="Script" id=3] +[ext_resource path="res://assets/sounds/hit.wav" type="AudioStream" id=4] +[ext_resource path="res://src/actors/ball/HitSound.gd" type="Script" id=5] +[ext_resource path="res://addons/smoothing/smoothing_2d.gd" type="Script" id=6] +[ext_resource path="res://src/actors/ball/BallBase.gd" type="Script" id=7] + +[sub_resource type="CircleShape2D" id=1] +radius = 22.6274 + +[node name="Ball" type="Node2D"] +rotation = -1.1392 +script = ExtResource( 7 ) + +[node name="Smoothing2D" type="Node2D" parent="."] +script = ExtResource( 6 ) +target = NodePath("../RigidBody2D") + +[node name="Sprite" type="Sprite" parent="Smoothing2D"] +rotation = 3.72529e-08 +scale = Vector2( 0.8, 0.8 ) +texture = ExtResource( 1 ) + +[node name="RigidBody2D" type="RigidBody2D" parent="." groups=[ +"ball", +]] +collision_layer = 8 +collision_mask = 5 +physics_material_override = ExtResource( 2 ) +continuous_cd = 2 +contacts_reported = 1 +contact_monitor = true +can_sleep = false +script = ExtResource( 3 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"] +rotation = -3.14159 +shape = SubResource( 1 ) + +[node name="HitSound" type="AudioStreamPlayer2D" parent="RigidBody2D"] +stream = ExtResource( 4 ) +volume_db = -3.0 +script = ExtResource( 5 ) + +[node name="ComputerHitPosition" type="Position2D" parent="RigidBody2D"] +position = Vector2( -202.838, 0.50515 ) +rotation = -3.14159 +scale = Vector2( 0.923824, 0.795064 ) +[connection signal="body_entered" from="RigidBody2D" to="RigidBody2D" method="_on_RigidBody2D_body_entered"] diff --git a/game/src/actors/ball/BallBase.gd b/game/src/actors/ball/BallBase.gd new file mode 100644 index 0000000..fde301a --- /dev/null +++ b/game/src/actors/ball/BallBase.gd @@ -0,0 +1,5 @@ +extends Node2D + + +export var singleplayer = true + diff --git a/game/src/actors/ball/HitSound.gd b/game/src/actors/ball/HitSound.gd new file mode 100644 index 0000000..62825b8 --- /dev/null +++ b/game/src/actors/ball/HitSound.gd @@ -0,0 +1,13 @@ +#helper for multiple audio stream playback +extends AudioStreamPlayer2D + +func play( from_position=0.0 ): + if !playing: + .play(from_position) + else: + var asp = self.duplicate(DUPLICATE_USE_INSTANCING) + get_parent().add_child(asp) + asp.stream = stream + asp.play() + yield(asp, "finished") + asp.queue_free() diff --git a/game/src/actors/ball/ball_physicsmaterial.tres b/game/src/actors/ball/ball_physicsmaterial.tres new file mode 100644 index 0000000..2afb2d8 --- /dev/null +++ b/game/src/actors/ball/ball_physicsmaterial.tres @@ -0,0 +1,4 @@ +[gd_resource type="PhysicsMaterial" format=2] + +[resource] +bounce = 1.0 diff --git a/game/src/actors/commentator/Commentator.gd b/game/src/actors/commentator/Commentator.gd new file mode 100644 index 0000000..28e93d8 --- /dev/null +++ b/game/src/actors/commentator/Commentator.gd @@ -0,0 +1,59 @@ +extends Node2D + +var home_goals = 0 +var away_goals = 0 + +func _ready(): + if Global.sfx: + $Ready.play() + + + +func _on_Ready_finished(): + if Global.sfx: + $Go.play() + +func win(): + if Global.sfx: + $Win.play() + +func loose(): + if Global.sfx: + $Loose.play() + +func home_goal(): + home_goals += 1 + _play_goal(home_goals) + yield(get_tree().create_timer(0.5), "timeout") + _play_goal(away_goals) + +func away_goal(): + away_goals += 1 + _play_goal(home_goals) + yield(get_tree().create_timer(0.5), "timeout") + _play_goal(away_goals) + + +func _play_goal(goal): + if Global.sfx: + match goal: + 1: + $Goal1.play() + 2: + $Goal2.play() + 3: + $Goal3.play() + 4: + $Goal4.play() + 5: + $Goal5.play() + 6: + $Goal6.play() + 7: + $Goal7.play() + 8: + $Goal8.play() + 9: + $Goal9.play() + 10: + $Goal10.play() diff --git a/game/src/actors/commentator/Commentator.tscn b/game/src/actors/commentator/Commentator.tscn new file mode 100644 index 0000000..c0fb39b --- /dev/null +++ b/game/src/actors/commentator/Commentator.tscn @@ -0,0 +1,67 @@ +[gd_scene load_steps=16 format=2] + +[ext_resource path="res://assets/sounds/commentator/1.wav" type="AudioStream" id=1] +[ext_resource path="res://assets/sounds/commentator/3.wav" type="AudioStream" id=2] +[ext_resource path="res://assets/sounds/commentator/4.wav" type="AudioStream" id=3] +[ext_resource path="res://assets/sounds/commentator/2.wav" type="AudioStream" id=4] +[ext_resource path="res://assets/sounds/commentator/you_win.wav" type="AudioStream" id=5] +[ext_resource path="res://assets/sounds/commentator/ready.wav" type="AudioStream" id=6] +[ext_resource path="res://assets/sounds/commentator/you_loose.wav" type="AudioStream" id=7] +[ext_resource path="res://assets/sounds/commentator/go.wav" type="AudioStream" id=8] +[ext_resource path="res://src/actors/commentator/Commentator.gd" type="Script" id=9] +[ext_resource path="res://assets/sounds/commentator/8.wav" type="AudioStream" id=10] +[ext_resource path="res://assets/sounds/commentator/9.wav" type="AudioStream" id=11] +[ext_resource path="res://assets/sounds/commentator/6.wav" type="AudioStream" id=12] +[ext_resource path="res://assets/sounds/commentator/7.wav" type="AudioStream" id=13] +[ext_resource path="res://assets/sounds/commentator/10.wav" type="AudioStream" id=14] +[ext_resource path="res://assets/sounds/commentator/5.wav" type="AudioStream" id=15] + +[node name="Commentator" type="Node2D"] +position = Vector2( 349.767, 3.70124 ) +script = ExtResource( 9 ) + +[node name="Goal1" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 1 ) + +[node name="Goal2" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 4 ) + +[node name="Goal3" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 2 ) + +[node name="Goal4" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 3 ) + +[node name="Goal5" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 15 ) + +[node name="Goal6" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 12 ) + +[node name="Goal7" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 13 ) + +[node name="Goal8" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 10 ) + +[node name="Goal9" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 11 ) + +[node name="Goal10" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 14 ) + +[node name="Go" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 8 ) + +[node name="Ready" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 6 ) + +[node name="Win" type="AudioStreamPlayer2D" parent="."] +pause_mode = 2 +stream = ExtResource( 5 ) + +[node name="Loose" type="AudioStreamPlayer2D" parent="."] +pause_mode = 2 +stream = ExtResource( 7 ) + +[connection signal="finished" from="Ready" to="." method="_on_Ready_finished"] diff --git a/game/src/actors/computer/Computer.gd b/game/src/actors/computer/Computer.gd new file mode 100644 index 0000000..5d23cb9 --- /dev/null +++ b/game/src/actors/computer/Computer.gd @@ -0,0 +1,55 @@ +extends KinematicBody2D +class_name Computer + +var speed = 1 +var power = 1 + +var destination +var direction + +var freeze = false + +onready var player = get_parent().get_node("Player"); +onready var ball = get_parent().get_node("Ball").get_node("RigidBody2D"); +onready var hit_pos = ball.get_node("ComputerHitPosition") + +var animation_player + +func _ready(): + animation_player = $Body/AnimationPlayer + if Global.away_team_speed: + speed = Global.away_team_speed / 3 + if Global.away_team_power: + power = Global.away_team_power + +func _physics_process(delta): + var ballpos = ball.global_position + + if ballpos.y < 640 and ballpos.y > global_position.y: + destination = hit_pos.global_position + else: + destination = Vector2(ballpos.x,120) + + direction = (destination - global_position).normalized() + var distance_to_player = global_position.distance_to(destination) + if not freeze: + move_and_slide(direction * speed* Global.speed_factor * distance_to_player) + else: + move_and_slide(direction * speed* Global.speed_factor * distance_to_player * 0.1) + + look_at(ballpos) + + +func _on_ChargeDetector_body_entered(body): + animation_player.play("Charge") + +func level_up(): + speed += 0.05 + power += 0.05 + if speed > 3.5: + speed = 3.5 + if power > 4: + power = 4 + +func _on_ChargeDetector_body_exited(body): + animation_player.play("Shoot") diff --git a/game/src/actors/computer/Computer.tscn b/game/src/actors/computer/Computer.tscn new file mode 100644 index 0000000..a58388f --- /dev/null +++ b/game/src/actors/computer/Computer.tscn @@ -0,0 +1,33 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://src/actors/AnimatedBody.tscn" type="PackedScene" id=1] +[ext_resource path="res://src/actors/computer/Computer.gd" type="Script" id=2] + +[sub_resource type="CircleShape2D" id=1] +radius = 65.0 + +[sub_resource type="CircleShape2D" id=2] +radius = 188.779 + +[node name="Computer" type="KinematicBody2D"] +collision_mask = 29 +script = ExtResource( 2 ) + +[node name="BodyShape" type="CollisionShape2D" parent="."] +shape = SubResource( 1 ) + +[node name="Body" parent="." instance=ExtResource( 1 )] +position = Vector2( -37.4938, 29.1615 ) +shoulder_color = Color( 0.0352941, 0.65098, 0.247059, 1 ) +arm_color = Color( 0.239216, 0.745098, 0.0980392, 1 ) +upper_arm_color = Color( 0.505882, 0.803922, 0.0705882, 1 ) + +[node name="ChargeDetector" type="Area2D" parent="."] +scale = Vector2( 0.705882, 0.705882 ) +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="ChargeDetector"] +shape = SubResource( 2 ) +[connection signal="body_entered" from="ChargeDetector" to="." method="_on_ChargeDetector_body_entered"] +[connection signal="body_exited" from="ChargeDetector" to="." method="_on_ChargeDetector_body_exited"] diff --git a/game/src/actors/player/Player.gd b/game/src/actors/player/Player.gd new file mode 100644 index 0000000..629cfc4 --- /dev/null +++ b/game/src/actors/player/Player.gd @@ -0,0 +1,48 @@ +extends KinematicBody2D + +class_name Player + +onready var ball = get_parent().get_node("Ball").get_node("RigidBody2D"); + +export var away = false +export var oneVsOne = false + +var direction + +var power + +var destination = null + +var animation_player + +func _ready(): + animation_player = $Body/AnimationPlayer + power = Global.home_team_power + direction = (ball.global_position - global_position).normalized() + +func _physics_process(delta): + if oneVsOne: + if away and TouchHelper.away_pressed: + destination = TouchHelper.state["away"] + elif !away and TouchHelper.home_pressed: + destination = TouchHelper.state["home"] + elif TouchHelper.home_pressed: + destination = TouchHelper.state["home"] + if destination != null: + direction = (destination - global_position).normalized() + var distance_to_player = global_position.distance_to(destination) + move_and_slide(direction * Global.home_team_speed * Global.speed_factor * distance_to_player) + + if distance_to_player > 10: + look_at(ball.global_position) + +func _on_ChargeDetector_body_entered(body): + animation_player.play("Charge") + + +func _on_AnimatedSprite_animation_finished(): + animation_player.play("Idle") + + +func _on_ChargeDetector_body_exited(body): + animation_player.play("Idle") diff --git a/game/src/actors/player/Player.tscn b/game/src/actors/player/Player.tscn new file mode 100644 index 0000000..5edee8a --- /dev/null +++ b/game/src/actors/player/Player.tscn @@ -0,0 +1,34 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://src/actors/AnimatedBody.tscn" type="PackedScene" id=1] +[ext_resource path="res://src/actors/player/Player.gd" type="Script" id=2] + +[sub_resource type="CircleShape2D" id=1] + +[sub_resource type="CircleShape2D" id=2] +radius = 220.098 + +[node name="Player" type="KinematicBody2D"] +collision_mask = 7 +script = ExtResource( 2 ) + +[node name="Body" parent="." instance=ExtResource( 1 )] +position = Vector2( -23.0952, 29.4067 ) +shoulder_color = Color( 0.054902, 0.027451, 0.870588, 1 ) +arm_color = Color( 0.192157, 0.313726, 0.980392, 1 ) +upper_arm_color = Color( 0.317647, 0.376471, 0.984314, 1 ) + +[node name="BodyShape" type="CollisionShape2D" parent="."] +position = Vector2( -6.63419, 6.63422 ) +scale = Vector2( 7.26567, 7.26567 ) +shape = SubResource( 1 ) + +[node name="ChargeDetector" type="Area2D" parent="."] +scale = Vector2( 0.616026, 0.616026 ) +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="ChargeDetector"] +shape = SubResource( 2 ) +[connection signal="body_entered" from="ChargeDetector" to="." method="_on_ChargeDetector_body_entered"] +[connection signal="body_exited" from="ChargeDetector" to="." method="_on_ChargeDetector_body_exited"] diff --git a/game/src/actors/player/PlayerTwo.tscn b/game/src/actors/player/PlayerTwo.tscn new file mode 100644 index 0000000..192949b --- /dev/null +++ b/game/src/actors/player/PlayerTwo.tscn @@ -0,0 +1,11 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://src/actors/player/Player.tscn" type="PackedScene" id=1] + +[node name="Player" instance=ExtResource( 1 )] +collision_mask = 21 + +[node name="Body" parent="." index="0"] +shoulder_color = Color( 0.835294, 0.211765, 0.105882, 1 ) +arm_color = Color( 0.803922, 0.231373, 0.101961, 1 ) +upper_arm_color = Color( 0.788235, 0.243137, 0.0509804, 1 ) diff --git a/game/src/field/Field.gd b/game/src/field/Field.gd new file mode 100644 index 0000000..5cea0ee --- /dev/null +++ b/game/src/field/Field.gd @@ -0,0 +1,14 @@ +extends Node2D + + + +# Called when the node enters the scene tree for the first time. +func _ready(): + $HomeIcon.set_texture(Global.home_team_icon) + $AwayIcon.set_texture(Global.away_team_icon) + + +func goal_sound(): + if Global.sfx: + $Sounds/GoalCheer.play() + $Sounds/GoalSound.play() diff --git a/game/src/field/Field.tscn b/game/src/field/Field.tscn new file mode 100644 index 0000000..068f6d4 --- /dev/null +++ b/game/src/field/Field.tscn @@ -0,0 +1,207 @@ +[gd_scene load_steps=18 format=2] + +[ext_resource path="res://assets/field.png" type="Texture" id=1] +[ext_resource path="res://src/field/RoundCorners.tscn" type="PackedScene" id=2] +[ext_resource path="res://src/field/Field.gd" type="Script" id=3] +[ext_resource path="res://assets/sounds/horn.wav" type="AudioStream" id=4] +[ext_resource path="res://assets/sounds/commentator/goal.wav" type="AudioStream" id=5] +[ext_resource path="res://assets/sounds/croud.ogg" type="AudioStream" id=6] +[ext_resource path="res://src/actors/commentator/Commentator.tscn" type="PackedScene" id=7] +[ext_resource path="res://src/field/Goals.tscn" type="PackedScene" id=8] +[ext_resource path="res://src/field/wall_physicsmaterial.tres" type="PhysicsMaterial" id=9] +[ext_resource path="res://assets/teams/australian-teams/DoonsideDirtSquirrels.png" type="Texture" id=10] +[ext_resource path="res://assets/broomballcentral.png" type="Texture" id=11] +[ext_resource path="res://assets/teams/australian-teams/BlacktownPirates.png" type="Texture" id=12] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 609.948, 329.61 ) + +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 2825.97, 911.4 ) + +[sub_resource type="RectangleShape2D" id=3] +extents = Vector2( 2835, 1019.37 ) + +[sub_resource type="RectangleShape2D" id=4] +extents = Vector2( 1845.94, 2427.46 ) + +[sub_resource type="RectangleShape2D" id=5] + +[node name="Field" type="Node2D"] +script = ExtResource( 3 ) + +[node name="Goals" parent="." instance=ExtResource( 8 )] + +[node name="Floor" type="TextureRect" parent="."] +margin_right = 180.0 +margin_bottom = 320.0 +rect_scale = Vector2( 4, 4 ) +texture = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MiddleLines" type="Node2D" parent="."] + +[node name="Player" type="StaticBody2D" parent="MiddleLines"] +position = Vector2( 367.549, 586.68 ) +scale = Vector2( 3.95532, 2.63974 ) +collision_layer = 2 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="MiddleLines/Player"] +position = Vector2( 4.66541, -327.745 ) +shape = SubResource( 1 ) + +[node name="Computer" type="StaticBody2D" parent="MiddleLines"] +position = Vector2( 367.939, 687.024 ) +collision_layer = 16 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="MiddleLines/Computer"] +position = Vector2( 0.564331, 330.481 ) +shape = SubResource( 1 ) + +[node name="Border" type="Node2D" parent="."] + +[node name="BottomLeft" type="StaticBody2D" parent="Border"] +collision_layer = 4 +collision_mask = 0 +physics_material_override = ExtResource( 9 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Border/BottomLeft"] +position = Vector2( -2597.18, 2189.16 ) +shape = SubResource( 2 ) + +[node name="BottomRight" type="StaticBody2D" parent="Border"] +position = Vector2( 8, 0 ) +collision_layer = 4 +collision_mask = 0 +physics_material_override = ExtResource( 9 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Border/BottomRight"] +position = Vector2( 3305.87, 2191.39 ) +shape = SubResource( 2 ) + +[node name="TopLeft" type="StaticBody2D" parent="Border"] +position = Vector2( 0, -32 ) +collision_layer = 4 +collision_mask = 0 +physics_material_override = ExtResource( 9 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Border/TopLeft"] +position = Vector2( -2602.88, -987.472 ) +shape = SubResource( 3 ) + +[node name="TopRight" type="StaticBody2D" parent="Border"] +position = Vector2( 1.44995, -31.6168 ) +collision_layer = 4 +collision_mask = 0 +physics_material_override = ExtResource( 9 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Border/TopRight"] +position = Vector2( 3323.1, -987.107 ) +shape = SubResource( 3 ) + +[node name="Left" type="StaticBody2D" parent="Border"] +collision_layer = 4 +collision_mask = 0 +physics_material_override = ExtResource( 9 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Border/Left"] +position = Vector2( -1850.98, 621.366 ) +shape = SubResource( 4 ) + +[node name="Right" type="StaticBody2D" parent="Border"] +collision_layer = 4 +collision_mask = 0 +physics_material_override = ExtResource( 9 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Border/Right"] +position = Vector2( 2565.38, 691.825 ) +shape = SubResource( 4 ) + +[node name="Post" type="Node2D" parent="."] + +[node name="UpLeft" type="StaticBody2D" parent="Post"] +position = Vector2( 224.53, 12.0603 ) +scale = Vector2( 1.45635, 1.45635 ) +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Post/UpLeft"] +position = Vector2( 0, -4.76837e-07 ) +scale = Vector2( 0.856117, 0.856117 ) +shape = SubResource( 5 ) + +[node name="UpRight" type="StaticBody2D" parent="Post"] +position = Vector2( 495.653, 12.3107 ) +scale = Vector2( 1.45635, 1.45635 ) +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Post/UpRight"] +position = Vector2( 0, -4.76837e-07 ) +scale = Vector2( 0.856117, 0.856117 ) +shape = SubResource( 5 ) + +[node name="DownRight" type="StaticBody2D" parent="Post"] +position = Vector2( 495.653, 1268.43 ) +scale = Vector2( 1.45635, 1.45635 ) +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Post/DownRight"] +position = Vector2( 0, -4.76837e-07 ) +scale = Vector2( 0.856117, 0.856117 ) +shape = SubResource( 5 ) + +[node name="DownLeft" type="StaticBody2D" parent="Post"] +position = Vector2( 224.566, 1268.43 ) +scale = Vector2( 1.45635, 1.45635 ) +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Post/DownLeft"] +position = Vector2( 0, -4.76837e-07 ) +scale = Vector2( 0.856117, 0.856117 ) +shape = SubResource( 5 ) + +[node name="RoundCorners" parent="." instance=ExtResource( 2 )] + +[node name="HomeIcon" type="Sprite" parent="."] +self_modulate = Color( 1, 1, 1, 0.470588 ) +position = Vector2( 360, 1030 ) +scale = Vector2( 1.5, 1.5 ) +texture = ExtResource( 12 ) + +[node name="AwayIcon" type="Sprite" parent="."] +self_modulate = Color( 1, 1, 1, 0.470588 ) +position = Vector2( 360, 250 ) +scale = Vector2( 1.5, 1.5 ) +texture = ExtResource( 10 ) +flip_v = true + +[node name="Sounds" type="Node" parent="."] + +[node name="Crowd" type="AudioStreamPlayer2D" parent="Sounds"] +position = Vector2( 368.273, 636.613 ) +stream = ExtResource( 6 ) + +[node name="GoalSound" type="AudioStreamPlayer2D" parent="Sounds"] +position = Vector2( 368.273, 636.613 ) +stream = ExtResource( 4 ) +volume_db = 10.0 + +[node name="GoalCheer" type="AudioStreamPlayer2D" parent="Sounds"] +position = Vector2( 368.273, 636.613 ) +stream = ExtResource( 5 ) + +[node name="Commentator" parent="." instance=ExtResource( 7 )] + +[node name="BroomballCentral" type="Sprite" parent="."] +visible = false +self_modulate = Color( 1, 1, 1, 0.627451 ) +position = Vector2( 368.503, 736 ) +scale = Vector2( 0.3, 0.3 ) +texture = ExtResource( 11 ) diff --git a/game/src/field/Goals.gd b/game/src/field/Goals.gd new file mode 100644 index 0000000..6f79087 --- /dev/null +++ b/game/src/field/Goals.gd @@ -0,0 +1,34 @@ +extends Node2D + +signal home_goal +signal away_goal + +var goal = false + +var timer + +func _ready(): + timer = $Timer + + + +func reset(): + goal = false + +func _on_AwayBallDetector_body_entered(body): + if not goal: + goal = true + timer.start() + emit_signal("home_goal") + + +func _on_HomeBallDetector_body_entered(body): + if not goal: + goal = true + timer.start() + emit_signal("away_goal") + + + +func _on_Timer_timeout(): + goal = false diff --git a/game/src/field/Goals.tscn b/game/src/field/Goals.tscn new file mode 100644 index 0000000..cd8b13d --- /dev/null +++ b/game/src/field/Goals.tscn @@ -0,0 +1,87 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://assets/goal.png" type="Texture" id=1] +[ext_resource path="res://src/field/Goals.gd" type="Script" id=2] + +[sub_resource type="RectangleShape2D" id=1] + +[sub_resource type="RectangleShape2D" id=2] + +[node name="Goals" type="Node2D"] +z_index = 500 +script = ExtResource( 2 ) + +[node name="HomePlayerBlocker" type="StaticBody2D" parent="."] +position = Vector2( 343.727, 1203.97 ) +scale = Vector2( 4.16323, 4.16323 ) +collision_layer = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="HomePlayerBlocker"] +position = Vector2( 3.82773, 53.8267 ) +rotation = -1.5708 +scale = Vector2( 3.58386, 3.6226 ) +shape = SubResource( 1 ) + +[node name="HomeBallDetector" type="Area2D" parent="."] +position = Vector2( 349.142, 1158.84 ) +scale = Vector2( 2.92665, 6.77712 ) +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="HomeBallDetector"] +position = Vector2( 3.82773, 53.8267 ) +rotation = -1.5708 +scale = Vector2( 3.58386, 3.6226 ) +shape = SubResource( 1 ) + +[node name="AwayArea" type="StaticBody2D" parent="."] +position = Vector2( 376.13, 74.529 ) +rotation = 3.14159 +scale = Vector2( 4.16323, 4.16323 ) +collision_layer = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="AwayArea"] +position = Vector2( 3.69254, 54.3482 ) +rotation = -1.5708 +scale = Vector2( 3.61477, 3.65384 ) +shape = SubResource( 2 ) + +[node name="AwayBallDetector" type="Area2D" parent="."] +position = Vector2( 375.097, 138.76 ) +rotation = 3.14159 +scale = Vector2( 2.90435, 7.48628 ) +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="AwayBallDetector"] +position = Vector2( 3.69254, 54.3482 ) +rotation = -1.5708 +scale = Vector2( 3.61477, 3.65384 ) +shape = SubResource( 2 ) + +[node name="AwayGoal" type="TextureRect" parent="."] +margin_left = 210.0 +margin_right = 282.0 +margin_bottom = 6.0 +rect_scale = Vector2( 4.16569, 4.16569 ) +texture = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="HomeGoal" type="TextureRect" parent="."] +margin_left = 210.0 +margin_top = 1254.5 +margin_right = 282.0 +margin_bottom = 1260.5 +rect_scale = Vector2( 4.16569, 4.16569 ) +texture = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Timer" type="Timer" parent="."] +one_shot = true +[connection signal="body_entered" from="HomeBallDetector" to="." method="_on_HomeBallDetector_body_entered"] +[connection signal="body_entered" from="AwayBallDetector" to="." method="_on_AwayBallDetector_body_entered"] +[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] diff --git a/game/src/field/RoundCorners.tscn b/game/src/field/RoundCorners.tscn new file mode 100644 index 0000000..741360d --- /dev/null +++ b/game/src/field/RoundCorners.tscn @@ -0,0 +1,70 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://assets/corner.png" type="Texture" id=1] + +[node name="RoundCorners" type="Node2D"] + +[node name="TopLeft" type="StaticBody2D" parent="."] +position = Vector2( 61.7435, 61.015 ) +scale = Vector2( 6, 6 ) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="TopLeft"] +position = Vector2( -0.362112, 3.17881 ) +polygon = PoolVector2Array( -4.2413, -8.56919, -6.6113, -5.53559, -8.5073, -1.74359, -9.3605, 4.98722, -9.92931, 12.5712, -9.9799, 26.0142, -33.6641, 27.0669, -33.5658, -39.2629, 25.3641, -39.0179, 25.4587, -13.284, 11.4955, -12.7404, 5.23871, -12.2664, 0.5935, -10.9392 ) + +[node name="Sprite" type="Sprite" parent="TopLeft"] +position = Vector2( 2.54276, 2.66417 ) +scale = Vector2( 0.1, 0.1 ) +texture = ExtResource( 1 ) + +[node name="TopRight" type="StaticBody2D" parent="."] +position = Vector2( 679.363, 48.2668 ) +scale = Vector2( -6, 6 ) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="TopRight"] +position = Vector2( 3.0555, 5.22936 ) +polygon = PoolVector2Array( -4.2413, -8.56919, -6.6113, -5.53559, -8.5073, -1.74359, -9.3605, 4.98722, -9.92931, 12.5712, -9.9799, 26.0142, -33.6641, 27.0669, -33.5658, -39.2629, 25.3641, -39.0179, 25.4587, -13.284, 11.4955, -12.7404, 5.23871, -12.2664, 0.5935, -10.9392 ) + +[node name="Sprite" type="Sprite" parent="TopRight"] +position = Vector2( 6.06049, 4.78886 ) +rotation = -3.14159 +scale = Vector2( -0.1, -0.1 ) +texture = ExtResource( 1 ) + +[node name="DownLeft" type="StaticBody2D" parent="."] +position = Vector2( 77.5497, 1224.48 ) +scale = Vector2( -6, -6 ) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="DownLeft"] +position = Vector2( 2.98274, 4.12748 ) +scale = Vector2( -1, 1 ) +polygon = PoolVector2Array( -4.2413, -8.56919, -6.6113, -5.53559, -8.5073, -1.74359, -9.3605, 4.98722, -9.92931, 12.5712, -9.9799, 26.0142, -33.6641, 27.0669, -33.5658, -39.2629, 25.3641, -39.0179, 25.4587, -13.284, 11.4955, -12.7404, 5.23871, -12.2664, 0.5935, -10.9392 ) + +[node name="Sprite" type="Sprite" parent="DownLeft"] +position = Vector2( 0.091629, 3.57996 ) +rotation = 3.14159 +scale = Vector2( 0.1, -0.1 ) +texture = ExtResource( 1 ) + +[node name="DownRight" type="StaticBody2D" parent="."] +position = Vector2( 641.72, 1230.74 ) +scale = Vector2( 6, -6 ) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="DownRight"] +position = Vector2( 3.0555, 5.22936 ) +scale = Vector2( -1, 1 ) +polygon = PoolVector2Array( -4.2413, -8.56919, -6.6113, -5.53559, -8.5073, -1.74359, -9.3605, 4.98722, -9.92931, 12.5712, -9.9799, 26.0142, -33.6641, 27.0669, -33.5658, -39.2629, 25.3641, -39.0179, 25.4587, -13.284, 11.4955, -12.7404, 5.23871, -12.2664, 0.5935, -10.9392 ) + +[node name="Sprite" type="Sprite" parent="DownRight"] +position = Vector2( 0.213379, 4.62329 ) +rotation = -3.14159 +scale = Vector2( 0.1, -0.1 ) +texture = ExtResource( 1 ) diff --git a/game/src/field/wall_physicsmaterial.tres b/game/src/field/wall_physicsmaterial.tres new file mode 100644 index 0000000..bb4e494 --- /dev/null +++ b/game/src/field/wall_physicsmaterial.tres @@ -0,0 +1,5 @@ +[gd_resource type="PhysicsMaterial" format=2] + +[resource] +friction = 0.0 +bounce = 1.0 diff --git a/game/src/global/ChillMusic.gd b/game/src/global/ChillMusic.gd new file mode 100644 index 0000000..01d992e --- /dev/null +++ b/game/src/global/ChillMusic.gd @@ -0,0 +1,22 @@ +extends AudioStreamPlayer2D + + +var tween_out +var tween_in + +export var transition_duration = 0.5 +export var transition_type = 1 # TRANS_SINE + +func _ready(): + tween_out = Tween.new() + tween_in = Tween.new() + add_child(tween_out) + add_child(tween_in) + +func fade_out(): + tween_out.interpolate_property(self, "volume_db", 0, -80, transition_duration, transition_type, Tween.EASE_IN, 0) + tween_out.start() + +func fade_in(): + tween_in.interpolate_property(self, "volume_db", -80, 0, transition_duration, transition_type, Tween.EASE_IN, 0) + tween_in.start() diff --git a/game/src/global/Global.gd b/game/src/global/Global.gd new file mode 100644 index 0000000..acbb9ec --- /dev/null +++ b/game/src/global/Global.gd @@ -0,0 +1,588 @@ +extends Node + +var version = "7" + +var first_fade_in = true + +var sfx +var music +var coins +var config + +var locale + +var league_prize_rewarded +var worldcup_prize_rewarded + +var music_loop + +const speed_factor = 1.5 +const power_factor = 80 + +var unlocked_team_ids + +var home_team_icon +var home_team_name +var home_team_colors + +var away_team_icon +var away_team_name +var away_team_colors + +var home_team_speed +var home_team_power +var away_team_speed +var away_team_power + +var league_started + + +# league +var teams +var matches = [] +var selected_squad + +# worldcup +var is_worldcup +#var is_group_stage # if group stage or final stage +var is_in_worlcup # if group stage or final stage + +# to save teams for table, but matches has normal matches so no new var is needed +var groups = [] +var final_teams = [] + + +var match_day +var current_league_game + +var first_open +var show_pop_up = false + +var arcade_highscore +var arcade_speed +var arcade_power +var arcade_freeze + +var league_stats +var current_league_name + +# SHOP +var unlocked_helmets +var unlocked_balls +var unlocked_sticks +var unlocked_gloves + +var round_limit = 5 + +func _ready(): + randomize() + +func set_up(): + load_data() + + TranslationServer.set_locale(locale) + + print(locale) + + # to unlock national teams +# for i in range(-1,-20,-1): +# unlocked_team_ids.append(i) + + if first_open: + first_open = false + show_pop_up = true +# new_league() +# save_all_data() + config.set_value("first_open", version,first_open) + save() + + if music == "chill": + music_loop = $ChillMusic + if music == "energetic": + music_loop = $Music + + if music == "off": + music_loop = $ChillMusic + AudioServer.set_bus_mute(AudioServer.get_bus_index("Music"), true) + + music_loop.play() + + if not sfx: + AudioServer.set_bus_mute(AudioServer.get_bus_index("Sfx"), true) + +func load_data(): + config = ConfigFile.new() + config.load("user://settings.cfg") + + # general + locale = config.get_value("i18n", "locale", locale_to_lang(TranslationServer.get_locale())) + first_open = config.get_value("first_open", version, true) + sfx = config.get_value("sound", "sfx", true) + music = config.get_value("sound", "music-type", "chill") + coins = config.get_value("coins", "amount", 0) + + #league + league_prize_rewarded = config.get_value("league", "prize_rewarded", false) + matches = config.get_value("league", "matches", []) + match_day = config.get_value("league", "match_day", 0) + unlocked_team_ids = config.get_value("league", "unlocked_team_ids", [1,2,-1,-2]) + + #unlock india and germany, if not unlocked yet + if not -1 in unlocked_team_ids: + unlocked_team_ids.append(-1) + unlocked_team_ids.append(-2) + + league_started = config.get_value("league", "league_started", false) + selected_squad = config.get_value("league", "selected_squad", "vikings") + if not config.has_section_key("league", "statistics"): + league_stats = {} + for league in Teams.leagues: + var league_stat = { + "win" : 0, + "played" : 0 + } + league_stats[league["name"]] = league_stat + else: + league_stats = config.get_value("league", "statistics") + current_league_name = config.get_value("league", "current_league_name", 0) + teams = config.get_value("league","teams", []) + + # arcade + arcade_highscore = config.get_value("arcade", "highscore", 0) + arcade_speed = config.get_value("arcade", "speed", 1) + arcade_power = config.get_value("arcade", "power", 1) + arcade_freeze = config.get_value("arcade", "freeze", 1) + + # worldcup + is_worldcup = config.get_value("worldcup","is_worldcup", false) + is_in_worlcup = config.get_value("worldcup","is_in_worlcup", false) + groups = config.get_value("worldcup", "groups", []) + final_teams = config.get_value("worldcup", "final_teams", []) +# is_group_stage = config.get_value("worldcup", "is_group_stage", true) + +#TODO MAKE SAFE GENERAL, SAFE arcade etc... + +func save_all_data(): + # general + config.set_value("i18n", "locale", locale) + config.set_value("first_open", version,first_open) + config.set_value("coins","amount",coins) + config.set_value("sound","sfx",sfx) + config.set_value("sound","music-type",music) + + # league + config.set_value("league","match_day", match_day) + config.set_value("league","league_started", league_started) + config.set_value("league","unlocked_team_ids", unlocked_team_ids) + config.set_value("league","selected_squad", selected_squad) + config.set_value("league","teams", teams) + config.set_value("league", "prize_rewarded", league_prize_rewarded) + config.set_value("league","matches", matches) + config.set_value("league", "statistics", league_stats) + config.set_value("league", "current_league_name", current_league_name) + + # arcade + config.set_value("arcade", "highscore", arcade_highscore) + config.set_value("arcade", "speed", arcade_speed) + config.set_value("arcade", "power", arcade_power) + config.set_value("arcade", "freeze", arcade_freeze) + + # worldcup + config.set_value("worldcup","is_worldcup", is_worldcup) + config.set_value("worldcup","is_in_worlcup", is_in_worlcup) +# config.set_value("worldcup","is_group_stage", is_group_stage) + config.set_value("worldcup","final_teams", final_teams) + config.set_value("worldcup","groups", groups) + + + save() + +func locale_to_lang(_locale): + if "en" in _locale: + return "en" + elif "de" in _locale: + return "de" + elif "it" in _locale: + return "eit" + else: + return "en" + +func increase_stats(): + if is_worldcup: + if final_teams[0]["name"] == selected_squad: + league_stats[current_league_name]["played"] += 1 + league_stats[current_league_name]["win"] += 1 + else: + league_stats[current_league_name]["played"] += 1 + else: + for team in teams: + if team["name"] == selected_squad: + if team["position"] == 0: + league_stats[current_league_name]["played"] += 1 + league_stats[current_league_name]["win"] += 1 + else: + league_stats[current_league_name]["played"] += 1 + +func fade_in_goals(): + $AnimationPlayer.play("FadeIn") + +func _find_team(name): + for team in teams: + if team["name"] == name: + return team + return null + +func toggle_music(): + if music == "off": + music = "chill" + music_loop.stop() + music_loop = $ChillMusic + music_loop.play() + AudioServer.set_bus_mute(AudioServer.get_bus_index("Music"), false) + elif music == "chill": + music = "energetic" + music_loop.stop() + music_loop = $Music + music_loop.play() + else: + music = "off" + AudioServer.set_bus_mute(AudioServer.get_bus_index("Music"), true) + config.set_value("sound","music-type",music) + save() + + + +func save(): + config.save("user://settings.cfg") + + +func game_over(home_goals,away_goals, simulation = false): + if current_league_game != null or simulation: + if is_worldcup: + + # group stage TODO make better since league after 6 is broken + if match_day < 5: # 5 = 6 - 1 because 24 + 24 ritorno + random_world_cup_results() + _save_current_game(home_goals, away_goals) + elif match_day == 5: # create final stage + random_world_cup_results() + _save_current_game(home_goals, away_goals) + +# is_group_stage = false + + create_quarter_finals() + + elif match_day == 6: # semi stage + # calc random results, HOW TO SIMULATE IF NOT PLAYING ANYMORE? + # prize is given after cup finished + final_teams = [] + + + if not simulation: + _save_current_game(home_goals, away_goals) + if home_goals > away_goals: # win, go to seminfinals + final_teams.append(current_league_game["home"]) + else: + final_teams.append(current_league_game["away"]) + + # random result for other matches + for i in range(-5,-1): + if matches[i+1]["home"]["name"] != selected_squad: + if randi()%2 == 0: + final_teams.append(matches[i+1]["home"]) + matches[i+1]["result"] = str(5) + ":" + str(randi()%5) + else: + final_teams.append(matches[i+1]["away"]) + matches[i+1]["result"] = str(randi()%5) + ":" + str(5) + + if final_teams.size() != 4: + print("ERROR SEMI FINAL TEAMS ARE NOT 4") + + matches.append({"home": final_teams[0],"away":final_teams[1], "result":":"}) + matches.append({"home": final_teams[2],"away":final_teams[3], "result":":"}) + + + + elif match_day == 7: # semi final + final_teams = [] + + if not simulation: + _save_current_game(home_goals, away_goals) + if home_goals > away_goals: # win, go to seminfinals + final_teams.append(current_league_game["home"]) + else: + final_teams.append(current_league_game["away"]) + else: + if randi()%2 == 0: + final_teams.append(matches[-2]["home"]) + matches[-2]["result"] = str(5) + ":" + str(randi()%5) + else: + final_teams.append(matches[-2]["away"]) + matches[-2]["result"] = str(randi()%5) + ":" + str(5) + + # random result for other matches + if randi()%2 == 0: + final_teams.append(matches[-1]["home"]) + matches[-1]["result"] = str(5) + ":" + str(randi()%5) + else: + final_teams.append(matches[-1]["away"]) + matches[-1]["result"] = str(randi()%5) + ":" + str(5) + + # add final match + matches.append({"home": final_teams[0],"away": final_teams[1], "result":":"}) + else: + final_teams = [] + # FINAL finished, worldcup end + + if not simulation: + _save_current_game(home_goals, away_goals) + + if home_goals > away_goals: + final_teams.append(current_league_game["home"]) + else: + final_teams.append(current_league_game["away"]) + else: + if randi()%2 == 0: + final_teams.append(matches[-1]["home"]) + matches[-1]["result"] = str(5) + ":" + str(randi()%5) + else: + final_teams.append(matches[-1]["away"]) + matches[-1]["result"] = str(randi()%5) + ":" + str(5) + + + + # normal league + else: + random_results() + _save_current_game(home_goals, away_goals) + + + + match_day += 1 + + # sort teams with points + if is_worldcup: + for group in groups: + group.sort_custom(PointsSorter, "sort") + else: + teams.sort_custom(PointsSorter, "sort") + for i in range(0,teams.size()): + teams[i]["position"] = i + + + current_league_game = null + + save_all_data() + +func create_quarter_finals(): + # create final teams + final_teams.append(groups[0][0]) # A1 + final_teams.append(groups[0][1]) # A2 + + final_teams.append(groups[1][0]) # B1 + final_teams.append(groups[1][1]) # B2 + + final_teams.append(groups[2][0]) # C1 + final_teams.append(groups[2][1]) # C2 + + final_teams.append(groups[3][0]) # D1 + final_teams.append(groups[3][1]) # D2 + + matches.append({"home": groups[0][0],"away":groups[1][1], "result":":"}) + matches.append({"home": groups[1][0],"away":groups[2][1], "result":":"}) + matches.append({"home": groups[2][0],"away":groups[3][1], "result":":"}) + matches.append({"home": groups[3][0],"away":groups[0][1], "result":":"}) + + # make sure you play always at home + for i in range(-5, -1, 1): + if matches[i]["away"]["name"] == selected_squad: + matches[i] = {"home": matches[i]["away"],"away":matches[i]["home"], "result":":"} + break # finished for sure + + +func _save_current_game(home_goals,away_goals): + if not current_league_game is String: + var home_team = _get_team_from_name(current_league_game["home"]["name"]) + var away_team = _get_team_from_name(current_league_game["away"]["name"]) + + if away_team["id"] != 0: + if home_goals > away_goals: + home_team["wins"] += 1 + home_team["points"] += 3 + away_team["lost"] += 1 + else: + away_team["wins"] += 1 + away_team["points"] += 3 + home_team["lost"] += 1 + + away_team["goal_difference"] += away_goals - home_goals + home_team["goal_difference"] += home_goals - away_goals + + current_league_game["result"] = str(home_goals) + " : " + str(away_goals) + +func random_world_cup_results(): + + var from = match_day * 8 # 8 because worlcup teams are 16? + var to = (match_day + 1) * 8 + for i in range(from,to): + if matches[i]["home"]["name"] != selected_squad and matches[i]["away"]["name"] != selected_squad: + var home_team = _get_team_from_name(matches[i]["home"]["name"]) + var away_team = _get_team_from_name(matches[i]["away"]["name"]) + + var home_win = randi()&1 + var home_goals + var away_goals + + # break team + if home_team["id"] == 0: + away_goals = 0 + home_goals = 0 + elif away_team["id"] == 0: + home_goals = 0 + away_goals = 0 + + + elif home_win: + home_goals = 5 + away_goals = randi()%5 + home_team["wins"] += 1 + home_team["points"] += 3 + away_team["lost"] += 1 + else: + away_goals = 5 + home_goals = randi()%5 + away_team["wins"] += 1 + away_team["points"] += 3 + home_team["lost"] += 1 + + away_team["goal_difference"] += away_goals - home_goals + home_team["goal_difference"] += home_goals - away_goals + + matches[i]["result"] = str(home_goals) + " : " + str(away_goals) + + +func random_results(): + var from = match_day * (teams.size() / 2) + var to = (match_day + 1) * (teams.size() / 2) + + for i in range(from,to): + if matches[i]["home"]["name"] != selected_squad and matches[i]["away"]["name"] != selected_squad: + var home_team = _get_team_from_name(matches[i]["home"]["name"]) + var away_team = _get_team_from_name(matches[i]["away"]["name"]) + + var home_win = randi()&1 + var home_goals + var away_goals + + # break team + if home_team["id"] == 0: + away_goals = 0 + home_goals = 0 + elif away_team["id"] == 0: + home_goals = 0 + away_goals = 0 + + elif home_win: + home_goals = 5 + away_goals = randi()%5 + home_team["wins"] += 1 + home_team["points"] += 3 + away_team["lost"] += 1 + else: + away_goals = 5 + home_goals = randi()%5 + away_team["wins"] += 1 + away_team["points"] += 3 + home_team["lost"] += 1 + + away_team["goal_difference"] += away_goals - home_goals + home_team["goal_difference"] += home_goals - away_goals + + matches[i]["result"] = str(home_goals) + " : " + str(away_goals) + + + +func add_coins(more): + coins += more + config.set_value("coins","amount",coins) + save() + +func set_home_team(team): + if team != null: + home_team_name = team.name + home_team_power = team.power + home_team_speed = team.speed + home_team_colors = team.colors + home_team_icon = team.get("icon") + else: + home_team_icon = null + + +func set_away_team(team): + if team != null: + away_team_name = team.name + away_team_power = team.power + away_team_speed = team.speed + away_team_colors = team.colors + away_team_icon = team.get("icon") + else: + away_team_icon = null + +func new_league(): + league_started = false + teams = [] + matches = [] + + groups = [] + final_teams = [] + +# is_group_stage = true + is_in_worlcup = false + is_worldcup = false + + match_day = 0 + current_league_game = null + selected_squad = "" + league_prize_rewarded = false + save_all_data() + +func use_coins(less): + if coins - less < 0: + return false + coins -= less + config.set_value("coins","amount",coins) + save() + return true + +# to play sound on ui click +func click(): + if sfx: + $Click.play() + +# to save on close +func _notification(event): + if event == MainLoop.NOTIFICATION_WM_GO_BACK_REQUEST or event == MainLoop.NOTIFICATION_WM_QUIT_REQUEST: + if current_league_game != null: + game_over(0,5) # game over a tavolino on exit + save_all_data() + + +class PointsSorter: + static func sort(a, b): + if a["points"] > b["points"] or (a["points"] == b["points"] and a["goal_difference"] > b["goal_difference"]): + return true + return false + + +func _get_team_from_name(name): + if is_worldcup: + for group in groups: + for team in group: + if name == team["name"]: + return team + return null + else: + for team in teams: + if name == team["name"]: + return team + return null diff --git a/game/src/global/Global.tscn b/game/src/global/Global.tscn new file mode 100644 index 0000000..b3331f2 --- /dev/null +++ b/game/src/global/Global.tscn @@ -0,0 +1,66 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://src/global/Global.gd" type="Script" id=1] +[ext_resource path="res://assets/sounds/click.wav" type="AudioStream" id=2] +[ext_resource path="res://assets/sounds/music.wav" type="AudioStream" id=3] +[ext_resource path="res://src/global/Music.gd" type="Script" id=4] +[ext_resource path="res://src/field/RoundCorners.tscn" type="PackedScene" id=6] +[ext_resource path="res://assets/sounds/chill-music.wav" type="AudioStream" id=7] + +[sub_resource type="Animation" id=1] +resource_name = "FadeIn" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("RoundCorners:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( -56, -112 ), Vector2( 0, 0 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("RoundCorners:scale") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 1.15, 1.15 ), Vector2( 1, 1 ) ] +} + +[node name="Global" type="Node2D"] +script = ExtResource( 1 ) + +[node name="Click" type="AudioStreamPlayer2D" parent="."] +position = Vector2( 352, 664 ) +stream = ExtResource( 2 ) +bus = "Sfx" + +[node name="Music" type="AudioStreamPlayer2D" parent="."] +pause_mode = 2 +position = Vector2( 352, 664 ) +stream = ExtResource( 3 ) +bus = "Music" +script = ExtResource( 4 ) + +[node name="ChillMusic" type="AudioStreamPlayer2D" parent="."] +pause_mode = 2 +position = Vector2( 352, 664 ) +stream = ExtResource( 7 ) +bus = "Music" +script = ExtResource( 4 ) + +[node name="RoundCorners" parent="." instance=ExtResource( 6 )] +position = Vector2( -56, -112 ) +scale = Vector2( 1.15, 1.15 ) +z_index = 3 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 1 ) diff --git a/game/src/global/Music.gd b/game/src/global/Music.gd new file mode 100644 index 0000000..01d992e --- /dev/null +++ b/game/src/global/Music.gd @@ -0,0 +1,22 @@ +extends AudioStreamPlayer2D + + +var tween_out +var tween_in + +export var transition_duration = 0.5 +export var transition_type = 1 # TRANS_SINE + +func _ready(): + tween_out = Tween.new() + tween_in = Tween.new() + add_child(tween_out) + add_child(tween_in) + +func fade_out(): + tween_out.interpolate_property(self, "volume_db", 0, -80, transition_duration, transition_type, Tween.EASE_IN, 0) + tween_out.start() + +func fade_in(): + tween_in.interpolate_property(self, "volume_db", -80, 0, transition_duration, transition_type, Tween.EASE_IN, 0) + tween_in.start() diff --git a/game/src/global/Server.gd b/game/src/global/Server.gd new file mode 100644 index 0000000..9db2da0 --- /dev/null +++ b/game/src/global/Server.gd @@ -0,0 +1,25 @@ +extends Node + +puppet var remote_ball_pos +puppet var away_pos +puppetsync var touch_pos + +func set_up(): + var network = NetworkedMultiplayerENet.new() + network.create_client("192.168.1.12", 4242) + get_tree().set_network_peer(network) +# network.connect("connection_failed",self,"_on_connection_failed") + +func search_game(): + rpc_id(1,"search_game") + +func set_pos(pos): +# rpc_unreliable_id(1,"touch_pos",get_tree().get_network_unique_id(),pos) + rset_unreliable("touch_pos", pos) + +remote func away_pos(pos): + away_pos = pos + +remote func ball_pos(pos): +# print(pos) + remote_ball_pos = pos diff --git a/game/src/global/Teams.gd b/game/src/global/Teams.gd new file mode 100644 index 0000000..2fdf6e3 --- /dev/null +++ b/game/src/global/Teams.gd @@ -0,0 +1,541 @@ +extends Node + +var leagues + +var ita_teams +var maritime_teams +var north_american_teams +var swiss_teams +var international_teams +var international_women_teams +var australian_teams +var ontario_teams +var world_cup_teams + + +var break_team + + +#lasy ID 92 + +func load_teams(): + + var break_icon = load("res://assets/gamebreak.png") + + break_team = {"colors" : ["#eed220", "#313431", "#e6eaee"], "short_name" : "BRK","id" : 0, "name":"Game break","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 1, + "lost":0, "icon" : break_icon, "goal_difference":0, "price":0} + + + _load_ita_teams() + _load_maritime_teams() + _load_north_american_teams() + _load_swiss_league() + _load_international_teams() + _load_internationa_women_teams() + _load_australian_teams() + _load_ontario_teams() + _load_worldcup_teams() + leagues = [{"name":"World Cup", "teams" : world_cup_teams, "played" : 0, "won" : 0}, + {"name":"Italian Broomball League", "teams" : ita_teams, "played" : 0, "won" : 0}, + {"name":"Maritime Broomball Association", "teams":maritime_teams, "played" : 0, "won" : 0}, + {"name":"North American League", "teams" : north_american_teams, "played" : 0, "won" : 0}, + {"name":"Swiss Broomball Association", "teams" : swiss_teams, "played" : 0, "won" : 0}, + {"name":"International League", "teams" : international_teams, "played" : 0, "won" : 0}, + {"name":"International Women League", "teams" : international_women_teams, "played" : 0, "won" : 0}, + {"name":"Penrith Broomball Competition", "teams" : australian_teams, "played" : 0, "won" : 0}, + {"name":"Ontario League", "teams" : ontario_teams, "played" : 0, "won" : 0}, + ] + + + +func _load_ita_teams(): + var vikings_icon = load("res://assets/teams/italian-teams/leifers.png") + var badboys_icon = load("res://assets/teams/italian-teams/badboys.png") + var bcbelluno_icon = load("res://assets/teams/italian-teams/belluno.png") + var blackwolves_icon = load("res://assets/teams/italian-teams/pochi.png") + var bulldogs_icon = load("res://assets/teams/italian-teams/neumarkt.png") + var groeden_icon = load("res://assets/teams/italian-teams/groeden.png") + var neumarkt_icon = load("res://assets/teams/italian-teams/neumarkt.png") + var pochi_icon = load("res://assets/teams/italian-teams/pochi.png") + var sharks_icon = load("res://assets/teams/italian-teams/sharks.png") + var stilfes_icon = load("res://assets/teams/italian-teams/stilfes.png") + var agordino_bears_icon = load("res://assets/teams/italian-teams/agordino-bears.png") + var dolomiti_warriors_icon = load("res://assets/teams/italian-teams/dolomiti-warriors.png") + + ita_teams = [ + {"colors" : ["#EA2129", "#FFFFFF", "#EA2129"], "short_name" : "BDN","id" : 1, "name":"Bulldogs","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 1, + "lost":0, "icon" : bulldogs_icon, "goal_difference":0, "price":0}, + {"colors" : ["#F6F121", "#1E56A6", "#e6eaee"], "short_name" : "BCB","id" : 2, "name":"BC Belluno","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 2, + "lost":0, "icon" : bcbelluno_icon, "goal_difference":0, "price":0}, + {"colors" : ["#ED1C24", "#231F20", "#e6eaee"], "short_name" : "BBS","id" : 3, "name":"Badboys Steinhaus","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 2, + "lost":0, "icon" : badboys_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#F6DB34", "#000000", "#e6eaee"], "short_name" : "PBW","id" : 4, "name":"Blackwolves","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :4, "power" : 3, + "lost":0, "icon" : blackwolves_icon, "goal_difference": 0, "price":20000}, + {"colors" : ["#3BAA34", "#442F1D", "#e6eaee"], "short_name" : "AGB","id" : 20, "name":"Agordino Bears","position": 12, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :4, "power" : 5, + "lost":0, "icon" : agordino_bears_icon, "goal_difference": 0, "price":30000}, + {"colors" : ["#000000", "#F6DB34", "#e6eaee"], "short_name" : "P89","id" : 7, "name":"Pochi 89","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 4, + "lost":0, "icon" : pochi_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#FF1416", "#FFB02F", "#e6eaee"], "short_name" : "RDS","id" : 9, "name":"Red Devils","position": 8, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 2, + "lost":0, "icon" : stilfes_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#6D1517", "#DCA409", "#e6eaee"], "short_name" : "BCG","id" : 5, "name":"ASV Groeden","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 4, + "lost":0, "icon" : groeden_icon, "goal_difference":0, "price":40000}, + {"colors" : ["#FFFFFF", "#EA2129", "#e6eaee"], "short_name" : "NKT","id" : 6, "name":"Neumarkt","position": 5, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 7, + "lost":0, "icon" : neumarkt_icon, "goal_difference":0, "price":40000}, + {"colors" : ["#E02333", "#FBFAFE", "#e6eaee"], "short_name" : "VKS","id" : 10, "name":"Vikings","position": 9, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 6, + "lost":0, "icon" : vikings_icon, "goal_difference":0 , "price": 50000}, + {"colors" : ["#9BC1F1", "#FCFCFC", "#e6eaee"], "short_name" : "SRK","id" : 8, "name":"Sharks","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 9, + "lost":0, "icon" : sharks_icon, "goal_difference":0, "price":100000}, + {"colors" : ["#1E6F39", "#B7B7B7", "#e6eaee"], "short_name" : "DOW","id" : 19, "name":"Dolomiti Warriors","position": 11, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 9, "power" : 10, + "lost":0, "icon" : dolomiti_warriors_icon, "goal_difference":0, "price":100000} + ] + + +func _load_maritime_teams(): + var tatamagouche_icon = load("res://assets/teams/maritime-teams/tatamagouche_broomball.png") + var brooklyn_knights_icon = load("res://assets/teams/maritime-teams/brooklyn_knights.png") + var neguac_lumberjacks_icon = load("res://assets/teams/maritime-teams/neguac_lumberjacks.png") + var avondale_lackbear_icon = load("res://assets/teams/maritime-teams/avondale_blackbear.png") + var hants_bruins_icon = load("res://assets/teams/maritime-teams/hants_bruins.png") + var nor_easters_icon = load("res://assets/teams/maritime-teams/nor_easters.png") + var lobster_fishermen_icon = load("res://assets/teams/maritime-teams/maritime_lobster_fishermen.png") + var most_wanted_icon = load("res://assets/teams/maritime-teams/most_wanted.png") + + + + maritime_teams = [ + {"colors" : ["#D1052A", "#E6C18A", "#e6eaee"], "short_name" : "TBC","id" : 11, "name":"Tatamagouche BC","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 6, + "lost":0, "icon" : tatamagouche_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#024F2F", "#D7D6DB", "#e6eaee"], "short_name" : "BKN","id" : 12, "name":"Brooklyn Knights","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 4, + "lost":0, "icon" : brooklyn_knights_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#E94243", "#96D8E8", "#e6eaee"], "short_name" : "NLJ","id" : 13, "name":"Neguac Lumberjacks","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 7, + "lost":0, "icon" : neguac_lumberjacks_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#707271", "#0C0C0C", "#e6eaee"], "short_name" : "ABB","id" : 14, "name":"Avondale Blackbear","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 6, + "lost":0, "icon" : avondale_lackbear_icon, "goal_difference": 0, "price":40000}, + {"colors" : ["#F3A250", "#3F2808", "#e6eaee"], "short_name" : "HBB","id" : 15, "name":"Hants Bruins","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 7, + "lost":0, "icon" : hants_bruins_icon, "goal_difference":0, "price":50000}, + {"colors" : ["#EF0805", "#080564", "#e6eaee"], "short_name" : "NRE","id" : 16, "name":"Nor Easters","position": 5, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :9, "power" : 5, + "lost":0, "icon" : nor_easters_icon, "goal_difference":0, "price":60000}, + {"colors" : ["#FE0000", "#EEEEEE", "#e6eaee"], "short_name" : "LFM","id" : 17, "name":"Lobster Fishermen","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 9, + "lost":0, "icon" : lobster_fishermen_icon, "goal_difference":0, "price":80000}, + {"colors" : ["#DA251C", "#BBBBBB", "#e6eaee"], "short_name" : "MWB","id" : 18, "name":"Most Wanted","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 9, "power" : 10, + "lost":0, "icon" : most_wanted_icon, "goal_difference":0, "price":120000} + ] + + +func _load_north_american_teams(): + var boston_icon = load("res://assets/teams/north-american-league/boston.png") + var wizards_icon = load("res://assets/teams/north-american-league/wizards.png") + var capitol_icon = load("res://assets/teams/north-american-league/capitol.png") + var charmcity_icon = load("res://assets/teams/north-american-league/charmcity.png") + var juvenile_boys_quebec_icon = load("res://assets/teams/north-american-league/juvenile-boys-quebec.png") + var juvenile_girls_quebec_icon = load("res://assets/teams/north-american-league/juvenile-girls-quebec.png") + var senior_women_quebec_icon = load("res://assets/teams/north-american-league/senior-women-quebec.png") + var roadrunners_icon = load("res://assets/teams/north-american-league/roadrunners.png") + var cleveland_icon = load("res://assets/teams/north-american-league/cleveland.png") + var regulators_icon = load("res://assets/teams/north-american-league/regulators.png") + var broomshack_icon = load("res://assets/teams/north-american-league/broom-shack.png") + var steels_icon = load("res://assets/teams/north-american-league/steeld.png") + var minesota_icon = load("res://assets/teams/north-american-league/minesota.png") + var kelly_lake_icon = load("res://assets/teams/north-american-league/kellylake.png") + var ottawa_icon = load("res://assets/teams/north-american-league/ottawa.png") + var top_shelf_icon = load("res://assets/teams/north-american-league/top-shelf.png") + + north_american_teams = [ + {"colors" : ["#7C4B5B", "#D5B795", "#e6eaee"], "short_name" : "SWQ","id" : 21, "name":"SR Women Quebec","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 3, + "lost":0, "icon" : senior_women_quebec_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#000000", "#FFFFFF", "#e6eaee"], "short_name" : "REG","id" : 22, "name":"Regulators","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 3, "power" : 5, + "lost":0, "icon" : regulators_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#232962", "#94C8D8", "#e6eaee"], "short_name" : "RUN","id" : 23, "name":"Road Runners","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 3, "power" : 6, + "lost":0, "icon" : roadrunners_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#D5B795", "#7C4B5B", "#e6eaee"], "short_name" : "JGQ","id" : 24, "name":"Juvenile Girls Quebec","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 5, + "lost":0, "icon" : juvenile_girls_quebec_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#0F4C8B", "#61A8DC", "#e6eaee"], "short_name" : "CHC","id" : 25, "name":"Charm City","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 7, + "lost":0, "icon" : charmcity_icon, "goal_difference": 0, "price":40000}, + {"colors" : ["#D5D5D5", "#131313", "#e6eaee"], "short_name" : "CPT","id" : 26, "name":"Capitol","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 5, + "lost":0, "icon" : capitol_icon, "goal_difference":0, "price":50000}, + {"colors" : ["#6281B6", "#000000", "#e6eaee"], "short_name" : "KEL","id" : 88, "name":"Kelly Lake","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 6, + "lost":0, "icon" : kelly_lake_icon, "goal_difference":0, "price":50000}, + {"colors" : ["#000300", "#DEA549", "#e6eaee"], "short_name" : "STE","id" : 43, "name":"Steels","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 8, + "lost":0, "icon" : steels_icon, "goal_difference":0, "price":60000}, + {"colors" : ["#002E62", "#FED430", "#e6eaee"], "short_name" : "BST","id" : 27, "name":"Boston Broomball","position": 5, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :8, "power" : 7, + "lost":0, "icon" : boston_icon, "goal_difference":0, "price":70000}, + {"colors" : ["#FEFEFE", "#040404", "#e6eaee"], "short_name" : "CLV","id" : 28, "name":"Cleveland Broomball","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 10, + "lost":0, "icon" : cleveland_icon, "goal_difference":0, "price":80000}, + {"colors" : ["#FF6633", "#000000", "#e6eaee"], "short_name" : "BSH","id" : 44, "name":"Broom Shack","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 6, + "lost":0, "icon" : broomshack_icon, "goal_difference":0, "price":90000}, + {"colors" : ["#841D2E", "#F8FAFA", "#e6eaee"], "short_name" : "JBQ","id" : 29, "name":"Juvenile Boys Quebec","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 9, + "lost":0, "icon" : juvenile_boys_quebec_icon, "goal_difference":0, "price":90000}, + {"colors" : ["#F07A2E", "#495458", "#e6eaee"], "short_name" : "TOP","id" : 90, "name":"Top Shelf","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 6, + "lost":0, "icon" : top_shelf_icon, "goal_difference":0, "price":100000}, + {"colors" : ["#EE1D23", "#F48222", "#e6eaee"], "short_name" : "WIZ","id" : 30, "name":"Wizards","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 9, "power" : 9, + "lost":0, "icon" : wizards_icon, "goal_difference":0, "price":120000}, + {"colors" : ["#EC2427", "#FFFF33", "#e6eaee"], "short_name" : "MIN","id" : 87, "name":"Minnesota Flames","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 10, + "lost":0, "icon" : minesota_icon, "goal_difference":0, "price":150000}, + {"colors" : ["#FFFFFF", "#A70101", "#e6eaee"], "short_name" : "OTW","id" : 89, "name":"Ottawa Nationals","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 10, + "lost":0, "icon" : ottawa_icon, "goal_difference":0, "price":150000} + ] + +func _load_swiss_league(): + var maple_leafs_icon = load("res://assets/teams/swiss-teams/lusanne.png") + var black_hawks_icon = load("res://assets/teams/swiss-teams/blackhawks.png") + var bcv_icon = load("res://assets/teams/swiss-teams/bcv.png") + var bills_icon = load("res://assets/teams/swiss-teams/bills.png") + var green_foxes_icon = load("res://assets/teams/swiss-teams/greenfoxes.png") + var stags_icon = load("res://assets/teams/swiss-teams/stags.png") + var rangers_icon = load("res://assets/teams/swiss-teams/rangers.png") + var juen_icon = load("res://assets/teams/swiss-teams/jeunsteam.png") + var spartak_icon = load("res://assets/teams/swiss-teams/spartak.png") + var savigny_icon = load("res://assets/teams/swiss-teams/savigny.png") + var union_icon = load("res://assets/teams/swiss-teams/union.png") + + swiss_teams = [ + {"colors" : ["#55FA05", "#000000", "#e6eaee"], "short_name" : "GF2","id" : 37, "name":"Green Foxes 2","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 3, "power" : 4, + "lost":0, "icon" : green_foxes_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#000000", "#FFFFFF", "#e6eaee"], "short_name" : "RNG","id" : 38, "name":"Ranger's","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 2, + "lost":0, "icon" : rangers_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#692B95", "#BAB6B7", "#e6eaee"], "short_name" : "JEU","id" : 39, "name":"Jeun's Team","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 5, + "lost":0, "icon" : juen_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#EDFCFE", "#453FC4", "#e6eaee"], "short_name" : "SPK","id" : 40, "name":"Spartak","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 3, "power" : 8, + "lost":0, "icon" : spartak_icon, "goal_difference": 0, "price":40000}, + {"colors" : ["#E7EBF7", "#D60707", "#e6eaee"], "short_name" : "SAV","id" : 41, "name":"Savigny","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 3, + "lost":0, "icon" : savigny_icon, "goal_difference":0, "price":50000}, + {"colors" : ["#2873AC", "#E9822E", "#e6eaee"], "short_name" : "UNI","id" : 42, "name":"Union","position": 5, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :6, "power" : 5, + "lost":0, "icon" : union_icon, "goal_difference":0, "price":50000}, + {"colors" : ["#FDFCFC", "#003876", "#e6eaee"], "short_name" : "LML","id" : 31, "name":"Maple Leafs","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 8, + "lost":0, "icon" : maple_leafs_icon, "goal_difference":0, "price":60000}, + {"colors" : ["#000201", "#912438", "#e6eaee"], "short_name" : "BLH","id" : 32, "name":"Black Hawks","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 6, + "lost":0, "icon" : black_hawks_icon, "goal_difference":0, "price":60000}, + {"colors" : ["#00AC5B", "#FFFFFF", "#e6eaee"], "short_name" : "BCV","id" : 33, "name":"Team BCV","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 2, + "lost":0, "icon" : bcv_icon, "goal_difference":0, "price":70000}, + {"colors" : ["#FDD302", "#FDD302", "#e6eaee"], "short_name" : "BIL","id" : 34, "name":"Bills","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 8, + "lost":0, "icon" : bills_icon, "goal_difference": 0, "price":8000}, + {"colors" : ["#57F706", "#000006", "#e6eaee"], "short_name" : "GF1","id" : 35, "name":"Green Foxes 1","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 9, + "lost":0, "icon" : green_foxes_icon, "goal_difference":0, "price":90000}, + {"colors" : ["#ECDFD3", "#784334", "#e6eaee"], "short_name" : "STG","id" : 36, "name":"Stags","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :9, "power" : 10, + "lost":0, "icon" : stags_icon, "goal_difference":0, "price":100000} + ] + +func _load_international_teams(): + var iceducks_icon = load("res://assets/teams/international-league/iceducks.png") + var angers_icon = load("res://assets/teams/international-league/angers.png") + var cyclones_icon = load("res://assets/teams/international-league/cyclones.png") + var deben_icon = load("res://assets/teams/international-league/deben-roadrunnners.png") + var flyingbrooms_icon = load("res://assets/teams/international-league/flying-brooms.png") + var france_icon = load("res://assets/teams/international-league/france.png") + var indianainvaders_icon = load("res://assets/teams/international-league/indiana-invaders.png") + var legion_icon = load("res://assets/teams/international-league/legion.png") + var renegades_icon = load("res://assets/teams/international-league/renegades.png") + var thunderbrooms_icon = load("res://assets/teams/international-league/thunder-brooms.png") + var thunderbirds_icon = load("res://assets/teams/international-league/thunderbirds.png") + var carolina_icon = load("res://assets/teams/international-league/carolina.png") + + international_teams = [ + {"colors" : ["#DC2601", "#FCFE0A", "#e6eaee"], "short_name" : "THB","id" : 45, "name":"Thunder Brooms","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 6, + "lost":0, "icon" : thunderbrooms_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#E7644B", "#FAFDB0", "#e6eaee"], "short_name" : "FLB","id" : 46, "name":"Flying Brooms","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 4, + "lost":0, "icon" : flyingbrooms_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#E06722", "#2F2F2F", "#e6eaee"], "short_name" : "ANG","id" : 47, "name":"Angers","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 7, + "lost":0, "icon" : angers_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#DBCBAA", "#286493", "#e6eaee"], "short_name" : "THB","id" : 66, "name":"Thunderbirds","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 4, + "lost":0, "icon" : thunderbirds_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#E96322", "#000400", "#e6eaee"], "short_name" : "RNG","id" : 48, "name":"Renegades","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 6, + "lost":0, "icon" : renegades_icon, "goal_difference": 0, "price":40000}, + {"colors" : ["#0555B9", "#BD1B23", "#e6eaee"], "short_name" : "FRA","id" : 49, "name":"France Broomball","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 7, + "lost":0, "icon" : france_icon, "goal_difference":0, "price":50000}, + {"colors" : ["#4F6E91", "#EA7C32", "#e6eaee"], "short_name" : "IND","id" : 50, "name":"Indiana Invaders","position": 5, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :9, "power" : 5, + "lost":0, "icon" : indianainvaders_icon, "goal_difference":0, "price":60000}, + {"colors" : ["#88C3EC", "#2057AF", "#e6eaee"], "short_name" : "DEB","id" : 51, "name":"Debden Roadrunners","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 9, + "lost":0, "icon" : deben_icon, "goal_difference":0, "price":70000}, + {"colors" : ["#06E100", "#C8D6D2", "#e6eaee"], "short_name" : "LEG","id" : 52, "name":"Legion","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 9, + "lost":0, "icon" : legion_icon, "goal_difference":0, "price":80000}, + {"colors" : ["#023490", "#A0A0A0", "#e6eaee"], "short_name" : "CAR","id" : 65, "name":"Carolina","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 10, + "lost":0, "icon" : carolina_icon, "goal_difference":0, "price":80000}, + {"colors" : ["#EE2000", "#FEFEFE", "#e6eaee"], "short_name" : "CYC","id" : 53, "name":"Cyclones","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 9, + "lost":0, "icon" : cyclones_icon, "goal_difference":0, "price":90000}, + {"colors" : ["#00B5EF", "#F8F400", "#e6eaee"], "short_name" : "JID","id" : 54, "name":"Japan Ice Ducks","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 10, + "lost":0, "icon" : iceducks_icon, "goal_difference":0, "price":150000} + ] + +func _load_internationa_women_teams(): + var bcrotalnord_icon = load("res://assets/teams/women-league/bc-rotalnord.png") + var equipe_icon = load("res://assets/teams/women-league/equipe.png") + var fahrenheit_icon = load("res://assets/teams/women-league/fahrenheit.png") + var jacks_icon = load("res://assets/teams/women-league/jacks.png") + var merano_icon = load("res://assets/teams/women-league/merano.png") + var pergine_icon = load("res://assets/teams/women-league/pergine.png") + var pittsburgh_women_icon = load("res://assets/teams/women-league/pittsburgh.png") + var tracys_icon = load("res://assets/teams/women-league/tracys.png") + var white_owl_icon = load("res://assets/teams/women-league/white-owl.png") + var white_wolves_icon = load("res://assets/teams/women-league/white-wolves.png") + + + international_women_teams = [ + {"colors" : ["#EF1B22", "#DCA62C", "#e6eaee"], "short_name" : "PER","id" : 55, "name":"Pergine Broomball","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 3, "power" : 4, + "lost":0, "icon" : pergine_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#4A4B4F", "#0E235B", "#e6eaee"], "short_name" : "MER","id" : 56, "name":"Merano","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 3, + "lost":0, "icon" : merano_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#B1292B", "#1A1A1D", "#e6eaee"], "short_name" : "LUM","id" : 57, "name":"Lumberjacks","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 2, + "lost":0, "icon" : jacks_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#105899", "#E7BB6A", "#e6eaee"], "short_name" : "ROT","id" : 58, "name":"BC Rotalnord","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 7, + "lost":0, "icon" : bcrotalnord_icon, "goal_difference": 0, "price":40000}, + {"colors" : ["#EEEEEE", "#D2D2D2", "#e6eaee"], "short_name" : "412","id" : 59, "name":"Fahrenheit 412","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 7, + "lost":0, "icon" : fahrenheit_icon, "goal_difference":0, "price":50000}, + {"colors" : ["#2B4786", "#6BAFCA", "#e6eaee"], "short_name" : "WHO","id" : 60, "name":"White Owl","position": 5, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :5, "power" : 10, + "lost":0, "icon" : white_owl_icon, "goal_difference":0, "price":60000}, + {"colors" : ["#EEEEEE", "#016600", "#e6eaee"], "short_name" : "EQU","id" : 61, "name":"l'Equipe","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 6, + "lost":0, "icon" : equipe_icon, "goal_difference":0, "price":70000}, + {"colors" : ["#ADAEA8", "#FDFDFB", "#e6eaee"], "short_name" : "WHW","id" : 62, "name":"White Wolves","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 8, + "lost":0, "icon" : white_wolves_icon, "goal_difference":0, "price":80000}, + {"colors" : ["#FAC008", "#010101", "#e6eaee"], "short_name" : "PIT","id" : 63, "name":"Pittsburgh","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 9, + "lost":0, "icon" : pittsburgh_women_icon, "goal_difference":0, "price":90000}, + {"colors" : ["#EEEEEE", "#71357F", "#e6eaee"], "short_name" : "TRA","id" : 64, "name":"Tracy's Saloon","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 8, + "lost":0, "icon" : tracys_icon, "goal_difference":0, "price":100000} + ] + +func _load_australian_teams(): + var dirt_icon = load("res://assets/teams/australian-teams/DoonsideDirtSquirrels.png") + var rhinos_icon = load("res://assets/teams/australian-teams/RichmondRhinos.png") + var glenmore_icon = load("res://assets/teams/australian-teams/GlenmoreParkDruids.png") + var werrington_icon = load("res://assets/teams/australian-teams/WerringtonCountySonics.png") + var penrith_icon = load("res://assets/teams/australian-teams/PenrithCityRangers.png") + var victorious_icon = load("res://assets/teams/australian-teams/VictoriousSecret.png") + var knights_icon = load("res://assets/teams/australian-teams/KnightsWhoSayBroomball.png") + var dugongs_icon = load("res://assets/teams/australian-teams/Dugongs.png") + var howling_icon = load("res://assets/teams/australian-teams/HowlingCommandos.png") + var sma_icon = load("res://assets/teams/australian-teams/SMASolarPower.png") + var head_icon = load("res://assets/teams/australian-teams/HeadBangingBillyGoats.png") + var blacktown_icon = load("res://assets/teams/australian-teams/BlacktownPirates.png") + var mutley_icon = load("res://assets/teams/australian-teams/MutleyCrew.png") + var hippos_icon = load("res://assets/teams/australian-teams/Hippos.png") + var ninja_icon = load("res://assets/teams/australian-teams/IceNinjas.png") + + australian_teams = [ + break_team, + {"colors" : ["#60C9DC", "#FBF6E5", "#e6eaee"], "short_name" : "DDS","id" : 67, "name":"Ice Ninjas","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 3, "power" : 4, + "lost":0, "icon" : ninja_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#4AC4C9", "#F3EC18", "#e6eaee"], "short_name" : "RMR","id" : 68, "name":"Hippos","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 3, + "lost":0, "icon" : hippos_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#47803C", "#FEEAC7", "#e6eaee"], "short_name" : "MTL","id" : 69, "name":"MutleyCrew","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 5, + "lost":0, "icon" : mutley_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#184C9F", "#000102", "#e6eaee"], "short_name" : "BLP","id" : 70, "name":"Blacktown Pirates","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 5, + "lost":0, "icon" : blacktown_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#576685", "#818382", "#e6eaee"], "short_name" : "GOA","id" : 71, "name":"Head Banging Billy Goats","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 7, + "lost":0, "icon" : head_icon, "goal_difference":0, "price":30000}, + {"colors" : ["#ED1B24", "#2D3192", "#e6eaee"], "short_name" : "SSP","id" : 72, "name":"SMA Solar Power","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 5, + "lost":0, "icon" : sma_icon, "goal_difference": 0, "price":40000}, + {"colors" : ["#192B80", "#0A1237", "#e6eaee"], "short_name" : "CPT","id" : 73, "name":"Howling Commandos","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 5, + "lost":0, "icon" : howling_icon, "goal_difference":0, "price":50000}, + {"colors" : ["#5BCAF5", "#1958A5", "#e6eaee"], "short_name" : "DUG","id" : 74, "name":"Dugongs","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 8, + "lost":0, "icon" : dugongs_icon, "goal_difference":0, "price":60000}, + {"colors" : ["#212E62", "#9D354F", "#e6eaee"], "short_name" : "KNG","id" : 75, "name":"Knights Who Say Broomball","position": 5, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :7, "power" : 7, + "lost":0, "icon" : knights_icon, "goal_difference":0, "price":70000}, + {"colors" : ["#ED008C", "#F393BC", "#e6eaee"], "short_name" : "VIC","id" : 76, "name":"Victorious Secret","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 9, + "lost":0, "icon" : victorious_icon, "goal_difference":0, "price":80000}, + {"colors" : ["#000000", "#EC1C24", "#e6eaee"], "short_name" : "PCR","id" : 77, "name":"Penrith City Rangers","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 6, + "lost":0, "icon" : penrith_icon, "goal_difference":0, "price":90000}, + {"colors" : ["#273A96", "#F7DA2D", "#e6eaee"], "short_name" : "WCS","id" : 77, "name":"Werrington County Sonics","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 8, + "lost":0, "icon" : werrington_icon, "goal_difference":0, "price":90000}, + {"colors" : ["#129782", "#5D9240", "#e6eaee"], "short_name" : "GPD","id" : 79, "name":"Glenmore Park Druids","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 9, + "lost":0, "icon" : glenmore_icon, "goal_difference":0, "price":100000}, + {"colors" : ["#A8A9AD", "#FFD504", "#e6eaee"], "short_name" : "RMR","id" : 80, "name":"Richmond Rhinos","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 9, "power" : 9, + "lost":0, "icon" : rhinos_icon, "goal_difference":0, "price":100000}, + {"colors" : ["#FF8500", "#401701", "#e6eaee"], "short_name" : "DDS","id" : 81, "name":"Doonside Dirt Squirrels","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 9, + "lost":0, "icon" : dirt_icon, "goal_difference":0, "price":120000} + ] + +func _load_ontario_teams(): + var thunder_icon = load("res://assets/teams/ontario-league/thunder.png") + var devils_icon = load("res://assets/teams/ontario-league/devils.png") + var warriors_icon = load("res://assets/teams/ontario-league/warriors.png") + var gamblers_icon = load("res://assets/teams/ontario-league/gamblers.png") + var sting_icon = load("res://assets/teams/ontario-league/sting.png") + var les_boys_icon = load("res://assets/teams/ontario-league/lesboys.png") + + + + ontario_teams = [ + {"colors" : ["#E6D409", "#FEFEFE", "#e6eaee"], "short_name" : "TND","id" : 82, "name":"Thunder","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 4, + "lost":0, "icon" : thunder_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#D55D4F", "#A92D1F", "#e6eaee"], "short_name" : "DEV","id" : 83, "name":"Devils","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 5, + "lost":0, "icon" : devils_icon, "goal_difference":0, "price":20000}, + {"colors" : ["#BDBDBD", "#707070", "#e6eaee"], "short_name" : "WAR","id" : 84, "name":"Warriors","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 7, + "lost":0, "icon" : warriors_icon, "goal_difference":0, "price":40000}, + {"colors" : ["#CFA91A", "#442319", "#e6eaee"], "short_name" : "GMB","id" : 85, "name":"Gamblers","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 6, + "lost":0, "icon" : gamblers_icon, "goal_difference": 0, "price":60000}, + {"colors" : ["#D71746", "#4B4355", "#e6eaee"], "short_name" : "STG","id" : 86, "name":"Sting","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 9, "power" : 10, + "lost":0, "icon" : sting_icon, "goal_difference":0, "price":80000}, + {"colors" : ["#E1DBD1", "#55222B", "#e6eaee"], "short_name" : "BOY","id" : 91, "name":"Boys","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 9, + "lost":0, "icon" : les_boys_icon, "goal_difference":0, "price":100000}, + ] +func _load_worldcup_teams(): + var italy_icon = load("res://assets/teams/national-teams/italy.png") + var canada_icon = load("res://assets/teams/national-teams/canada.png") + var usa_icon = load("res://assets/teams/national-teams/usa.png") + var switzerland_icon = load("res://assets/teams/national-teams/switzerland.png") + var france_icon = load("res://assets/teams/national-teams/france.png") + var australia_icon = load("res://assets/teams/national-teams/australia.png") + var japan_icon = load("res://assets/teams/national-teams/japan.png") + var russia_icon = load("res://assets/teams/national-teams/russia.png") + var austria_icon = load("res://assets/teams/national-teams/austria.png") + var germany_icon = load("res://assets/teams/national-teams/germany.png") + var slovenia_icon = load("res://assets/teams/national-teams/slovenia.png") + var india_icon = load("res://assets/teams/national-teams/india.png") + + # USES NEGATIVE NUMBERS AS IDS + # CANADA + # USA + # SWITZERLAND + # ITALY + # ASUTRALIA + # JAPAN + # RUSSIA + # FRANCE + # SLOVENIA + # AUSTRIA + # GERMANY + # INDIA + + world_cup_teams = [ + {"colors" : ["#319727", "#FFB367", "#e6eaee"], "short_name" : "IND","id" : -1, "name":"India","position": 3, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 3, "power" : 2, + "lost":0, "icon" : india_icon, "goal_difference":0, "price":0}, + + {"colors" : ["#3E3E3E", "#FFD420", "#e6eaee"], "short_name" : "GER","id" : -2, "name":"Germany","position": 1, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 2, + "lost":0, "icon" : germany_icon, "goal_difference":0, "price":0}, + + {"colors" : ["#F15B68", "#FFFFFF", "#e6eaee"], "short_name" : "AUT","id" : -3, "name":"Austria","position": 0, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 4, "power" : 3, + "lost":0, "icon" : austria_icon, "goal_difference":0, "price":20000}, + + {"colors" : ["#2D7AB5", "#EF4045", "#e6eaee"], "short_name" : "SLV","id" : -4, "name":"Slovenia","position": 2, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :4, "power" : 4, + "lost":0, "icon" : slovenia_icon, "goal_difference": 0, "price":20000}, + + {"colors" : ["#1B3AA0", "#F15864", "#e6eaee"], "short_name" : "FRA","id" : -5, "name":"France","position": 12, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" :5, "power" : 5, + "lost":0, "icon" : france_icon, "goal_difference": 0, "price":30000}, + + {"colors" : ["#DA4438", "#2D5CB6", "#e6eaee"], "short_name" : "RUS","id" : -6, "name":"Russia","position": 6, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 5, "power" : 6, + "lost":0, "icon" : russia_icon, "goal_difference":0, "price":30000}, + + {"colors" : ["#FFFFFF", "#C42047", "#e6eaee"], "short_name" : "JAP","id" : -7, "name":"Japan","position": 8, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 4, + "lost":0, "icon" : japan_icon, "goal_difference":0, "price":30000}, + + {"colors" : ["#29299E", "#FFFFFF", "#e6eaee"], "short_name" : "AUS","id" : -8, "name":"Australia","position": 4, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 7, "power" : 5, + "lost":0, "icon" : australia_icon, "goal_difference":0, "price":40000}, + + {"colors" : ["#4480E2", "#335A99", "#e6eaee"], "short_name" : "ITA","id" : -9, "name":"Italy","position": 5, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 6, "power" : 7, + "lost":0, "icon" : italy_icon, "goal_difference":0, "price":40000}, + + {"colors" : ["#FF3E3E", "#E90303", "#e6eaee"], "short_name" : "SWI","id" : -10, "name":"Switzerland","position": 9, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 8, "power" : 8, + "lost":0, "icon" : switzerland_icon, "goal_difference":0 , "price": 50000}, + + {"colors" : ["#BF4756", "#52517E", "#e6eaee"], "short_name" : "USA","id" : -11, "name":"USA","position": 7, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 9, + "lost":0, "icon" : usa_icon, "goal_difference":0, "price":100000}, + + {"colors" : ["#FF2828", "#FFFFFF", "#e6eaee"], "short_name" : "CAN","id" : -12, "name":"Canada","position": 11, "points": 0 , + "goal_diference": 0 , "wins" : 0, "speed" : 10, "power" : 10, + "lost":0, "icon" : canada_icon, "goal_difference":0, "price":100000} + ] + + +# 91 TEAMS next ID 92!!!! national teams are negative for now diff --git a/game/src/global/TouchHelper.gd b/game/src/global/TouchHelper.gd new file mode 100644 index 0000000..c907d42 --- /dev/null +++ b/game/src/global/TouchHelper.gd @@ -0,0 +1,56 @@ +# This will track the position of every pointer in its public `state` property, which is a +# Dictionary, in which each key is a pointer id (integer) and each value its position (Vector2). +# It works by listening to input events not handled by other means. +# It also remaps the pointer indices coming from the OS to the lowest available to be friendlier. +# It can be conveniently setup as a singleton. + +extends Node + +var home_pressed = false +var away_pressed = false +var state = {} +var _os2own = {} + +func _input(event): + if event is InputEventScreenTouch: + if event.pressed: + # Down + if !_os2own.has(event.index): # Defensively discard index if already known + if event.position.y > 640: + if !home_pressed: + home_pressed = true + state["home"] = event.position - Vector2(0,80) #to make plazer above finger + _os2own[event.index] = "home" + elif !away_pressed: + away_pressed = true + state["away"] = event.position + Vector2(0,80) + _os2own[event.index] = "away" + else: + # Up + if _os2own.has(event.index): # Defensively discard index if not known + var ptr_id = _os2own[event.index] + state.erase(ptr_id) + _os2own.erase(event.index) + if ptr_id == "away": + away_pressed = false + else: + home_pressed = false + return true + + elif event is InputEventScreenDrag: + # Move + if _os2own.has(event.index): # Defensively discard index if not known + var ptr_id = _os2own[event.index] + if ptr_id == "home": + state[ptr_id] = event.position - Vector2(0,80) + else: + state[ptr_id] = event.position + Vector2(0,80) + return true + + return false + +func reset(): + home_pressed = false + away_pressed = false + state = {} + _os2own = {} diff --git a/game/src/global/game-services/GameServices.gd b/game/src/global/game-services/GameServices.gd new file mode 100644 index 0000000..31c100b --- /dev/null +++ b/game/src/global/game-services/GameServices.gd @@ -0,0 +1,106 @@ +extends Node + +var play_games_services = null +var game_center = null + +var play_services_ids = { + "wins_1" : {"ios":"","android":""}, # win 10 games + "wins_2" : {"ios":"","android":""}, # 20 + "wins_3" : {"ios":"","android":""}, # 50 + "wins_4" : {"ios":"","android":""}, # 100 + "wins_5" : {"ios":"","android":""}, # 500 + "unlocked_teams_1" : {"ios":"","android":""}, # unlock 5 teams + "unlocked_teams_2" : {"ios":"","android":""}, # 10 + "unlocked_teams_3" : {"ios":"","android":""}, # 20 + "unlocked_teams_4" : {"ios":"","android":""}, # 50 + "unlocked_teams_5" : {"ios":"","android":""}, # ALL + "league_1st_place_1" : {"ios":"","android":""}, # win 1 league + "league_1st_place_2" : {"ios":"","android":""}, # 2 + "league_1st_place_3" : {"ios":"","android":""}, # 3 + "league_1st_place_4" : {"ios":"","android":""}, # 5 + "league_1st_place_5" : {"ios":"","android":""}, # 10 + "arcade_score_1" : {"ios":"","android":""}, # score 1 + "arcade_score_2" : {"ios":"","android":""}, # score 5 + "arcade_score_3" : {"ios":"","android":""}, # score 10 + "arcade_score_4" : {"ios":"","android":""}, # score 20 + "arcade_score_5" : {"ios":"","android":""}, # score 50 + "single_match_1" : {"ios":"","android":""}, # make 10 wins in easy + "single_match_2" : {"ios":"","android":""}, # medium + "single_match_3" : {"ios":"","android":""}, # hard + "single_match_4" : {"ios":"","android":""}, # extreme + "single_match_5" : {"ios":"","android":""} # legend +} + + +# Called when the node enters the scene tree for the first time. +func _ready(): + # Check if plugin was added to the project + print("checking game services") + if Engine.has_singleton("GodotPlayGamesServices"): + play_games_services = Engine.get_singleton("GodotPlayGamesServices") + print("checking game services login...") + var show_popups := true # For example, your game can display a “Welcome back” or an “Achievements unlocked” pop-up. true for enabling it. + var request_email := true + var request_profile := true + #The client id must be created in [the google console](https://console.cloud.google.com/apis/credentials), an OAuth 2.0 Client credentials of a Web application type + var request_token := "ClientID" +# 492494125380-j5kk7qjp2sa308shshrpj232qg71h65v.apps.googleusercontent.com +# play_games_services.init(show_popups, request_email, request_profile, request_token) + play_games_services.init(show_popups) + print("checking game services login done") + if Engine.has_singleton("GameCenter"): + game_center = Engine.get_singleton("GameCenter") + + +func increment_achievement(id, amount): + if play_games_services != null: + play_games_services.increment_achievement("ACHIEVEMENT_ID", 0) + + if game_center != null: + game_center.award_achievement({ "name": "hard_mode_completed", "progress": 6.1, "show_completion_banner": true }) + +func show_achievements(): + if play_games_services != null: + play_games_services.show_achievements() + + if game_center != null: + game_center.show_game_center( { "view": "achievements" } ) + +func submit_arcade_score(score): + if play_games_services != null: + play_games_services.submitLeaderBoardScore("leaderboard_id", score) + + if game_center != null: + game_center.post_score({ "score": score, "category": "arcade", } ) + +func show_leaderboard(): + print("show leaderboard") + if play_games_services != null: + print("show leaderboard on android...") + play_games_services.showLeaderBoard("leaderboard_id") + print("show leaderboard on android done") + + if game_center != null: + game_center.show_game_center( { "view": "leaderboards", "leaderboard_name": "Arcade" } ) + +func login(): + if play_games_services != null: + play_games_services.sign_in() + +# Callbacks: +func _on_sign_out_success(): + pass + +func _on_sign_out_failed(): + pass + +func _on_leaderboard_score_submitted(leaderboard_id: String): + pass + +func _on_leaderboard_score_submitting_failed(leaderboard_id: String): + pass + +func _on_player_is_already_connected(is_connected: bool): + pass + + diff --git a/game/src/splash/Splash.gd b/game/src/splash/Splash.gd new file mode 100644 index 0000000..78fb8dc --- /dev/null +++ b/game/src/splash/Splash.gd @@ -0,0 +1,10 @@ +extends Node2D + +# Called when the node enters the scene tree for the first time. +func _ready(): + Teams.load_teams() + Global.set_up() + $AnimationPlayer.play("FadeOut") + +func _on_AnimationPlayer_animation_finished(anim_name): + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") diff --git a/game/src/splash/Splash.tscn b/game/src/splash/Splash.tscn new file mode 100644 index 0000000..153495a --- /dev/null +++ b/game/src/splash/Splash.tscn @@ -0,0 +1,55 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://src/splash/Splash.gd" type="Script" id=1] +[ext_resource path="res://src/ui/Icon.tscn" type="PackedScene" id=2] + +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 0.933333, 0.933333, 0.933333, 1 ) + +[sub_resource type="Animation" id=2] +length = 0.5 +tracks/0/type = "value" +tracks/0/path = NodePath("Icon:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.5 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 360, 640 ), Vector2( 360, 170 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Icon:scale") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.5 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 1.39429, 1.39429 ), Vector2( 0.75, 0.75 ) ] +} + +[node name="Splash" type="Node2D"] +script = ExtResource( 1 ) + +[node name="Panel" type="Panel" parent="."] +margin_right = 40.0 +margin_bottom = 40.0 +rect_scale = Vector2( 17.9383, 31.9031 ) +custom_styles/panel = SubResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Icon" parent="." instance=ExtResource( 2 )] +position = Vector2( 360, 640 ) +scale = Vector2( 1.39429, 1.39429 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeOut = SubResource( 2 ) + +[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"] diff --git a/game/src/ui/Icon.tscn b/game/src/ui/Icon.tscn new file mode 100644 index 0000000..255e427 --- /dev/null +++ b/game/src/ui/Icon.tscn @@ -0,0 +1,8 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://icon.png" type="Texture" id=1] + +[node name="Icon" type="Sprite"] +position = Vector2( 360, 170 ) +scale = Vector2( 0.75, 0.75 ) +texture = ExtResource( 1 ) diff --git a/game/src/ui/TextureProgress.gd b/game/src/ui/TextureProgress.gd new file mode 100644 index 0000000..f1acb8c --- /dev/null +++ b/game/src/ui/TextureProgress.gd @@ -0,0 +1,8 @@ +extends TextureProgress + + +export(String, "POWER", "SPEED", "FREEZE") var text = "POWER" + +# Called when the node enters the scene tree for the first time. +func _ready(): + $Label.text = tr(text) diff --git a/game/src/ui/TextureProgress.tscn b/game/src/ui/TextureProgress.tscn new file mode 100644 index 0000000..04084d8 --- /dev/null +++ b/game/src/ui/TextureProgress.tscn @@ -0,0 +1,44 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://assets/progressbar_bg.png" type="Texture" id=1] +[ext_resource path="res://assets/progressbar_progress.png" type="Texture" id=2] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=3] +[ext_resource path="res://src/ui/TextureProgress.gd" type="Script" id=4] +[ext_resource path="res://assets/font/Carlito-Regular.ttf" type="DynamicFontData" id=5] + +[sub_resource type="DynamicFont" id=1] +size = 72 +outline_size = 3 +outline_color = Color( 0, 0, 0, 1 ) +use_mipmaps = true +use_filter = true +font_data = ExtResource( 5 ) + +[node name="TextureProgress" type="TextureProgress"] +margin_right = 408.0 +margin_bottom = 84.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 +theme = ExtResource( 3 ) +max_value = 10.0 +value = 5.0 +texture_under = ExtResource( 1 ) +texture_progress = ExtResource( 2 ) +tint_under = Color( 0.0627451, 0.0705882, 0.152941, 1 ) +tint_progress = Color( 0.137255, 0.658824, 0.756863, 1 ) +nine_patch_stretch = true +script = ExtResource( 4 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +custom_fonts/font = SubResource( 1 ) +text = "text" +align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/game/src/ui/background/Background.tscn b/game/src/ui/background/Background.tscn new file mode 100644 index 0000000..f462563 --- /dev/null +++ b/game/src/ui/background/Background.tscn @@ -0,0 +1,51 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://assets/field.png" type="Texture" id=1] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=2] +[ext_resource path="res://src/ui/background/Coins.gd" type="Script" id=3] +[ext_resource path="res://src/field/Goals.tscn" type="PackedScene" id=5] +[ext_resource path="res://assets/font/DSEG7ClassicMini-Bold.ttf" type="DynamicFontData" id=6] +[ext_resource path="res://assets/broomballcoin.png" type="Texture" id=7] + +[sub_resource type="DynamicFont" id=1] +size = 35 +use_filter = true +font_data = ExtResource( 6 ) + +[node name="Background" type="Control"] +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Field" type="TextureRect" parent="."] +margin_right = 180.0 +margin_bottom = 320.0 +rect_scale = Vector2( 4, 4 ) +texture = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Goals" parent="." instance=ExtResource( 5 )] + +[node name="Coins" type="Node2D" parent="."] +z_index = 1 + +[node name="Icon" type="Sprite" parent="Coins"] +position = Vector2( 71.0155, 57.1773 ) +scale = Vector2( 0.244976, 0.244976 ) +texture = ExtResource( 7 ) + +[node name="Label" type="Label" parent="Coins"] +margin_left = 94.0 +margin_top = 40.0 +margin_right = 371.0 +margin_bottom = 89.0 +theme = ExtResource( 2 ) +custom_fonts/font = SubResource( 1 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "0" +script = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/game/src/ui/background/Coins.gd b/game/src/ui/background/Coins.gd new file mode 100644 index 0000000..6970265 --- /dev/null +++ b/game/src/ui/background/Coins.gd @@ -0,0 +1,7 @@ +extends Label + +func _ready(): + set_text(str(Global.coins)) +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + set_text(str(Global.coins)) diff --git a/game/src/ui/championship/Championship.tscn b/game/src/ui/championship/Championship.tscn new file mode 100644 index 0000000..ca309a5 --- /dev/null +++ b/game/src/ui/championship/Championship.tscn @@ -0,0 +1,10 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://src/ui/championship/team-picker/TeamPicker.tscn" type="PackedScene" id=1] +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=2] + +[node name="Championship" type="Node2D"] + +[node name="Background" parent="." instance=ExtResource( 2 )] + +[node name="TeamPicker" parent="." instance=ExtResource( 1 )] diff --git a/game/src/ui/championship/coins-reward/CoinsReward.gd b/game/src/ui/championship/coins-reward/CoinsReward.gd new file mode 100644 index 0000000..044b238 --- /dev/null +++ b/game/src/ui/championship/coins-reward/CoinsReward.gd @@ -0,0 +1,13 @@ +extends Control + +signal next + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + + +func _on_Continue_pressed(): + emit_signal("next") + hide() diff --git a/game/src/ui/championship/coins-reward/CoinsReward.tscn b/game/src/ui/championship/coins-reward/CoinsReward.tscn new file mode 100644 index 0000000..564db17 --- /dev/null +++ b/game/src/ui/championship/coins-reward/CoinsReward.tscn @@ -0,0 +1,123 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=2] +[ext_resource path="res://assets/broomballcoin.png" type="Texture" id=3] +[ext_resource path="res://assets/font/DSEG7ClassicMini-Bold.ttf" type="DynamicFontData" id=4] +[ext_resource path="res://src/ui/championship/coins-reward/CoinsReward.gd" type="Script" id=5] + +[sub_resource type="DynamicFont" id=1] +size = 64 +font_data = ExtResource( 4 ) + +[node name="CoinsReward" type="Control"] +pause_mode = 2 +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 2 ) +script = ExtResource( 5 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +margin_left = -29.6625 +margin_top = 666.079 +margin_right = 690.338 +margin_bottom = 794.079 +alignment = 1 + +[node name="Coins" type="TextureRect" parent="HBoxContainer"] +margin_left = 208.0 +margin_right = 336.0 +margin_bottom = 128.0 +texture = ExtResource( 3 ) + +[node name="Total" type="Label" parent="HBoxContainer"] +margin_left = 340.0 +margin_top = 22.0 +margin_right = 511.0 +margin_bottom = 106.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "Wins" + +[node name="MarginContainer" type="MarginContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 61.7581 +margin_top = -35.6117 +margin_right = 61.7581 +margin_bottom = -35.6117 +rect_scale = Vector2( 0.8, 0.8 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] +margin_right = 720.0 +margin_bottom = 1280.0 +alignment = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] +margin_top = 457.0 +margin_right = 720.0 +margin_bottom = 541.0 + +[node name="Base" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2"] +margin_right = 171.0 +margin_bottom = 84.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "Wins" + +[node name="BaseCoins" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2"] +margin_left = 175.0 +margin_top = 10.0 +margin_right = 331.0 +margin_bottom = 74.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "122" +align = 2 + +[node name="Goals" type="Label" parent="MarginContainer/VBoxContainer"] +margin_top = 551.0 +margin_right = 720.0 +margin_bottom = 635.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "Home goals" + +[node name="AwayGoals" type="Label" parent="MarginContainer/VBoxContainer"] +margin_top = 645.0 +margin_right = 720.0 +margin_bottom = 729.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "Away goals" + +[node name="CleanSheet" type="Label" parent="MarginContainer/VBoxContainer"] +margin_top = 739.0 +margin_right = 720.0 +margin_bottom = 823.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "Clean sheet" + +[node name="Continue" type="Button" parent="."] +margin_left = 176.995 +margin_top = 872.022 +margin_right = 515.995 +margin_bottom = 966.022 +text = "CONTINUE" + +[node name="Title" type="Label" parent="."] +margin_left = 131.667 +margin_top = 138.142 +margin_right = 546.667 +margin_bottom = 222.142 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "Coins Bonus" +__meta__ = { +"_edit_use_anchors_": false +} + +[connection signal="pressed" from="Continue" to="." method="_on_Continue_pressed"] diff --git a/game/src/ui/championship/dashboard/Dashboard.gd b/game/src/ui/championship/dashboard/Dashboard.gd new file mode 100644 index 0000000..fb505b6 --- /dev/null +++ b/game/src/ui/championship/dashboard/Dashboard.gd @@ -0,0 +1,180 @@ +extends Control + +var animation_player + +var show_confirm_pop = true + +# Called when the node enters the scene tree for the first time. +func _ready(): + animation_player = $AnimationPlayer + + # show matchday + if Global.match_day > 0: + if Global.is_worldcup: + $Content/Matchday.text = ("%s/" % (Global.match_day) )+ str(9) + else: + $Content/Matchday.text = ("%s/" % (Global.match_day) )+ str(Global.teams.size() -1) + else: + $Content/Matchday.text = "" + + # show prize money if league finished + print("matchday %s"%str(Global.match_day)) + print("size %s"%str(Global.teams.size())) + + if Global.is_worldcup: + if Global.match_day > 8: + var prize = get_league_prize() + show_confirm_pop = false + if not Global.league_prize_rewarded: + Global.add_coins(prize) + Global.increase_stats() + Global.league_prize_rewarded = true + $Content/Buttons/Table/NextMatch.hide() + $Content/Buttons/Table/HBoxContainer/PrizeMoney.text = str(prize) + $Confetti.show() + Global.save_all_data() + else: + $Content/Buttons/Table/HBoxContainer.hide() + else: + if Global.match_day > Global.teams.size() - 2: + var prize = get_league_prize() + show_confirm_pop = false + if not Global.league_prize_rewarded: + Global.add_coins(prize) + Global.increase_stats() + Global.league_prize_rewarded = true + $Content/Buttons/Table/NextMatch.hide() + $Content/Buttons/Table/HBoxContainer/PrizeMoney.text = str(prize) + $Confetti.show() + Global.save_all_data() + else: + $Content/Buttons/Table/HBoxContainer.hide() + + if Global.is_worldcup: + set_up_world_cup() + else: + set_up_championship() + + animation_player.play("FadeIn") + + +func set_up_championship(): + $Content/Table.show() + $Content/Table.set_up() + +func set_up_world_cup(): + if Global.final_teams.size() == 0: + $Content/GroupStage.show() + $Content/GroupStage.set_up() + else: + $Content/FinalStage.show() + $Content/FinalStage.set_up() + + +func _on_GoBack_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") + + +func _on_NewChampionship_pressed(): + Global.click() + if show_confirm_pop: + $NewLeaguePopUp.popup_centered() + else: + Global.new_league() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/championship/Championship.tscn") + +func _on_NextMatch_pressed(): + Global.click() + + # check if worldcup + # if yes check if groupstage + # if not check if still in cup + # if not only show results of simulation + + if Global.is_worldcup: + if Global.final_teams.size() == 0: + # group stage + next_matchday() + Global.set_home_team(Global.current_league_game["home"]) + Global.set_away_team(Global.current_league_game["away"]) + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/championship/preview/GamePreview.tscn") + else: + if next_matchday(): + # finals + Global.set_home_team(Global.current_league_game["home"]) + Global.set_away_team(Global.current_league_game["away"]) + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/championship/preview/GamePreview.tscn") + else: # not in worldcup anymore +# Global.game_over(0,0,true) +# get_tree().change_scene("res://src/ui/championship/dashboard/Dashboard.tscn") + Global.set_home_team(null) + Global.set_away_team(null) + + Global.current_league_game = "simulation" + + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/game/singleplayer/Singleplayer.tscn") + + + + else: + next_matchday() + Global.set_home_team(Global.current_league_game["home"]) + Global.set_away_team(Global.current_league_game["away"]) + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/championship/preview/GamePreview.tscn") + + + +func next_matchday(): + for matchz in Global.matches: + if matchz["result"] == ":" and matchz["home"]["name"] == Global.selected_squad: + Global.current_league_game = matchz + return true + return false # retunrs fasle if out of worldcup + +func get_league_prize(): + # TODO world cup league prize + + if Global.is_worldcup: + if Global.final_teams[0]["name"] == Global.selected_squad: + return 250000 + else: + return 10000 + else: + for team in Global.teams: + if team["name"] == Global.selected_squad: + match team["position"]: + 0: + return 10000 * Global.teams.size() + 1: + return 5000 * Global.teams.size() + 2: + return 2000 * Global.teams.size() + _: + return 1000 * Global.teams.size() + + + +func _on_Cancel_pressed(): + Global.click() + $NewLeaguePopUp.hide() + + +func _on_Okay_pressed(): + Global.click() + Global.new_league() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/championship/Championship.tscn") diff --git a/game/src/ui/championship/dashboard/Dashboard.tscn b/game/src/ui/championship/dashboard/Dashboard.tscn new file mode 100644 index 0000000..8e21d9a --- /dev/null +++ b/game/src/ui/championship/dashboard/Dashboard.tscn @@ -0,0 +1,212 @@ +[gd_scene load_steps=13 format=2] + +[ext_resource path="res://src/ui/championship/dashboard/Dashboard.gd" type="Script" id=1] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=2] +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=3] +[ext_resource path="res://src/Confetti.tscn" type="PackedScene" id=4] +[ext_resource path="res://assets/font/DSEG7ClassicMini-Bold.ttf" type="DynamicFontData" id=5] +[ext_resource path="res://assets/broomballcoin.png" type="Texture" id=6] +[ext_resource path="res://src/ui/championship/dashboard/table/Table.tscn" type="PackedScene" id=7] +[ext_resource path="res://src/ui/championship/dashboard/final-stage/FinalStage.tscn" type="PackedScene" id=8] +[ext_resource path="res://src/ui/championship/dashboard/group-stage/GroupStage.tscn" type="PackedScene" id=9] + +[sub_resource type="DynamicFont" id=1] +size = 84 +font_data = ExtResource( 5 ) + +[sub_resource type="Animation" id=2] +resource_name = "FadeIn" +length = 0.3 +tracks/0/type = "value" +tracks/0/path = NodePath("Content:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=3] +resource_name = "FadeOut" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("Content:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[node name="Dashboard" type="Control"] +theme = ExtResource( 2 ) +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Background" parent="." instance=ExtResource( 3 )] + +[node name="Confetti" parent="." instance=ExtResource( 4 )] +visible = false + +[node name="Content" type="Control" parent="."] +modulate = Color( 1, 1, 1, 0 ) +anchor_right = 1.0 +anchor_bottom = 1.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Table" parent="Content" instance=ExtResource( 7 )] +visible = false +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = 360.0 +margin_top = 464.63 +margin_right = 360.0 +margin_bottom = 464.63 + +[node name="GroupStage" parent="Content" instance=ExtResource( 9 )] +visible = false + +[node name="FinalStage" parent="Content" instance=ExtResource( 8 )] +visible = false +margin_left = 46.5452 +margin_top = 13.7278 +margin_right = 46.5452 +margin_bottom = 13.7278 + +[node name="Buttons" type="MarginContainer" parent="Content"] +margin_left = 143.393 +margin_top = 840.0 +margin_right = 697.393 +margin_bottom = 2064.0 +rect_scale = Vector2( 0.793933, 0.846419 ) +theme = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Table" type="VBoxContainer" parent="Content/Buttons"] +margin_right = 554.0 +margin_bottom = 1224.0 +theme = ExtResource( 2 ) +custom_constants/separation = 12 + +[node name="NextMatch" type="Button" parent="Content/Buttons/Table"] +margin_right = 554.0 +margin_bottom = 99.0 +text = "PLAY" + +[node name="HBoxContainer" type="HBoxContainer" parent="Content/Buttons/Table"] +margin_top = 111.0 +margin_right = 554.0 +margin_bottom = 239.0 + +[node name="BroomballCoins" type="TextureRect" parent="Content/Buttons/Table/HBoxContainer"] +margin_right = 128.0 +margin_bottom = 128.0 +texture = ExtResource( 6 ) + +[node name="PrizeMoney" type="Label" parent="Content/Buttons/Table/HBoxContainer"] +margin_left = 132.0 +margin_top = 22.0 +margin_right = 408.0 +margin_bottom = 106.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "1000" +align = 1 + +[node name="Buttons2" type="MarginContainer" parent="Content"] +margin_left = 143.393 +margin_top = 1025.0 +margin_right = 697.393 +margin_bottom = 2249.0 +rect_scale = Vector2( 0.793933, 0.846419 ) +theme = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Table" type="VBoxContainer" parent="Content/Buttons2"] +margin_right = 554.0 +margin_bottom = 1224.0 +theme = ExtResource( 2 ) +custom_constants/separation = 12 + +[node name="NewChampionship" type="Button" parent="Content/Buttons2/Table"] +margin_right = 554.0 +margin_bottom = 99.0 +text = "START_NEW" + +[node name="GoBack" type="Button" parent="Content/Buttons2/Table"] +margin_top = 111.0 +margin_right = 554.0 +margin_bottom = 210.0 +text = "MENU" + +[node name="Matchday" type="Label" parent="Content"] +margin_left = 306.286 +margin_top = 76.15 +margin_right = 580.286 +margin_bottom = 160.15 +rect_scale = Vector2( 0.635103, 0.635103 ) +theme = ExtResource( 2 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "1/9" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 2 ) +anims/FadeOut = SubResource( 3 ) + +[node name="NewLeaguePopUp" type="Popup" parent="."] +margin_left = 64.0 +margin_top = 316.0 +margin_right = 668.0 +margin_bottom = 857.0 + +[node name="Panel" type="Panel" parent="NewLeaguePopUp"] +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="Cancel" type="Button" parent="NewLeaguePopUp"] +margin_left = 75.95 +margin_top = 412.0 +margin_right = 223.95 +margin_bottom = 506.0 +text = "NO" + +[node name="Okay" type="Button" parent="NewLeaguePopUp"] +margin_left = 384.0 +margin_top = 412.0 +margin_right = 543.0 +margin_bottom = 506.0 +text = "YES" + +[node name="Label" type="Label" parent="NewLeaguePopUp"] +margin_left = 16.0 +margin_top = 28.0 +margin_right = 595.0 +margin_bottom = 373.0 +text = "WARNING_NEW" + +[connection signal="pressed" from="Content/Buttons/Table/NextMatch" to="." method="_on_NextMatch_pressed"] +[connection signal="pressed" from="Content/Buttons2/Table/NewChampionship" to="." method="_on_NewChampionship_pressed"] +[connection signal="pressed" from="Content/Buttons2/Table/GoBack" to="." method="_on_GoBack_pressed"] +[connection signal="pressed" from="NewLeaguePopUp/Cancel" to="." method="_on_Cancel_pressed"] +[connection signal="pressed" from="NewLeaguePopUp/Okay" to="." method="_on_Okay_pressed"] diff --git a/game/src/ui/championship/dashboard/final-stage/FinalStage.gd b/game/src/ui/championship/dashboard/final-stage/FinalStage.gd new file mode 100644 index 0000000..c5ddbf9 --- /dev/null +++ b/game/src/ui/championship/dashboard/final-stage/FinalStage.gd @@ -0,0 +1,34 @@ +extends Control + + +func set_up(): + var temp = Global.matches + + if Global.final_teams.size() == 1: + $Winner.text = Global.final_teams[0]["name"] + $GridContainer.hide() + else: + for matchz in Global.matches: + if matchz["result"] == ":": + var home_short = Label.new() + home_short.text = matchz["home"]["short_name"] + $GridContainer.add_child(home_short) + + var vs_label = Label.new() + vs_label.text = "vs" + $GridContainer.add_child(vs_label) + + var away_short = Label.new() + away_short.text = matchz["away"]["short_name"] + $GridContainer.add_child(away_short) + + match Global.final_teams.size(): + 4: + $StageName.text = tr("SEMI FINALS") + 2: + $StageName.text = tr("FINAL") + 1: + $StageName.text = tr("WORLD CHAMPION") + $WinnerIcon.texture = Global.final_teams[0]["icon"] + + diff --git a/game/src/ui/championship/dashboard/final-stage/FinalStage.tscn b/game/src/ui/championship/dashboard/final-stage/FinalStage.tscn new file mode 100644 index 0000000..cbd937f --- /dev/null +++ b/game/src/ui/championship/dashboard/final-stage/FinalStage.tscn @@ -0,0 +1,67 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://src/ui/championship/dashboard/final-stage/FinalStage.gd" type="Script" id=1] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=2] + +[node name="FinalStage" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 49.0 +margin_top = 37.0 +margin_right = 49.0 +margin_bottom = 37.0 +rect_scale = Vector2( 0.85, 0.85 ) +theme = ExtResource( 2 ) +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Panel" type="Panel" parent="."] +margin_left = 53.5294 +margin_top = 132.0 +margin_right = 687.529 +margin_bottom = 889.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="GridContainer" type="GridContainer" parent="."] +margin_left = 151.765 +margin_top = 329.412 +margin_right = 587.765 +margin_bottom = 889.412 +size_flags_horizontal = 0 +size_flags_vertical = 0 +custom_constants/vseparation = 44 +custom_constants/hseparation = 30 +columns = 3 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="StageName" type="Label" parent="."] +margin_left = 78.8235 +margin_top = 174.118 +margin_right = 884.824 +margin_bottom = 272.118 +rect_scale = Vector2( 0.7, 0.7 ) +text = "QUARTER FINALS" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="WinnerIcon" type="Sprite" parent="."] +position = Vector2( 370.823, 607.058 ) +scale = Vector2( 1.5, 1.5 ) + +[node name="Winner" type="Label" parent="."] +margin_left = 99.9999 +margin_top = 291.765 +margin_right = 627.0 +margin_bottom = 388.765 +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/game/src/ui/championship/dashboard/group-stage/GroupStage.gd b/game/src/ui/championship/dashboard/group-stage/GroupStage.gd new file mode 100644 index 0000000..6b60cb0 --- /dev/null +++ b/game/src/ui/championship/dashboard/group-stage/GroupStage.gd @@ -0,0 +1,8 @@ +extends Control + + +func set_up(): + $Group1.set_up_teams(Global.groups[0]) + $Group2.set_up_teams(Global.groups[1]) + $Group3.set_up_teams(Global.groups[2]) + $Group4.set_up_teams(Global.groups[3]) diff --git a/game/src/ui/championship/dashboard/group-stage/GroupStage.tscn b/game/src/ui/championship/dashboard/group-stage/GroupStage.tscn new file mode 100644 index 0000000..1eb49a2 --- /dev/null +++ b/game/src/ui/championship/dashboard/group-stage/GroupStage.tscn @@ -0,0 +1,81 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://src/ui/championship/dashboard/group-stage/GroupStage.gd" type="Script" id=1] +[ext_resource path="res://src/ui/championship/dashboard/table/Table.tscn" type="PackedScene" id=2] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=3] + +[node name="GroupStage" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 3 ) +script = ExtResource( 1 ) + +[node name="Group1" parent="." instance=ExtResource( 2 )] +margin_left = 250.04 +margin_top = 210.236 +margin_right = 250.04 +margin_bottom = 210.236 +rect_scale = Vector2( 0.4, 0.4 ) + +[node name="Group2" parent="." instance=ExtResource( 2 )] +margin_left = 472.0 +margin_top = 376.0 +margin_right = 472.0 +margin_bottom = 376.0 +rect_scale = Vector2( 0.4, 0.4 ) + +[node name="Group3" parent="." instance=ExtResource( 2 )] +margin_left = 249.8 +margin_top = 544.0 +margin_right = 249.8 +margin_bottom = 544.0 +rect_scale = Vector2( 0.4, 0.4 ) + +[node name="Group4" parent="." instance=ExtResource( 2 )] +margin_left = 472.0 +margin_top = 706.0 +margin_right = 472.0 +margin_bottom = 706.0 +rect_scale = Vector2( 0.4, 0.4 ) + +[node name="GroupA" type="Label" parent="."] +margin_left = 523.259 +margin_top = 146.392 +margin_right = 843.259 +margin_bottom = 230.392 +rect_scale = Vector2( 0.5, 0.5 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "GROUP_A" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="GroupB" type="Label" parent="."] +margin_left = 31.1129 +margin_top = 316.269 +margin_right = 351.113 +margin_bottom = 400.269 +rect_scale = Vector2( 0.5, 0.5 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "GROUP_B" + +[node name="GroupC" type="Label" parent="."] +margin_left = 528.916 +margin_top = 480.146 +margin_right = 848.916 +margin_bottom = 564.146 +rect_scale = Vector2( 0.5, 0.5 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "GROUP_C" + +[node name="GroupD" type="Label" parent="."] +margin_left = 33.9413 +margin_top = 650.195 +margin_right = 356.941 +margin_bottom = 734.195 +rect_scale = Vector2( 0.5, 0.5 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "GROUP_D" +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/game/src/ui/championship/dashboard/table/Table.gd b/game/src/ui/championship/dashboard/table/Table.gd new file mode 100644 index 0000000..6cf6f15 --- /dev/null +++ b/game/src/ui/championship/dashboard/table/Table.gd @@ -0,0 +1,76 @@ +extends CenterContainer + +func set_up_teams(teams): + var position = 1 + for team in teams: + if team["id"] != 0: + var position_label = Label.new() + position_label.text = str(position) + "." + $MarginContainer/MarginContainer/GridContainer.add_child(position_label) + position += 1 + + var name_label = Label.new() + name_label.text = team["name"] + $MarginContainer/MarginContainer/GridContainer.add_child(name_label) + + var points_label = Label.new() + points_label.text = str(team["points"]) + $MarginContainer/MarginContainer/GridContainer.add_child(points_label) + + var wins_label = Label.new() + wins_label.text = str(team["wins"]) + $MarginContainer/MarginContainer/GridContainer.add_child(wins_label) + + var lose_label = Label.new() + lose_label.text = str(team["lost"]) + $MarginContainer/MarginContainer/GridContainer.add_child(lose_label) + + var gd_label = Label.new() + gd_label.text = str(team["goal_difference"]) + $MarginContainer/MarginContainer/GridContainer.add_child(gd_label) + + if team["name"] == Global.selected_squad: + position_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + gd_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + lose_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + wins_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + name_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + points_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + +func set_up(): + var position = 1 + + for team in Global.teams: + if team["id"] != 0: + var position_label = Label.new() + position_label.text = str(position) + "." + $MarginContainer/MarginContainer/GridContainer.add_child(position_label) + position += 1 + + var name_label = Label.new() + name_label.text = team["name"] + $MarginContainer/MarginContainer/GridContainer.add_child(name_label) + + var points_label = Label.new() + points_label.text = str(team["points"]) + $MarginContainer/MarginContainer/GridContainer.add_child(points_label) + + var wins_label = Label.new() + wins_label.text = str(team["wins"]) + $MarginContainer/MarginContainer/GridContainer.add_child(wins_label) + + var lose_label = Label.new() + lose_label.text = str(team["lost"]) + $MarginContainer/MarginContainer/GridContainer.add_child(lose_label) + + var gd_label = Label.new() + gd_label.text = str(team["goal_difference"]) + $MarginContainer/MarginContainer/GridContainer.add_child(gd_label) + + if team["name"] == Global.selected_squad: + position_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + gd_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + lose_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + wins_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + name_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) + points_label.add_color_override("font_color", Color(35/255.0,168/255.0,193/255.0,1)) diff --git a/game/src/ui/championship/dashboard/table/Table.tscn b/game/src/ui/championship/dashboard/table/Table.tscn new file mode 100644 index 0000000..e493451 --- /dev/null +++ b/game/src/ui/championship/dashboard/table/Table.tscn @@ -0,0 +1,105 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://src/ui/championship/dashboard/table/Table.gd" type="Script" id=2] + +[node name="Table" type="CenterContainer"] +margin_left = 364.783 +margin_top = 465.241 +margin_right = 364.783 +margin_bottom = 465.241 +rect_scale = Vector2( 0.45, 0.45 ) +theme = ExtResource( 1 ) +use_top_left = true +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MarginContainer" type="MarginContainer" parent="."] +show_behind_parent = true +margin_left = -650.0 +margin_top = -92.0 +margin_right = 650.0 +margin_bottom = 92.0 +custom_constants/margin_right = 50 +custom_constants/margin_top = 50 +custom_constants/margin_left = 50 +custom_constants/margin_bottom = 0 + +[node name="Panel" type="Panel" parent="MarginContainer"] +margin_left = 50.0 +margin_top = 50.0 +margin_right = 1250.0 +margin_bottom = 184.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MarginContainer" type="MarginContainer" parent="MarginContainer"] +margin_left = 50.0 +margin_top = 50.0 +margin_right = 1250.0 +margin_bottom = 184.0 +rect_min_size = Vector2( 1200, 0 ) +custom_constants/margin_right = 35 +custom_constants/margin_top = 30 +custom_constants/margin_left = 35 +custom_constants/margin_bottom = 20 + +[node name="GridContainer" type="GridContainer" parent="MarginContainer/MarginContainer"] +margin_left = 35.0 +margin_top = 30.0 +margin_right = 1165.0 +margin_bottom = 114.0 +custom_constants/vseparation = 10 +custom_constants/hseparation = 34 +columns = 6 + +[node name="Position" type="Label" parent="MarginContainer/MarginContainer/GridContainer"] +margin_right = 42.0 +margin_bottom = 84.0 +custom_colors/font_color = Color( 0.862745, 0.698039, 0.0862745, 1 ) +text = "#" + +[node name="Name" type="Label" parent="MarginContainer/MarginContainer/GridContainer"] +margin_left = 76.0 +margin_right = 736.0 +margin_bottom = 84.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +custom_colors/font_color = Color( 0.862745, 0.698039, 0.0862745, 1 ) +custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 ) +text = "TEAM" + +[node name="Points" type="Label" parent="MarginContainer/MarginContainer/GridContainer"] +margin_left = 770.0 +margin_right = 813.0 +margin_bottom = 84.0 +custom_colors/font_color = Color( 0.862745, 0.698039, 0.0862745, 1 ) +text = "P" +align = 1 + +[node name="Win" type="Label" parent="MarginContainer/MarginContainer/GridContainer"] +margin_left = 847.0 +margin_right = 922.0 +margin_bottom = 84.0 +custom_colors/font_color = Color( 0.862745, 0.698039, 0.0862745, 1 ) +text = "W" +align = 1 + +[node name="Lost" type="Label" parent="MarginContainer/MarginContainer/GridContainer"] +margin_left = 956.0 +margin_right = 991.0 +margin_bottom = 84.0 +custom_colors/font_color = Color( 0.862745, 0.698039, 0.0862745, 1 ) +text = "L" +align = 1 + +[node name="GD" type="Label" parent="MarginContainer/MarginContainer/GridContainer"] +margin_left = 1025.0 +margin_right = 1130.0 +margin_bottom = 84.0 +custom_colors/font_color = Color( 0.862745, 0.698039, 0.0862745, 1 ) +text = "GD" +align = 1 diff --git a/game/src/ui/championship/preview/GamePreview.gd b/game/src/ui/championship/preview/GamePreview.gd new file mode 100644 index 0000000..4290a48 --- /dev/null +++ b/game/src/ui/championship/preview/GamePreview.gd @@ -0,0 +1,28 @@ +extends Control + +var animation_player + +var home_icon +var home_name + +var away_icon +var away_name + +func _ready(): + animation_player = $AnimationPlayer + + home_icon = $Control/Home/HomeIcon + home_name = $Control/Home/HomeName + + away_icon = $Control/Away/AwayIcon + away_name = $Control/Away/AwayName + + home_icon.texture = Global.home_team_icon + home_name.text = Global.home_team_name + + away_icon.texture = Global.away_team_icon + away_name.text = Global.away_team_name + + animation_player.play("Show") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/game/singleplayer/Singleplayer.tscn") diff --git a/game/src/ui/championship/preview/GamePreview.tscn b/game/src/ui/championship/preview/GamePreview.tscn new file mode 100644 index 0000000..f101fa4 --- /dev/null +++ b/game/src/ui/championship/preview/GamePreview.tscn @@ -0,0 +1,174 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://src/ui/championship/preview/GamePreview.gd" type="Script" id=2] +[ext_resource path="res://assets/field.png" type="Texture" id=3] +[ext_resource path="res://assets/teams/italian-teams/pochi.png" type="Texture" id=4] +[ext_resource path="res://assets/teams/italian-teams/sharks.png" type="Texture" id=5] + +[sub_resource type="Animation" id=1] +resource_name = "Show" +length = 2.1 +tracks/0/type = "value" +tracks/0/path = NodePath("Control/VS:rect_scale") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.4, 1.6, 2, 2.001, 2.1 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 0.1, 0.1 ), Vector2( 1.2, 1.2 ), Vector2( 1.2, 1.2 ), Vector2( 0.1, 0.1 ), Vector2( 0.1, 0.1 ), Vector2( 0.1, 0.1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Control/Home:rect_position") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.4, 1.6, 2, 2.1 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 720, 0 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( -600, 0 ), Vector2( -600, 0 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Control/Away:rect_position") +tracks/2/interp = 2 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.4, 1.6, 2, 2.1 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( -600, 0 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 720, 0 ), Vector2( 720, 0 ) ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Control/Home/HomeIcon:modulate") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0, 0.4, 1.6, 2, 2.1 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ) ] +} +tracks/4/type = "value" +tracks/4/path = NodePath("Control/Away/AwayIcon:modulate") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/keys = { +"times": PoolRealArray( 0, 0.4, 1.6, 2, 2.1 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ) ] +} +tracks/5/type = "value" +tracks/5/path = NodePath("Control/VS:modulate") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/keys = { +"times": PoolRealArray( 0, 1.6, 2, 2.1 ), +"transitions": PoolRealArray( 1, 1, 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ) ] +} + +[node name="GamePreview" type="Control"] +theme = ExtResource( 1 ) +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Background" type="TextureRect" parent="."] +margin_right = 40.0 +margin_bottom = 40.0 +rect_scale = Vector2( 4, 4 ) +texture = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="WorldCupSimulation" type="Control" parent="."] +visible = false +margin_right = 40.0 +margin_bottom = 40.0 + +[node name="Control" type="Control" parent="."] +margin_right = 40.0 +margin_bottom = 40.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VS" type="Label" parent="Control"] +margin_top = 600.0 +margin_right = 720.0 +margin_bottom = 684.0 +rect_scale = Vector2( 0.1, 0.1 ) +rect_pivot_offset = Vector2( 360, 42 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "VS" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Home" type="Control" parent="Control"] +margin_left = 720.0 +margin_right = 760.0 +margin_bottom = 40.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="HomeIcon" type="Sprite" parent="Control/Home"] +modulate = Color( 1, 1, 1, 0 ) +position = Vector2( 360, 840 ) +scale = Vector2( 1.2, 1.2 ) +texture = ExtResource( 4 ) + +[node name="HomeName" type="Label" parent="Control/Home"] +margin_top = 1000.0 +margin_right = 720.0 +margin_bottom = 1084.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "Pochi 89" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Away" type="Control" parent="Control"] +margin_left = -600.0 +margin_right = -560.0 +margin_bottom = 40.0 + +[node name="AwayIcon" type="Sprite" parent="Control/Away"] +modulate = Color( 1, 1, 1, 0 ) +position = Vector2( 360, 336 ) +scale = Vector2( 1.2, 1.2 ) +texture = ExtResource( 5 ) + +[node name="AwayName" type="Label" parent="Control/Away"] +margin_top = 488.0 +margin_right = 720.0 +margin_bottom = 572.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "Sharks" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/Show = SubResource( 1 ) diff --git a/game/src/ui/championship/team-picker/TeamPicker.gd b/game/src/ui/championship/team-picker/TeamPicker.gd new file mode 100644 index 0000000..da52332 --- /dev/null +++ b/game/src/ui/championship/team-picker/TeamPicker.gd @@ -0,0 +1,305 @@ +extends Node2D + +var team_index +var league_index +var animation_player + +var teams + +func _ready(): + team_index = 0 + league_index = 0 + animation_player = $AnimationPlayer + + set_teams() + $League.text = Teams.leagues[league_index].name + _set_team_first_time() + + animation_player.play("FadeIn") + +func _set_team(): + var team = teams[team_index] + +# animation_player.play("TeamFadeOut") +# yield(animation_player, "animation_completed") + + $Team.texture = team.icon + $Name.text = team["name"] + + if not Global.unlocked_team_ids.has(team["id"]): + $Select.text = tr("BUY") + $Price.text = str(team["price"]) + $Price.show() + $Price.modulate = Color(1,1,1,1) +# $Team.modulate = Color(0,0,0,1) + $Locker.show() + else: + $Select.text = tr("PLAY") + $Price.hide() +# $Team.modulate = Color(1,1,1,1) + $Locker.hide() + + + $Power/Bar.value = team.power + $Speed/Bar.value = team.speed + +# animation_player.play("TeamFadeIn") +# yield(animation_player, "animation_completed") + +func _set_team_first_time(): + var team = teams[team_index] + + $Team.texture = team.icon + $Name.text = team["name"] + + if not Global.unlocked_team_ids.has(team["id"]): + $Select.text = tr("BUY") + $Price.text = str(team["price"]) + $Price.modulate = Color(1,1,1,1) + $Price.show() +# $Team.modulate = Color(0,0,0,1) + $Locker.show() + else: + $Select.text = tr("PLAY") + $Price.hide() +# $Team.modulate = Color(1,1,1,1) + $Locker.hide() + + $Power/Bar.value = team.power + $Speed/Bar.value = team.speed + +func _on_PrevTeam_pressed(): + Global.click() + team_index -= 1 + if team_index == -1: + team_index = teams.size() - 1 + _set_team() + + +func _on_NextTeam_pressed(): + Global.click() + team_index += 1 + if team_index == teams.size(): + team_index = 0 + _set_team() + + +func _on_PrevLeague_pressed(): + Global.click() + league_index -= 1 + if league_index == -1: + league_index = Teams.leagues.size() - 1 + + set_teams() + team_index = 0 + _set_team() + + +# animation_player.play("FadeOutLeague") +# yield(animation_player, "tween_completed") + + $League.text = Teams.leagues[league_index].name + +# animation_player.play("FadeInLeague") +# yield(animation_player, "tween_completed") + + + +func _on_NextLeague_pressed(): + Global.click() + league_index += 1 + if league_index == Teams.leagues.size(): + league_index = 0 + set_teams() + team_index = 0 + _set_team() + +# animation_player.play("FadeOutLeague") +# yield(animation_player, "tween_completed") + + $League.text = Teams.leagues[league_index].name + +# animation_player.play("FadeInLeague") +# yield(animation_player, "tween_completed") + + +func _on_Select_pressed(): + Global.click() + var team = teams[team_index] + if not Global.unlocked_team_ids.has(team["id"]): + if unlock_team(team): + $Locker.play("open") + yield($Locker,"animation_finished") + $Locker.play("idle") + $Locker.hide() + $AnimationPlayer.play("Unlock") + $Select.text = tr("PLAY") + else: + Global.current_league_name = Teams.leagues[league_index]["name"] + Global.selected_squad = team["name"] + Global.league_started = true + + if Teams.leagues[league_index].name == "World Cup": + Global.is_worldcup = true + inizialize_worldcup_matches() + else: + Global.is_worldcup = false + inizialize_matches() + + $AnimationPlayer.play("FadeOut") + yield($AnimationPlayer,"animation_finished") + get_tree().change_scene("res://src/ui/championship/dashboard/Dashboard.tscn") + + + +func _on_GoBack_pressed(): + Global.click() + $AnimationPlayer.play("FadeOut") + yield($AnimationPlayer,"animation_finished") + get_tree().change_scene("res://src/ui/menu/play/Play.tscn") + + +# add for world cup rounds and then final stage +func inizialize_matches(): + Global.matches = [] + Global.match_day = 0 + var random_teams = Global.teams.duplicate(true) + random_teams.shuffle() + + var last_team = random_teams.pop_front() + + for i in random_teams.size(): + var matchOne + if last_team["name"] == Global.selected_squad: + matchOne = {"home": last_team,"away": random_teams[0], "result":":"} + else: + matchOne = {"home":random_teams[0] ,"away": last_team, "result":":"} + Global.matches.append(matchOne) + + var copy = random_teams.duplicate(true) + copy.remove(0) + + for j in range(0,(Global.teams.size()/2) - 1): + var matchTwo + var home_index = j + var away_index = - j - 1 + + if copy[away_index]["name"] == Global.selected_squad: + matchTwo = {"home": copy[away_index],"away":copy[home_index], "result":":"} + else: + matchTwo = {"home": copy[home_index],"away":copy[away_index], "result":":"} + + Global.matches.append(matchTwo) + _shift_array(random_teams) + + + + Global.save_all_data() +# var o = 0 +# for matchz in Global.matches: +# o += 1 +# print(str(o) + ": " + matchz["home"]["name"] + " : " + matchz["away"]["name"]) + +func inizialize_worldcup_matches(): + Global.matches = [] + Global.groups = [] + Global.match_day = 0 + var random_teams = Global.teams.duplicate(true) + random_teams.shuffle() + + # make 4 groups of 3 teams + var group = [] + for i in 12: + if i % 3 == 0 and i > 0: + group.append(Teams.break_team) + Global.groups.append(group) + group = [] + group.append(random_teams[i]) + group.append(Teams.break_team) + Global.groups.append(group) + + Global.match_day = 0 + + var group_matches = [] + + # now make matches depending on groups + for groupz in Global.groups: + var teamz = groupz.duplicate(true) +# var random_group_teams = .teams.duplicate(true) + + teamz.shuffle() + + var matchez = [] + + + var last_team = teamz.pop_front() + + for i in teamz.size(): + var matchOne + if last_team["name"] == Global.selected_squad: + matchOne = {"home": last_team,"away": teamz[0], "result":":"} + else: + matchOne = {"home":teamz[0] ,"away": last_team, "result":":"} + matchez.append(matchOne) + + var copy = teamz.duplicate(true) + copy.remove(0) + + for j in range(0,1): + var matchTwo + var home_index = j + var away_index = - j - 1 + + if copy[away_index]["name"] == Global.selected_squad: + matchTwo = {"home": copy[away_index],"away":copy[home_index], "result":":"} + else: + matchTwo = {"home": copy[home_index],"away":copy[away_index], "result":":"} + + matchez.append(matchTwo) + _shift_array(teamz) + group_matches.append(matchez) + + + # swap matches beacuse now they are in group order + # but cronological order is need + for i in 6: + for j in 4: + Global.matches.append(group_matches[j][i]) + print(Global.matches.size()) + + # ritorno + for i in Global.matches.size(): + var matchz = Global.matches[i] + var opposide_match + + # to make sure you play always at home + if matchz["home"]["name"] == Global.selected_squad: + opposide_match = {"home": matchz["home"],"away":matchz["away"], "result":":"} + else: + opposide_match = {"home": matchz["away"],"away":matchz["home"], "result":":"} + Global.matches.append(opposide_match) + + print(Global.matches.size()) + print(Global.matches.size()) + +func unlock_team(team): + if Global.coins - team["price"] < 0: + return false + Global.coins -= team["price"] + Global.unlocked_team_ids.append(team["id"]) + Global.save_all_data() + return true + +func _shift_array(array): + var temp = array[0] + for i in range(array.size() - 1): + array[i] = array[i+1] + array[array.size() - 1] = temp + +func set_teams(): + Global.teams = Teams.leagues[league_index].teams.duplicate(true) + teams = Teams.leagues[league_index].teams.duplicate(true) + for team in teams: + if team["id"] == 0: + teams.erase(team) +# teams diff --git a/game/src/ui/championship/team-picker/TeamPicker.tscn b/game/src/ui/championship/team-picker/TeamPicker.tscn new file mode 100644 index 0000000..379e54b --- /dev/null +++ b/game/src/ui/championship/team-picker/TeamPicker.tscn @@ -0,0 +1,280 @@ +[gd_scene load_steps=39 format=2] + +[ext_resource path="res://src/ui/championship/team-picker/TeamPicker.gd" type="Script" id=1] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=2] +[ext_resource path="res://assets/next.png" type="Texture" id=3] +[ext_resource path="res://assets/prev.png" type="Texture" id=4] +[ext_resource path="res://assets/font/DSEG7ClassicMini-Bold.ttf" type="DynamicFontData" id=5] +[ext_resource path="res://src/ui/TextureProgress.tscn" type="PackedScene" id=6] +[ext_resource path="res://assets/locker/locker6.png" type="Texture" id=7] +[ext_resource path="res://assets/locker/locker17.png" type="Texture" id=8] +[ext_resource path="res://assets/locker/locker15.png" type="Texture" id=9] +[ext_resource path="res://assets/locker/locker22.png" type="Texture" id=10] +[ext_resource path="res://assets/locker/locker24.png" type="Texture" id=11] +[ext_resource path="res://assets/locker/locker13.png" type="Texture" id=12] +[ext_resource path="res://assets/locker/locker26.png" type="Texture" id=13] +[ext_resource path="res://assets/locker/locker16.png" type="Texture" id=14] +[ext_resource path="res://assets/locker/locker9.png" type="Texture" id=15] +[ext_resource path="res://assets/locker/locker27.png" type="Texture" id=16] +[ext_resource path="res://assets/locker/locker14.png" type="Texture" id=17] +[ext_resource path="res://assets/locker/locker10.png" type="Texture" id=18] +[ext_resource path="res://assets/locker/locker11.png" type="Texture" id=19] +[ext_resource path="res://assets/locker/locker7.png" type="Texture" id=20] +[ext_resource path="res://assets/locker/locker2.png" type="Texture" id=21] +[ext_resource path="res://assets/locker/locker8.png" type="Texture" id=22] +[ext_resource path="res://assets/locker/locker18.png" type="Texture" id=23] +[ext_resource path="res://assets/locker/locker5.png" type="Texture" id=24] +[ext_resource path="res://assets/locker/locker21.png" type="Texture" id=25] +[ext_resource path="res://assets/locker/locker20.png" type="Texture" id=26] +[ext_resource path="res://assets/locker/locker4.png" type="Texture" id=27] +[ext_resource path="res://assets/locker/locker19.png" type="Texture" id=28] +[ext_resource path="res://assets/locker/locker25.png" type="Texture" id=29] +[ext_resource path="res://assets/locker/locker1.png" type="Texture" id=30] +[ext_resource path="res://assets/locker/locker3.png" type="Texture" id=31] +[ext_resource path="res://assets/locker/locker23.png" type="Texture" id=32] +[ext_resource path="res://assets/locker/locker12.png" type="Texture" id=33] + +[sub_resource type="DynamicFont" id=1] +size = 106 +outline_size = 8 +font_data = ExtResource( 5 ) + +[sub_resource type="Animation" id=2] +length = 0.3 +step = 0.09 +tracks/0/type = "value" +tracks/0/path = NodePath(".:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=3] +length = 0.3 +step = 0.09 +tracks/0/type = "value" +tracks/0/path = NodePath(".:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.27 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[sub_resource type="Animation" id=4] +length = 0.5 +tracks/0/type = "value" +tracks/0/path = NodePath("Team:modulate") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = false +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2, 0.5 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Color( 0, 0, 0, 1 ), Color( 0, 0, 0, 1 ), Color( 1, 1, 1, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Team:scale") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = false +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2, 0.5 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 1.8, 1.8 ), Vector2( 3, 3 ), Vector2( 1.8, 1.8 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Price:modulate") +tracks/2/interp = 2 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.5 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[sub_resource type="SpriteFrames" id=5] +animations = [ { +"frames": [ ExtResource( 30 ) ], +"loop": true, +"name": "idle", +"speed": 5.0 +}, { +"frames": [ ExtResource( 30 ), ExtResource( 21 ), ExtResource( 31 ), ExtResource( 27 ), ExtResource( 24 ), ExtResource( 7 ), ExtResource( 20 ), ExtResource( 22 ), ExtResource( 15 ), ExtResource( 18 ), ExtResource( 19 ), ExtResource( 33 ), ExtResource( 12 ), ExtResource( 17 ), ExtResource( 9 ), ExtResource( 14 ), ExtResource( 8 ), ExtResource( 23 ), ExtResource( 28 ), ExtResource( 26 ), ExtResource( 25 ), ExtResource( 10 ), ExtResource( 32 ), ExtResource( 11 ), ExtResource( 29 ), ExtResource( 13 ), ExtResource( 16 ) ], +"loop": true, +"name": "open", +"speed": 26.0 +} ] + +[node name="TeamPicker" type="Node2D"] +modulate = Color( 1, 1, 1, 0 ) +script = ExtResource( 1 ) + +[node name="NextTeam" type="TextureButton" parent="."] +self_modulate = Color( 0.137255, 0.658824, 0.756863, 1 ) +margin_left = 610.0 +margin_top = 665.0 +margin_right = 660.0 +margin_bottom = 725.0 +rect_scale = Vector2( 2, 2 ) +texture_normal = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PrevTeam" type="TextureButton" parent="."] +self_modulate = Color( 0.137255, 0.658824, 0.756863, 1 ) +margin_left = 10.0 +margin_top = 665.0 +margin_right = 60.0001 +margin_bottom = 715.0 +rect_scale = Vector2( 2, 2 ) +texture_normal = ExtResource( 4 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PrevLeague" type="TextureButton" parent="."] +self_modulate = Color( 0.137255, 0.658824, 0.756863, 1 ) +margin_left = 10.0 +margin_top = 96.0 +margin_right = 60.0 +margin_bottom = 156.0 +rect_scale = Vector2( 2, 2 ) +texture_normal = ExtResource( 4 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="NextLeague" type="TextureButton" parent="."] +self_modulate = Color( 0.137255, 0.658824, 0.756863, 1 ) +margin_left = 610.0 +margin_top = 96.0 +margin_right = 660.0 +margin_bottom = 146.0 +rect_scale = Vector2( 2, 2 ) +texture_normal = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="League" type="Label" parent="."] +margin_left = 87.0 +margin_top = 59.0 +margin_right = 1011.0 +margin_bottom = 367.0 +rect_scale = Vector2( 0.59716, 0.59716 ) +theme = ExtResource( 2 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "italian broomball league" +align = 1 +valign = 1 +autowrap = true +uppercase = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Name" type="Label" parent="."] +margin_left = 39.2257 +margin_top = 692.03 +margin_right = 959.226 +margin_bottom = 776.03 +rect_scale = Vector2( 0.7, 0.7 ) +theme = ExtResource( 2 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "10000" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Speed" type="Node2D" parent="."] +position = Vector2( -1.80908, -34.3184 ) + +[node name="Bar" parent="Speed" instance=ExtResource( 6 )] +margin_left = 151.945 +margin_top = 917.787 +margin_right = 559.945 +margin_bottom = 1001.79 +text = "SPEED" + +[node name="Power" type="Node2D" parent="."] +position = Vector2( 150.88, 783.361 ) + +[node name="Bar" parent="Power" instance=ExtResource( 6 )] + +[node name="Select" type="Button" parent="."] +margin_left = 149.0 +margin_top = 1001.0 +margin_right = 561.0 +margin_bottom = 1100.0 +theme = ExtResource( 2 ) +text = "PLAY" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Team" type="Sprite" parent="."] +position = Vector2( 358.565, 430.375 ) +scale = Vector2( 1.8, 1.8 ) + +[node name="GoBack" type="Button" parent="."] +margin_left = 151.0 +margin_top = 1130.0 +margin_right = 561.0 +margin_bottom = 1229.0 +theme = ExtResource( 2 ) +text = "GO_BACK" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Price" type="Label" parent="."] +margin_left = 66.358 +margin_top = 520.0 +margin_right = 666.358 +margin_bottom = 626.0 +theme = ExtResource( 2 ) +custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "00000" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 2 ) +anims/FadeOut = SubResource( 3 ) +anims/Unlock = SubResource( 4 ) + +[node name="Locker" type="AnimatedSprite" parent="."] +position = Vector2( 358.565, 336 ) +scale = Vector2( 1.6, 1.6 ) +frames = SubResource( 5 ) +animation = "idle" + +[connection signal="pressed" from="NextTeam" to="." method="_on_NextTeam_pressed"] +[connection signal="pressed" from="PrevTeam" to="." method="_on_PrevTeam_pressed"] +[connection signal="pressed" from="PrevLeague" to="." method="_on_PrevLeague_pressed"] +[connection signal="pressed" from="NextLeague" to="." method="_on_NextLeague_pressed"] +[connection signal="pressed" from="Select" to="." method="_on_Select_pressed"] +[connection signal="pressed" from="GoBack" to="." method="_on_GoBack_pressed"] diff --git a/game/src/ui/championship/team-picker/Tween.gd b/game/src/ui/championship/team-picker/Tween.gd new file mode 100644 index 0000000..c728d78 --- /dev/null +++ b/game/src/ui/championship/team-picker/Tween.gd @@ -0,0 +1,14 @@ +extends Tween + +func fade_in(node): + interpolate_property(node, "modulate", + Color(1, 1, 1, 0), Color(1, 1, 1, 1), 0.1, + Tween.TRANS_LINEAR, Tween.EASE_IN) + start() + +func fade_out(node): + interpolate_property(node, "modulate", + Color(1, 1, 1, 1), Color(1, 1, 1, 0), 0.1, + Tween.TRANS_LINEAR, Tween.EASE_IN) + start() + diff --git a/game/src/ui/difficulty/DifficultySelection.gd b/game/src/ui/difficulty/DifficultySelection.gd new file mode 100644 index 0000000..3a6fd1d --- /dev/null +++ b/game/src/ui/difficulty/DifficultySelection.gd @@ -0,0 +1,66 @@ +extends Control + +var animation_player + +func _ready(): + Global.set_home_team(null) + Global.set_away_team(null) + Global.current_league_game = null + Global.home_team_power = 10 + Global.home_team_speed = 10 + + animation_player = $AnimationPlayer + + animation_player.play("FadeIn") + +func _on_Easy_pressed(): + Global.click() + Global.away_team_power = 2.5 + Global.away_team_speed = 2.5 + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/game/singleplayer/Singleplayer.tscn") + + +func _on_Medium_pressed(): + Global.click() + Global.away_team_power = 4 + Global.away_team_speed = 4 + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/game/singleplayer/Singleplayer.tscn") + + +func _on_Hard_pressed(): + Global.click() + Global.away_team_power = 6 + Global.away_team_speed = 6 + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/game/singleplayer/Singleplayer.tscn") + + + +func _on_Extreme_pressed(): + Global.click() + Global.away_team_power = 8 + Global.away_team_speed = 8 + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/game/singleplayer/Singleplayer.tscn") + + +func _on_Legend_pressed(): + Global.click() + Global.away_team_power = 10 + Global.away_team_speed = 10 + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/game/singleplayer/Singleplayer.tscn") + + +func _on_GoBack_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") diff --git a/game/src/ui/difficulty/DifficultySelection.tscn b/game/src/ui/difficulty/DifficultySelection.tscn new file mode 100644 index 0000000..a0e783d --- /dev/null +++ b/game/src/ui/difficulty/DifficultySelection.tscn @@ -0,0 +1,119 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://src/ui/difficulty/DifficultySelection.gd" type="Script" id=1] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=2] +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=3] +[ext_resource path="res://src/ui/Icon.tscn" type="PackedScene" id=5] + +[sub_resource type="Animation" id=1] +resource_name = "FadeIn" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("MarginContainer:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=2] +resource_name = "FadeOut" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("MarginContainer:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[node name="DifficultySelection" type="Control"] +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Background" parent="." instance=ExtResource( 3 )] + +[node name="Icon" parent="." instance=ExtResource( 5 )] + +[node name="MarginContainer" type="MarginContainer" parent="."] +modulate = Color( 1, 1, 1, 0 ) +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 100.0 +margin_right = 620.0 +margin_bottom = 1280.0 +theme = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] +margin_right = 520.0 +margin_bottom = 1280.0 +custom_constants/separation = 8 +alignment = 1 + +[node name="Easy" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 323.0 +margin_right = 520.0 +margin_bottom = 422.0 +text = "EASY" + +[node name="Medium" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 430.0 +margin_right = 520.0 +margin_bottom = 529.0 +text = "MEDIUM" + +[node name="Hard" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 537.0 +margin_right = 520.0 +margin_bottom = 636.0 +text = "HARD" + +[node name="Extreme" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 644.0 +margin_right = 520.0 +margin_bottom = 743.0 +text = "EXTREME" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Legend" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 751.0 +margin_right = 520.0 +margin_bottom = 850.0 +text = "LEGEND" + +[node name="GoBack" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 858.0 +margin_right = 520.0 +margin_bottom = 957.0 +text = "GO_BACK" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 1 ) +anims/FadeOut = SubResource( 2 ) + +[connection signal="pressed" from="MarginContainer/VBoxContainer/Easy" to="." method="_on_Easy_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Medium" to="." method="_on_Medium_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Hard" to="." method="_on_Hard_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Extreme" to="." method="_on_Extreme_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Legend" to="." method="_on_Legend_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/GoBack" to="." method="_on_GoBack_pressed"] diff --git a/game/src/ui/game/Score.tscn b/game/src/ui/game/Score.tscn new file mode 100644 index 0000000..95517cf --- /dev/null +++ b/game/src/ui/game/Score.tscn @@ -0,0 +1,49 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://src/ui/game/singleplayer/Score.gd" type="Script" id=2] +[ext_resource path="res://assets/font/DSEG7ClassicMini-Bold.ttf" type="DynamicFontData" id=3] + +[sub_resource type="DynamicFont" id=1] +size = 120 +font_data = ExtResource( 3 ) + +[sub_resource type="DynamicFont" id=2] +size = 120 +font_data = ExtResource( 3 ) + +[node name="Score" type="Node2D"] + +[node name="AwayScore" type="Label" parent="."] +pause_mode = 2 +modulate = Color( 0, 0, 0, 0.470588 ) +margin_left = 615.0 +margin_top = 495.0 +margin_right = 713.0 +margin_bottom = 738.0 +theme = ExtResource( 1 ) +custom_fonts/font = SubResource( 1 ) +text = "0 +" +align = 1 +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="HomeScore" type="Label" parent="."] +pause_mode = 2 +modulate = Color( 0, 0, 0, 0.470588 ) +margin_left = 615.0 +margin_top = 665.0 +margin_right = 713.0 +margin_bottom = 908.0 +theme = ExtResource( 1 ) +custom_fonts/font = SubResource( 2 ) +text = "0 +" +align = 1 +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/game/src/ui/game/arcade/Arcade.gd b/game/src/ui/game/arcade/Arcade.gd new file mode 100644 index 0000000..d126c5b --- /dev/null +++ b/game/src/ui/game/arcade/Arcade.gd @@ -0,0 +1,84 @@ +extends Node2D + + +var game_over = false + +var score = 0 +var score_label + +var collected_coins = 0 + +var powerup_timer +var effect_timer + +var freeze = preload("res://src/ui/game/arcade/powerups/Freeze.tscn") +var coins_bonus = preload("res://src/ui/game/arcade/powerups/Coins.tscn") + +func _ready(): + get_tree().paused = false + TouchHelper.reset() + + powerup_timer = $PowerUpTimer + effect_timer = $EffectTimer + effect_timer.wait_time = Global.arcade_freeze + + score_label = $Score + score_label.text = str(0) + + + if Global.music: + Global.music_loop.fade_out() + if Global.sfx: + $Field/Sounds/Crowd.play() + + powerup_timer.start() + + +func _on_Goals_away_goal(): + $Ball/RigidBody2D.on_away_goal() + get_tree().paused = true + if score > Global.arcade_highscore: + Global.arcade_highscore = score + $GameOver.is_highscore(true) + else: + $GameOver.is_highscore(false) + + GameServices.submit_arcade_score(score) + + Global.save_all_data() + $Pause.hide() + $GameOver.set_collected_coins_and_score(collected_coins,score) + $GameOver.show() + + +func _on_Goals_home_goal(): + score += 1 + score_label.text = str(score) + $Computer.freeze = false + $Computer.level_up() + $Field.goal_sound() + $Ball/RigidBody2D.on_home_goal() + + +func _on_PowerUpTimer_timeout(): + var powerup + if randi() % 2: +# if 1 == 0: + powerup = freeze.instance() + powerup.connect("freeze",self,"_freeze_computer") + else: + powerup = coins_bonus.instance() + powerup.connect("coins_bonus",self,"_coins_bonus") + powerup.position = Vector2(randi()%600+60,randi()%520+60) + $PowerUps.add_child(powerup) + powerup_timer.start(randi()%10+10) + +func _freeze_computer(): + $Computer.freeze = true + effect_timer.start() + +func _coins_bonus(): + collected_coins += 1 + +func _on_EffectTimer_timeout(): + $Computer.freeze = false diff --git a/game/src/ui/game/arcade/Arcade.tscn b/game/src/ui/game/arcade/Arcade.tscn new file mode 100644 index 0000000..6d20e9c --- /dev/null +++ b/game/src/ui/game/arcade/Arcade.tscn @@ -0,0 +1,86 @@ +[gd_scene load_steps=14 format=2] + +[ext_resource path="res://src/field/Goals.tscn" type="PackedScene" id=1] +[ext_resource path="res://src/field/RoundCorners.tscn" type="PackedScene" id=2] +[ext_resource path="res://src/ui/game/arcade/Arcade.gd" type="Script" id=3] +[ext_resource path="res://src/actors/player/Player.tscn" type="PackedScene" id=4] +[ext_resource path="res://src/field/Field.tscn" type="PackedScene" id=5] +[ext_resource path="res://src/actors/ball/Ball.tscn" type="PackedScene" id=6] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=7] +[ext_resource path="res://assets/font/DSEG7ClassicMini-Bold.ttf" type="DynamicFontData" id=8] +[ext_resource path="res://src/actors/computer/Computer.tscn" type="PackedScene" id=9] +[ext_resource path="res://src/ui/game/arcade/game_over/ArcadeGameOver.tscn" type="PackedScene" id=10] +[ext_resource path="res://src/ui/pause/Pause.tscn" type="PackedScene" id=11] +[ext_resource path="res://assets/broomballcentral.png" type="Texture" id=12] + +[sub_resource type="DynamicFont" id=1] +size = 100 +font_data = ExtResource( 8 ) + +[node name="Arcade" type="Node2D"] +script = ExtResource( 3 ) + +[node name="Field" parent="." instance=ExtResource( 5 )] + +[node name="ColorRect" type="ColorRect" parent="."] +margin_left = 242.174 +margin_top = 624.562 +margin_right = 282.174 +margin_bottom = 664.562 +rect_scale = Vector2( 6.20948, 0.806925 ) +color = Color( 0.933333, 0.933333, 0.933333, 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="BroombalCentral" type="Sprite" parent="."] +modulate = Color( 1, 1, 1, 0.85098 ) +position = Vector2( 360, 640 ) +scale = Vector2( 0.764549, 0.764549 ) +texture = ExtResource( 12 ) + +[node name="PowerUps" type="Node2D" parent="."] + +[node name="Score" type="Label" parent="."] +margin_left = 10.0 +margin_top = 970.0 +margin_right = 710.0 +margin_bottom = 1070.0 +theme = ExtResource( 7 ) +custom_colors/font_color = Color( 0, 0, 0, 0.627451 ) +custom_fonts/font = SubResource( 1 ) +text = "000" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Goals" parent="." instance=ExtResource( 1 )] + +[node name="RoundCorners" parent="." instance=ExtResource( 2 )] + +[node name="Ball" parent="." instance=ExtResource( 6 )] +position = Vector2( 368.321, 809.014 ) + +[node name="Player" parent="." instance=ExtResource( 4 )] +position = Vector2( 376.075, 966.682 ) + +[node name="Computer" parent="." instance=ExtResource( 9 )] +position = Vector2( 375.177, 234.844 ) + +[node name="Pause" parent="." instance=ExtResource( 11 )] + +[node name="GameOver" parent="." instance=ExtResource( 10 )] +pause_mode = 2 +visible = false + +[node name="PowerUpTimer" type="Timer" parent="."] +one_shot = true + +[node name="EffectTimer" type="Timer" parent="."] +one_shot = true + +[connection signal="away_goal" from="Goals" to="." method="_on_Goals_away_goal"] +[connection signal="home_goal" from="Goals" to="." method="_on_Goals_home_goal"] +[connection signal="timeout" from="PowerUpTimer" to="." method="_on_PowerUpTimer_timeout"] +[connection signal="timeout" from="EffectTimer" to="." method="_on_EffectTimer_timeout"] diff --git a/game/src/ui/game/arcade/ArcadeDashboard.gd b/game/src/ui/game/arcade/ArcadeDashboard.gd new file mode 100644 index 0000000..f3ac888 --- /dev/null +++ b/game/src/ui/game/arcade/ArcadeDashboard.gd @@ -0,0 +1,103 @@ +extends Control + +var speed_bar +var power_bar +var freeze_bar + +var speed_up_button +var power_up_button +var freeze_up_button + +var animation_player + +func _ready(): + speed_bar = $MarginContainer/VBoxContainer/Speed/TextureProgress + power_bar = $MarginContainer/VBoxContainer/Power/TextureProgress + freeze_bar = $MarginContainer/VBoxContainer/Freeze/TextureProgress + + speed_up_button = $MarginContainer/VBoxContainer/Speed/SpeedUp + freeze_up_button = $MarginContainer/VBoxContainer/Freeze/FreezeUp + power_up_button = $MarginContainer/VBoxContainer/Power/PowerUp + + speed_up_button.text = str(_get_price(Global.arcade_speed)) + freeze_up_button.text = str(_get_price(Global.arcade_freeze)) + power_up_button.text = str(_get_price(Global.arcade_power)) + + animation_player = $AnimationPlayer + animation_player.play("Highscore") + + speed_bar.value = Global.arcade_speed + power_bar.value = Global.arcade_power + freeze_bar.value = Global.arcade_freeze + + if OS.get_name() == "iOS": + $MarginContainer/VBoxContainer/OnlineHighscore.show() + + + $MarginContainer/VBoxContainer/Highscore.text = str(Global.arcade_highscore) + + animation_player.play("FadeIn") + +func _get_price(n): + if n == 10: + return "max" + var price = 1000 + for i in n - 1: + price *= 2 + return price + +func _on_Play_pressed(): + + Global.away_team_speed = 2.3 + Global.away_team_power = 2.3 + + Global.home_team_speed = Global.arcade_speed + Global.home_team_power = Global.arcade_power + + Global.set_home_team(null) + Global.set_away_team(null) + + + Global.click() + + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/game/arcade/Arcade.tscn") + + +func _on_GoBack_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") + + +func _on_SpeedUp_pressed(): + Global.click() + if Global.arcade_speed < 10 and Global.use_coins(_get_price(Global.arcade_speed)): + Global.arcade_speed += 1 + speed_up_button.text = str(_get_price(Global.arcade_speed)) + speed_bar.value = Global.arcade_speed + Global.save_all_data() + +func _on_PowerUp_pressed(): + Global.click() + if Global.arcade_power < 10 and Global.use_coins(_get_price(Global.arcade_power)): + Global.arcade_power += 1 + power_up_button.text = str(_get_price(Global.arcade_power)) + power_bar.value = Global.arcade_power + Global.save_all_data() + + +func _on_FreezeUp_pressed(): + Global.click() + if Global.arcade_freeze < 10 and Global.use_coins(_get_price(Global.arcade_freeze)): + Global.arcade_freeze += 1 + freeze_up_button.text = str(_get_price(Global.arcade_freeze)) + freeze_bar.value = Global.arcade_freeze + Global.save_all_data() + + +func _on_OnlineHighscore_pressed(): + Global.click() + GameServices.show_leaderboard() diff --git a/game/src/ui/game/arcade/ArcadeDashboard.tscn b/game/src/ui/game/arcade/ArcadeDashboard.tscn new file mode 100644 index 0000000..d27331e --- /dev/null +++ b/game/src/ui/game/arcade/ArcadeDashboard.tscn @@ -0,0 +1,176 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://assets/font/DSEG7ClassicMini-Bold.ttf" type="DynamicFontData" id=2] +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=3] +[ext_resource path="res://src/ui/game/arcade/ArcadeDashboard.gd" type="Script" id=4] +[ext_resource path="res://src/ui/TextureProgress.tscn" type="PackedScene" id=5] +[ext_resource path="res://assets/leaderboardsComplex.png" type="Texture" id=6] + +[sub_resource type="DynamicFont" id=1] +size = 124 +font_data = ExtResource( 2 ) + +[sub_resource type="Animation" id=2] +resource_name = "FadeIn" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("MarginContainer:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=3] +resource_name = "FadeOut" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("MarginContainer:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[sub_resource type="Animation" id=4] +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("MarginContainer/VBoxContainer/Highscore:rect_scale") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.5, 1 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 0.8, 0.8 ), Vector2( 1.2, 1.2 ), Vector2( 0.8, 0.8 ) ] +} + +[node name="Dashboard" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 1 ) +script = ExtResource( 4 ) + +[node name="Background" parent="." instance=ExtResource( 3 )] + +[node name="MarginContainer" type="MarginContainer" parent="."] +modulate = Color( 1, 1, 1, 0 ) +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 110.0 +margin_top = 10.0 +margin_right = -110.0 +margin_bottom = -10.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] +margin_right = 500.0 +margin_bottom = 1260.0 +custom_constants/separation = 24 +alignment = 1 + +[node name="Highscore" type="Label" parent="MarginContainer/VBoxContainer"] +margin_top = 35.0 +margin_right = 500.0 +margin_bottom = 159.0 +rect_pivot_offset = Vector2( 250, 62 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "32" +align = 1 + +[node name="Speed" type="VBoxContainer" parent="MarginContainer/VBoxContainer"] +margin_top = 183.0 +margin_right = 500.0 +margin_bottom = 386.0 + +[node name="TextureProgress" parent="MarginContainer/VBoxContainer/Speed" instance=ExtResource( 5 )] +margin_right = 500.0 +margin_bottom = 94.0 +rect_min_size = Vector2( 0, 94 ) +text = "SPEED" + +[node name="SpeedUp" type="Button" parent="MarginContainer/VBoxContainer/Speed"] +margin_top = 104.0 +margin_right = 500.0 +margin_bottom = 203.0 +text = "64000" + +[node name="Power" type="VBoxContainer" parent="MarginContainer/VBoxContainer"] +margin_top = 410.0 +margin_right = 500.0 +margin_bottom = 613.0 + +[node name="TextureProgress" parent="MarginContainer/VBoxContainer/Power" instance=ExtResource( 5 )] +margin_right = 500.0 +margin_bottom = 94.0 +rect_min_size = Vector2( 0, 94 ) + +[node name="PowerUp" type="Button" parent="MarginContainer/VBoxContainer/Power"] +margin_top = 104.0 +margin_right = 500.0 +margin_bottom = 203.0 +text = "1000" + +[node name="Freeze" type="VBoxContainer" parent="MarginContainer/VBoxContainer"] +margin_top = 637.0 +margin_right = 500.0 +margin_bottom = 840.0 + +[node name="TextureProgress" parent="MarginContainer/VBoxContainer/Freeze" instance=ExtResource( 5 )] +margin_right = 500.0 +margin_bottom = 94.0 +rect_min_size = Vector2( 0, 94 ) +text = "FREEZE" + +[node name="FreezeUp" type="Button" parent="MarginContainer/VBoxContainer/Freeze"] +margin_top = 104.0 +margin_right = 500.0 +margin_bottom = 203.0 +text = "2000" + +[node name="OnlineHighscore" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 864.0 +margin_right = 500.0 +margin_bottom = 979.0 +text = "ONLINE" +icon = ExtResource( 6 ) + +[node name="Play" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 1003.0 +margin_right = 500.0 +margin_bottom = 1102.0 +text = "PLAY" + +[node name="GoBack" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 1126.0 +margin_right = 500.0 +margin_bottom = 1225.0 +text = "GO_BACK" + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 2 ) +anims/FadeOut = SubResource( 3 ) +anims/Highscore = SubResource( 4 ) + +[connection signal="pressed" from="MarginContainer/VBoxContainer/Speed/SpeedUp" to="." method="_on_SpeedUp_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Power/PowerUp" to="." method="_on_PowerUp_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Freeze/FreezeUp" to="." method="_on_FreezeUp_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/OnlineHighscore" to="." method="_on_OnlineHighscore_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Play" to="." method="_on_Play_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/GoBack" to="." method="_on_GoBack_pressed"] diff --git a/game/src/ui/game/arcade/game_over/ArcadeGameOver.gd b/game/src/ui/game/arcade/game_over/ArcadeGameOver.gd new file mode 100644 index 0000000..425c6dd --- /dev/null +++ b/game/src/ui/game/arcade/game_over/ArcadeGameOver.gd @@ -0,0 +1,56 @@ +extends Control + +var revived = false + +var _coins = 0 +var _score = 0 + +onready var animation_player = $AnimationPlayer + +func _ready(): + if OS.get_name() == "iOS": + $CenterContainer/MarginContainer/VBoxContainer/Highscore.show() + + +func is_highscore(highscore): + if highscore: + $Highscore.play() + $NewHighscore.show() + +func set_collected_coins_and_score(collected_coins,score): + _coins = collected_coins + _score = score + $HBoxContainer/Coins.text = str(collected_coins * 50) + "x" + str(score) + Global.music_loop.fade_in() + +func _on_Replay_pressed(): + Global.click() + Global.add_coins(_coins * 50 * _score) + animation_player.play("FadeOut") + yield(animation_player,"animation_finished") + get_tree().paused = false + get_tree().change_scene("res://src/ui/game/arcade/Arcade.tscn") + + +func _on_Continue_pressed(): + Global.click() + Global.add_coins(_coins * 50 * _score) + animation_player.play("FadeOut") + yield(animation_player,"animation_finished") + get_tree().paused = false + get_tree().change_scene("res://src/ui/game/arcade/ArcadeDashboard.tscn") + +func _on_Revive_pressed(): + Global.click() + Global.music_loop.fade_out() + + + +func _on_GameOver_visibility_changed(): + if revived: + $CenterContainer/MarginContainer/VBoxContainer/Revive.hide() + animation_player.play("FadeIn") + + +func _on_Highscore_pressed(): + GameServices.show_leaderboard() diff --git a/game/src/ui/game/arcade/game_over/ArcadeGameOver.tscn b/game/src/ui/game/arcade/game_over/ArcadeGameOver.tscn new file mode 100644 index 0000000..52eebea --- /dev/null +++ b/game/src/ui/game/arcade/game_over/ArcadeGameOver.tscn @@ -0,0 +1,137 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://src/ui/game/arcade/game_over/ArcadeGameOver.gd" type="Script" id=3] +[ext_resource path="res://assets/broomballcoin.png" type="Texture" id=4] +[ext_resource path="res://assets/font/Carlito-Regular.ttf" type="DynamicFontData" id=5] +[ext_resource path="res://assets/leaderboardsComplex.png" type="Texture" id=6] +[ext_resource path="res://assets/sounds/commentator/new_highscore.ogg" type="AudioStream" id=7] +[ext_resource path="res://src/Confetti.tscn" type="PackedScene" id=8] + +[sub_resource type="DynamicFont" id=1] +size = 102 +outline_size = 3 +font_data = ExtResource( 5 ) + +[sub_resource type="Animation" id=2] +resource_name = "FadeIn" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath(".:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=3] +resource_name = "FadeOut" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath(".:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[node name="GameOver" type="Control"] +modulate = Color( 1, 1, 1, 0 ) +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 1 ) +script = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="NewHighscore" parent="." instance=ExtResource( 8 )] +visible = false + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +margin_left = 60.0 +margin_top = 250.0 +margin_right = 660.0 +margin_bottom = 378.0 +rect_pivot_offset = Vector2( 300, 64 ) +alignment = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Icon" type="TextureRect" parent="HBoxContainer"] +margin_left = 104.0 +margin_right = 232.0 +margin_bottom = 128.0 +texture = ExtResource( 4 ) + +[node name="Coins" type="Label" parent="HBoxContainer"] +margin_left = 236.0 +margin_top = 12.0 +margin_right = 496.0 +margin_bottom = 115.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "20000" +align = 1 + +[node name="CenterContainer" type="CenterContainer" parent="."] +margin_left = 10.0 +margin_top = 40.0 +margin_right = 710.0 +margin_bottom = 1240.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MarginContainer" type="MarginContainer" parent="CenterContainer"] +margin_left = 162.0 +margin_top = 495.0 +margin_right = 538.0 +margin_bottom = 705.0 + +[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/MarginContainer"] +margin_right = 376.0 +margin_bottom = 210.0 +custom_constants/separation = 12 + +[node name="Highscore" type="Button" parent="CenterContainer/MarginContainer/VBoxContainer"] +visible = false +margin_right = 376.0 +margin_bottom = 115.0 +text = "ONLINE" +icon = ExtResource( 6 ) + +[node name="Replay" type="Button" parent="CenterContainer/MarginContainer/VBoxContainer"] +margin_right = 376.0 +margin_bottom = 99.0 +text = "REPLAY" + +[node name="Continue" type="Button" parent="CenterContainer/MarginContainer/VBoxContainer"] +margin_top = 111.0 +margin_right = 376.0 +margin_bottom = 210.0 +text = "CONTINUE" + +[node name="Highscore" type="AudioStreamPlayer" parent="."] +pause_mode = 2 +stream = ExtResource( 7 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 2 ) +anims/FadeOut = SubResource( 3 ) + +[connection signal="visibility_changed" from="." to="." method="_on_GameOver_visibility_changed"] +[connection signal="pressed" from="CenterContainer/MarginContainer/VBoxContainer/Highscore" to="." method="_on_Highscore_pressed"] +[connection signal="pressed" from="CenterContainer/MarginContainer/VBoxContainer/Replay" to="." method="_on_Replay_pressed"] +[connection signal="pressed" from="CenterContainer/MarginContainer/VBoxContainer/Continue" to="." method="_on_Continue_pressed"] diff --git a/game/src/ui/game/arcade/powerups/Coins.gd b/game/src/ui/game/arcade/powerups/Coins.gd new file mode 100644 index 0000000..ba0af68 --- /dev/null +++ b/game/src/ui/game/arcade/powerups/Coins.gd @@ -0,0 +1,22 @@ +extends Node2D + +signal coins_bonus + +var animation_player + +func _ready(): + animation_player = $AnimationPlayer + animation_player.play("Spawn") + $Duration.start() + +func _on_Area2D_body_entered(body): + emit_signal("coins_bonus") + animation_player.play("Hit") + yield(animation_player,"animation_finished") + queue_free() + + +func _on_Duration_timeout(): + animation_player.play("Hit") + yield(animation_player,"animation_finished") + queue_free() diff --git a/game/src/ui/game/arcade/powerups/Coins.tscn b/game/src/ui/game/arcade/powerups/Coins.tscn new file mode 100644 index 0000000..6ac88c1 --- /dev/null +++ b/game/src/ui/game/arcade/powerups/Coins.tscn @@ -0,0 +1,88 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://assets/broomballcoin.png" type="Texture" id=1] +[ext_resource path="res://src/ui/game/arcade/powerups/Coins.gd" type="Script" id=2] + +[sub_resource type="CircleShape2D" id=1] +radius = 61.0894 + +[sub_resource type="Animation" id=3] +resource_name = "Hit" +length = 0.4 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:self_modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:scale") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 1, 1 ), Vector2( 1.5, 1.5 ) ] +} + +[sub_resource type="Animation" id=2] +resource_name = "Spawn" +length = 0.4 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:scale") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 0.001, 0.001 ), Vector2( 1, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:self_modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[node name="Coins" type="Node2D"] +scale = Vector2( 0.5, 0.5 ) +script = ExtResource( 2 ) + +[node name="Duration" type="Timer" parent="."] +wait_time = 10.0 + +[node name="Sprite" type="Sprite" parent="."] +self_modulate = Color( 1, 1, 1, 0 ) +scale = Vector2( 1.5, 1.5 ) +texture = ExtResource( 1 ) + +[node name="Area2D" type="Area2D" parent="."] +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] +shape = SubResource( 1 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/Hit = SubResource( 3 ) +anims/Spawn = SubResource( 2 ) +[connection signal="timeout" from="Duration" to="." method="_on_Duration_timeout"] +[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] diff --git a/game/src/ui/game/arcade/powerups/Defense.gd b/game/src/ui/game/arcade/powerups/Defense.gd new file mode 100644 index 0000000..11c2e1e --- /dev/null +++ b/game/src/ui/game/arcade/powerups/Defense.gd @@ -0,0 +1,20 @@ +extends Node2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _on_Area2D_body_entered(body): + pass # Replace with function body. diff --git a/game/src/ui/game/arcade/powerups/Defense.tscn b/game/src/ui/game/arcade/powerups/Defense.tscn new file mode 100644 index 0000000..02e7706 --- /dev/null +++ b/game/src/ui/game/arcade/powerups/Defense.tscn @@ -0,0 +1,24 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://assets/broomballcoin.png" type="Texture" id=1] +[ext_resource path="res://src/ui/game/arcade/powerups/Defense.gd" type="Script" id=2] + +[sub_resource type="CircleShape2D" id=1] + +[node name="Defense" type="Node2D"] +script = ExtResource( 2 ) + +[node name="Duration" type="Timer" parent="."] +one_shot = true + +[node name="Sprite" type="Sprite" parent="."] +texture = ExtResource( 1 ) + +[node name="Area2D" type="Area2D" parent="."] +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] +scale = Vector2( 6.44863, 6.44863 ) +shape = SubResource( 1 ) +[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] diff --git a/game/src/ui/game/arcade/powerups/Freeze.gd b/game/src/ui/game/arcade/powerups/Freeze.gd new file mode 100644 index 0000000..2f8e512 --- /dev/null +++ b/game/src/ui/game/arcade/powerups/Freeze.gd @@ -0,0 +1,22 @@ +extends Node2D + +signal freeze + +var animation_player + +func _ready(): + animation_player = $AnimationPlayer + animation_player.play("Spawn") + $Duration.start() + +func _on_Area2D_body_entered(body): + emit_signal("freeze") + animation_player.play("Hit") + yield(animation_player,"animation_finished") + queue_free() + + +func _on_Duration_timeout(): + animation_player.play("Hit") + yield(animation_player,"animation_finished") + queue_free() diff --git a/game/src/ui/game/arcade/powerups/Freeze.tscn b/game/src/ui/game/arcade/powerups/Freeze.tscn new file mode 100644 index 0000000..8c38c81 --- /dev/null +++ b/game/src/ui/game/arcade/powerups/Freeze.tscn @@ -0,0 +1,77 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://assets/snowflake.png" type="Texture" id=1] +[ext_resource path="res://src/ui/game/arcade/powerups/Freeze.gd" type="Script" id=2] + +[sub_resource type="CircleShape2D" id=1] +radius = 51.225 + +[sub_resource type="Animation" id=3] +resource_name = "Hit" +length = 0.4 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:scale") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 1, 1 ), Vector2( 1.5, 1.5 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 0.0196078, 0.635294, 0.901961, 0 ) ] +} + +[sub_resource type="Animation" id=2] +resource_name = "Spawn" +length = 0.4 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:scale") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 0.001, 0.001 ), Vector2( 1, 1 ) ] +} + +[node name="Freeze" type="Node2D"] +modulate = Color( 0.027451, 0.588235, 0.882353, 1 ) +scale = Vector2( 0.5, 0.5 ) +script = ExtResource( 2 ) + +[node name="Duration" type="Timer" parent="."] +wait_time = 10.0 +one_shot = true + +[node name="Sprite" type="Sprite" parent="."] +scale = Vector2( 0.001, 0.001 ) +texture = ExtResource( 1 ) + +[node name="Area2D" type="Area2D" parent="."] +collision_layer = 0 +collision_mask = 8 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] +shape = SubResource( 1 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/Hit = SubResource( 3 ) +anims/Spawn = SubResource( 2 ) +[connection signal="timeout" from="Duration" to="." method="_on_Duration_timeout"] +[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] diff --git a/game/src/ui/game/arcade/powerups/Smaller.tscn b/game/src/ui/game/arcade/powerups/Smaller.tscn new file mode 100644 index 0000000..b171e8d --- /dev/null +++ b/game/src/ui/game/arcade/powerups/Smaller.tscn @@ -0,0 +1,3 @@ +[gd_scene format=2] + +[node name="Node2D" type="Node2D"] diff --git a/game/src/ui/game/multiplayer/Multiplayer.gd b/game/src/ui/game/multiplayer/Multiplayer.gd new file mode 100644 index 0000000..9a85e4c --- /dev/null +++ b/game/src/ui/game/multiplayer/Multiplayer.gd @@ -0,0 +1,31 @@ +extends Node2D + +var game_over = false + +func _ready(): + get_tree().paused = false + TouchHelper.reset() + if Global.music: + Global.music_loop.fade_out() + $Field/Sounds/Crowd.play() + var goals = $Field/Goals + goals.connect("away_goal",$Score/AwayScore,"goal") + goals.connect("home_goal",$Score/HomeScore,"goal") + goals.connect("away_goal",$Field,"goal_sound") + goals.connect("home_goal",$Field,"goal_sound") + goals.connect("away_goal",$Field/Commentator,"away_goal") + goals.connect("home_goal",$Field/Commentator,"home_goal") + goals.connect("away_goal",$Ball/RigidBody2D,"on_away_goal") + goals.connect("home_goal",$Ball/RigidBody2D,"on_home_goal") + +func _process(delta): + if !game_over && ($Score/AwayScore.goals == Global.round_limit || $Score/HomeScore.goals == Global.round_limit): + game_over = true + $Pause.queue_free() + $Player.queue_free() + $Player2.queue_free() + $Ball.queue_free() + $GameOver.show() + if Global.music: + Global.music_loop.fade_in() + get_tree().paused = true diff --git a/game/src/ui/game/multiplayer/Multiplayer.tscn b/game/src/ui/game/multiplayer/Multiplayer.tscn new file mode 100644 index 0000000..f983c29 --- /dev/null +++ b/game/src/ui/game/multiplayer/Multiplayer.tscn @@ -0,0 +1,35 @@ +[gd_scene load_steps=9 format=2] + +[ext_resource path="res://src/ui/game/Score.tscn" type="PackedScene" id=1] +[ext_resource path="res://src/field/Field.tscn" type="PackedScene" id=3] +[ext_resource path="res://src/actors/ball/Ball.tscn" type="PackedScene" id=4] +[ext_resource path="res://src/actors/player/Player.tscn" type="PackedScene" id=5] +[ext_resource path="res://src/ui/game/multiplayer/Multiplayer.gd" type="Script" id=6] +[ext_resource path="res://src/ui/pause/Pause.tscn" type="PackedScene" id=7] +[ext_resource path="res://src/ui/gameover/GameOver.tscn" type="PackedScene" id=8] +[ext_resource path="res://src/actors/player/PlayerTwo.tscn" type="PackedScene" id=10] + +[node name="Multiplayer" type="Node2D"] +script = ExtResource( 6 ) + +[node name="Field" parent="." instance=ExtResource( 3 )] + +[node name="Score" parent="." instance=ExtResource( 1 )] + +[node name="Ball" parent="." instance=ExtResource( 4 )] +position = Vector2( 360.888, 639.131 ) +singleplayer = false + +[node name="Player2" parent="." instance=ExtResource( 10 )] +position = Vector2( 349.672, 224.481 ) +away = true +oneVsOne = true + +[node name="Player" parent="." instance=ExtResource( 5 )] +position = Vector2( 368.175, 1011.02 ) +oneVsOne = true + +[node name="Pause" parent="." instance=ExtResource( 7 )] + +[node name="GameOver" parent="." instance=ExtResource( 8 )] +visible = false diff --git a/game/src/ui/game/singleplayer/Score.gd b/game/src/ui/game/singleplayer/Score.gd new file mode 100644 index 0000000..be481a6 --- /dev/null +++ b/game/src/ui/game/singleplayer/Score.gd @@ -0,0 +1,9 @@ +extends Label + + +var goals = 0 + + +func goal(): + goals += 1 + set_text(str(goals)) diff --git a/game/src/ui/game/singleplayer/Singleplayer.gd b/game/src/ui/game/singleplayer/Singleplayer.gd new file mode 100644 index 0000000..dc473e8 --- /dev/null +++ b/game/src/ui/game/singleplayer/Singleplayer.gd @@ -0,0 +1,110 @@ +extends Node2D + +var game_over = false + +var home_score +var away_score +var goals + +var animation_player + + +func _ready(): + get_tree().paused = false + TouchHelper.reset() + home_score = $Score/HomeScore + away_score = $Score/AwayScore + + animation_player = $AnimationPlayer + + if Global.music: + Global.music_loop.fade_out() + if Global.sfx: + $Field/Sounds/Crowd.play() + + goals = $Field/Goals + goals.connect("home_goal",self,"_home_goal") + goals.connect("away_goal",self,"_away_goal") + + animation_player.play("FadeIn") + + + # break game or simulation + if (Global.is_worldcup and Global.current_league_game is String) or (Global.current_league_game != null and Global.current_league_game["away"]["id"] == 0): + game_over = true + get_tree().paused = true + $Pause.queue_free() + + # for simulation + if Global.current_league_game is String: + Global.game_over(0,0, true) + else: + Global.game_over(0,0) + + $Player.queue_free() + $Computer.queue_free() + $Ball.queue_free() + + $LeagueGameover.show() + Global.music_loop.fade_in() + +func _home_goal(): + print('home') + home_score.goal() + $Field.goal_sound() + $Field/Commentator.home_goal() + $Ball/RigidBody2D.on_home_goal() + + +func _away_goal(): + print("away") + away_score.goal() + $Field.goal_sound() + $Field/Commentator.away_goal() + $Ball/RigidBody2D.on_away_goal() + + +func _process(delta): + if Global.current_league_game == null && (away_score.goals == Global.round_limit || home_score.goals == Global.round_limit) && !game_over: + if home_score.goals == Global.round_limit: + $Field/Commentator.win() +# var player = $Player/Body/AnimationPlayer +# player.play("Win") +# yield(player,"animation_finished") + else: +# var player = $Computer/Body/AnimationPlayer +# player.play("Win") +# yield(player,"animation_finished") + $Field/Commentator.loose() + game_over = true + Global.game_over(home_score.goals,away_score.goals) + get_tree().paused = true + $Pause.queue_free() + $Player.queue_free() + $Computer.queue_free() + $Ball.queue_free() + $GameOver.show() + Global.music_loop.fade_in() + elif Global.current_league_game != null && (away_score.goals == 5 || home_score.goals == 5) && !game_over: + if home_score.goals == 5: + $Field/Commentator.win() +# var player = $Player/Body/AnimationPlayer +# player.play("Win") +# yield(player,"animation_finished") + else: +# var player = $Computer/Body/AnimationPlayer +# player.play("Win") +# yield(player,"animation_finished") + $Field/Commentator.loose() + game_over = true + get_tree().paused = true + $Pause.queue_free() + Global.game_over(home_score.goals,away_score.goals) + $Player.queue_free() + $Computer.queue_free() + $Ball.queue_free() + $LeagueGameover.show() + Global.music_loop.fade_in() + + + diff --git a/game/src/ui/game/singleplayer/Singleplayer.tscn b/game/src/ui/game/singleplayer/Singleplayer.tscn new file mode 100644 index 0000000..319bf2f --- /dev/null +++ b/game/src/ui/game/singleplayer/Singleplayer.tscn @@ -0,0 +1,99 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://src/ui/game/singleplayer/Singleplayer.gd" type="Script" id=1] +[ext_resource path="res://src/field/Field.tscn" type="PackedScene" id=2] +[ext_resource path="res://src/ui/game/Score.tscn" type="PackedScene" id=3] +[ext_resource path="res://src/actors/ball/Ball.tscn" type="PackedScene" id=4] +[ext_resource path="res://src/actors/player/Player.tscn" type="PackedScene" id=5] +[ext_resource path="res://src/actors/computer/Computer.tscn" type="PackedScene" id=6] +[ext_resource path="res://src/ui/pause/Pause.tscn" type="PackedScene" id=7] +[ext_resource path="res://src/ui/league-gameover/LeagueGameover.tscn" type="PackedScene" id=8] +[ext_resource path="res://src/ui/gameover/GameOver.tscn" type="PackedScene" id=9] + +[sub_resource type="Animation" id=1] +resource_name = "FadeIn" +length = 0.3 +tracks/0/type = "value" +tracks/0/path = NodePath("Ball:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Player:modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Computer:modulate") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Score:modulate") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[node name="SinglePlayer" type="Node2D"] +script = ExtResource( 1 ) + +[node name="Field" parent="." instance=ExtResource( 2 )] + +[node name="Score" parent="." instance=ExtResource( 3 )] +modulate = Color( 1, 1, 1, 0 ) + +[node name="Ball" parent="." instance=ExtResource( 4 )] +modulate = Color( 1, 1, 1, 0 ) +position = Vector2( 362.332, 640.898 ) + +[node name="Player" parent="." instance=ExtResource( 5 )] +modulate = Color( 1, 1, 1, 0 ) +position = Vector2( 362.332, 1014.92 ) + +[node name="Computer" parent="." instance=ExtResource( 6 )] +modulate = Color( 1, 1, 1, 0 ) +position = Vector2( 358.436, 266.879 ) + +[node name="Pause" parent="." instance=ExtResource( 7 )] + +[node name="LeagueGameover" parent="." instance=ExtResource( 8 )] +visible = false + +[node name="GameOver" parent="." instance=ExtResource( 9 )] +visible = false + +[node name="Timer" type="Timer" parent="."] +one_shot = true + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 1 ) + +[connection signal="visibility_changed" from="GameOver" to="." method="_on_GameOver_visibility_changed"] diff --git a/game/src/ui/gameover/GameOver.gd b/game/src/ui/gameover/GameOver.gd new file mode 100644 index 0000000..c4395ee --- /dev/null +++ b/game/src/ui/gameover/GameOver.gd @@ -0,0 +1,17 @@ +extends Node2D + +func _on_Menu_pressed(): + Global.click() + get_tree().paused = false + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") + + +func _on_Replay_pressed(): + Global.click() + if Global.music: + Global.music_loop.fade_out() + get_tree().paused = false + if get_parent().get_name() == "SinglePlayer": + get_tree().change_scene("res://src/ui/game/singleplayer/Singleplayer.tscn") + else: + get_tree().change_scene("res://src/ui/game/multiplayer/Multiplayer.tscn") diff --git a/game/src/ui/gameover/GameOver.tscn b/game/src/ui/gameover/GameOver.tscn new file mode 100644 index 0000000..f348758 --- /dev/null +++ b/game/src/ui/gameover/GameOver.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://src/ui/gameover/GameOver.gd" type="Script" id=2] + +[node name="GameOver" type="Node2D"] +pause_mode = 2 +script = ExtResource( 2 ) + +[node name="MarginContainer" type="MarginContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 216.0 +margin_top = 512.0 +margin_right = 507.0 +margin_bottom = 719.0 +theme = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] +margin_right = 291.0 +margin_bottom = 219.0 +custom_constants/separation = 21 + +[node name="Replay" type="Button" parent="MarginContainer/VBoxContainer"] +margin_right = 291.0 +margin_bottom = 99.0 +text = "REPLAY" + +[node name="Menu" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 120.0 +margin_right = 291.0 +margin_bottom = 219.0 +text = "MENU" + +[connection signal="pressed" from="MarginContainer/VBoxContainer/Replay" to="." method="_on_Replay_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Menu" to="." method="_on_Menu_pressed"] diff --git a/game/src/ui/league-gameover/LeagueGameover.gd b/game/src/ui/league-gameover/LeagueGameover.gd new file mode 100644 index 0000000..cf4462d --- /dev/null +++ b/game/src/ui/league-gameover/LeagueGameover.gd @@ -0,0 +1,131 @@ +extends Control + +var multyplier + +var animation_player + +var reward_earned = false + +var coins_label +var coins + +onready var multiplier = $Multiplier + +var goal_stats + +func _ready(): + goal_stats = $CenterContainer/MarginContainer/MarginContainer/VBoxContainer/VBoxContainer/CoinsStats/GoalStats + coins_label = $CenterContainer/MarginContainer/MarginContainer/VBoxContainer/VBoxContainer/CoinsStats/Coins + animation_player = $AnimationPlayer + +func _on_Menu_pressed(): + Global.click() + get_tree().paused = false + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") + +func _on_Gameover_visibility_changed(): + if is_visible_in_tree(): + var home_score = get_parent().get_node("Score").get_node("HomeScore").goals + var away_score = get_parent().get_node("Score").get_node("AwayScore").goals + + + + var dynamic_font = DynamicFont.new() + dynamic_font.font_data = load("res://assets/font/DSEG7ClassicMini-Bold.ttf") + dynamic_font.size = 120 + + + # TODO show final stage in worldcup + var from + var to + + if Global.is_worldcup: + if Global.final_teams.size() == 0 or Global.final_teams.size() == 8: # show last matchday + from = (Global.match_day - 1) * 8 + to = Global.match_day * 8 + else: + match Global.final_teams.size(): + 4: + from = Global.matches.size() - 6 + to = Global.matches.size() -2 + 2: + from = Global.matches.size() - 3 + to = Global.matches.size() - 1 + _: + from = Global.matches.size() - 1 + to = Global.matches.size() + else: + from = (Global.match_day - 1) * (Global.teams.size() / 2) + to = ((Global.match_day - 1) * (Global.teams.size() / 2)) + (Global.teams.size() / 2) + + for i in range(from , to): + if Global.matches[i]["home"]["id"] != 0 and Global.matches[i]["away"]["id"] != 0: + var short_label_home = Label.new() + var short_label_away = Label.new() + if Global.matches[i]["home"].has("short_name"): + short_label_home.text = Global.matches[i]["home"]["short_name"] + " " + short_label_away.text = " " + Global.matches[i]["away"]["short_name"] + else: + short_label_home.text = " " + short_label_away.text = " " + + var label = Label.new() + label.text = " " +str(Global.matches[i]["result"]) + " " + label.add_font_override("font", dynamic_font) + + var home_icon = TextureRect.new() + var away_icon = TextureRect.new() + home_icon.texture = Global.matches[i]["home"]["icon"] + away_icon.texture = Global.matches[i]["away"]["icon"] + $CenterContainer/MarginContainer/MarginContainer/VBoxContainer/GridContainer.add_child(short_label_home) + $CenterContainer/MarginContainer/MarginContainer/VBoxContainer/GridContainer.add_child(home_icon) + $CenterContainer/MarginContainer/MarginContainer/VBoxContainer/GridContainer.add_child(label) + $CenterContainer/MarginContainer/MarginContainer/VBoxContainer/GridContainer.add_child(away_icon) + $CenterContainer/MarginContainer/MarginContainer/VBoxContainer/GridContainer.add_child(short_label_away) + + # hide coins stast and don't give money, because simulation + if Global.current_league_game == null or Global.current_league_game is String: + $CenterContainer/MarginContainer/MarginContainer/VBoxContainer/VBoxContainer/CoinsStats.hide() + else: + _calculateCoinsWin(home_score,away_score) + coins_label.text = str(coins) + goal_stats.text = _get_stats(home_score,away_score) + + animation_player.play("FadeIn") + get_tree().paused = true + +func _calculateCoinsWin(home_goals, away_goals): + var win = home_goals > away_goals + coins = 0 + + if win: + coins = 500 + else: + coins = 300 + + coins += home_goals * 100 + coins -= away_goals * 50 + + if away_goals == 0: + coins += 250 + Global.add_coins(coins) + + +func _get_stats(home_goals, away_goals): + var stats + if home_goals > away_goals: + if away_goals == 0: + stats = "750 + 100x%s - 50x%s =" % [home_goals, away_goals] + else: + stats = "500 + 100x%s - 50x%s =" % [home_goals, away_goals] + else: + stats = "300 + 100x%s - 50x%s =" % [home_goals, away_goals] + return stats + +func _on_GoBack_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().paused = false + get_tree().change_scene("res://src/ui/championship/dashboard/Dashboard.tscn") + diff --git a/game/src/ui/league-gameover/LeagueGameover.tscn b/game/src/ui/league-gameover/LeagueGameover.tscn new file mode 100644 index 0000000..8e4e3e2 --- /dev/null +++ b/game/src/ui/league-gameover/LeagueGameover.tscn @@ -0,0 +1,188 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://src/ui/league-gameover/LeagueGameover.gd" type="Script" id=2] +[ext_resource path="res://assets/font/DSEG7ClassicMini-Bold.ttf" type="DynamicFontData" id=4] +[ext_resource path="res://assets/broomballcoin.png" type="Texture" id=5] +[ext_resource path="res://src/ui/league-gameover/multiplier/Multiplier.tscn" type="PackedScene" id=6] + +[sub_resource type="DynamicFont" id=1] +size = 120 +font_data = ExtResource( 4 ) + +[sub_resource type="Animation" id=2] +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("CenterContainer/MarginContainer/MarginContainer/VBoxContainer/VBoxContainer/CoinsStats/Coins:rect_scale") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 1, 1 ), Vector2( 1.5, 1.5 ), Vector2( 1, 1 ) ] +} + +[sub_resource type="Animation" id=3] +length = 0.5 +tracks/0/type = "value" +tracks/0/path = NodePath(".:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.5 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=4] +length = 0.5 +tracks/0/type = "value" +tracks/0/path = NodePath(".:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.5 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[node name="Gameover" type="Control"] +pause_mode = 2 +modulate = Color( 1, 1, 1, 0 ) +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="CenterContainer" type="CenterContainer" parent="."] +margin_left = 360.0 +margin_top = 500.0 +margin_right = 360.0 +margin_bottom = 500.0 +rect_scale = Vector2( 0.36, 0.36 ) +theme = ExtResource( 1 ) +use_top_left = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MarginContainer" type="MarginContainer" parent="CenterContainer"] +margin_left = -580.0 +margin_top = -149.0 +margin_right = 579.0 +margin_bottom = 149.0 + +[node name="Panel" type="Panel" parent="CenterContainer/MarginContainer"] +margin_right = 1159.0 +margin_bottom = 298.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MarginContainer" type="MarginContainer" parent="CenterContainer/MarginContainer"] +margin_right = 1159.0 +margin_bottom = 298.0 +custom_constants/margin_right = 50 +custom_constants/margin_top = 50 +custom_constants/margin_left = 50 +custom_constants/margin_bottom = 50 + +[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/MarginContainer/MarginContainer"] +margin_left = 50.0 +margin_top = 50.0 +margin_right = 1109.0 +margin_bottom = 248.0 +custom_constants/separation = 70 +alignment = 1 + +[node name="GridContainer" type="GridContainer" parent="CenterContainer/MarginContainer/MarginContainer/VBoxContainer"] +margin_right = 1059.0 +custom_constants/vseparation = 40 +columns = 5 + +[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/MarginContainer/MarginContainer/VBoxContainer"] +margin_top = 70.0 +margin_right = 1059.0 +margin_bottom = 198.0 +custom_constants/separation = 32 +alignment = 1 + +[node name="CoinsStats" type="HBoxContainer" parent="CenterContainer/MarginContainer/MarginContainer/VBoxContainer/VBoxContainer"] +margin_right = 1059.0 +margin_bottom = 128.0 +rect_pivot_offset = Vector2( 225, 69 ) +custom_constants/separation = 41 +alignment = 1 + +[node name="GoalStats" type="Label" parent="CenterContainer/MarginContainer/MarginContainer/VBoxContainer/VBoxContainer/CoinsStats"] +margin_top = 22.0 +margin_right = 531.0 +margin_bottom = 106.0 +text = "5 x 50 - 2 x 25 =" +align = 1 + +[node name="Coins" type="Label" parent="CenterContainer/MarginContainer/MarginContainer/VBoxContainer/VBoxContainer/CoinsStats"] +margin_left = 572.0 +margin_top = 4.0 +margin_right = 890.0 +margin_bottom = 124.0 +rect_pivot_offset = Vector2( 159, 60 ) +theme = ExtResource( 1 ) +custom_fonts/font = SubResource( 1 ) +text = "000 " +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Icon" type="TextureRect" parent="CenterContainer/MarginContainer/MarginContainer/VBoxContainer/VBoxContainer/CoinsStats"] +margin_left = 931.0 +margin_right = 1059.0 +margin_bottom = 128.0 +rect_pivot_offset = Vector2( 64, 64 ) +texture = ExtResource( 5 ) + +[node name="Buttons" type="MarginContainer" parent="."] +margin_left = 194.767 +margin_top = 1024.0 +margin_right = 533.767 +margin_bottom = 1118.0 +theme = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="Buttons"] +margin_right = 376.0 +margin_bottom = 99.0 +size_flags_horizontal = 0 + +[node name="GoBack" type="Button" parent="Buttons/VBoxContainer"] +margin_right = 376.0 +margin_bottom = 99.0 +text = "CONTINUE" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Multiplier" parent="." instance=ExtResource( 6 )] + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +playback_speed = 1.5 +anims/CoinUp = SubResource( 2 ) +anims/FadeIn = SubResource( 3 ) +anims/FadeOut = SubResource( 4 ) + +[connection signal="visibility_changed" from="." to="." method="_on_Gameover_visibility_changed"] +[connection signal="pressed" from="Buttons/VBoxContainer/GoBack" to="." method="_on_GoBack_pressed"] diff --git a/game/src/ui/league-gameover/coin-stats/CoinStats.gd b/game/src/ui/league-gameover/coin-stats/CoinStats.gd new file mode 100644 index 0000000..bb9bd06 --- /dev/null +++ b/game/src/ui/league-gameover/coin-stats/CoinStats.gd @@ -0,0 +1,16 @@ +extends Control + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass diff --git a/game/src/ui/league-gameover/coin-stats/CoinStats.tscn b/game/src/ui/league-gameover/coin-stats/CoinStats.tscn new file mode 100644 index 0000000..1f34162 --- /dev/null +++ b/game/src/ui/league-gameover/coin-stats/CoinStats.tscn @@ -0,0 +1,11 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://src/ui/league-gameover/coin-stats/CoinStats.gd" type="Script" id=1] + +[node name="CoinStats" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/game/src/ui/league-gameover/multiplier/Multiplier.gd b/game/src/ui/league-gameover/multiplier/Multiplier.gd new file mode 100644 index 0000000..604d3ff --- /dev/null +++ b/game/src/ui/league-gameover/multiplier/Multiplier.gd @@ -0,0 +1,6 @@ +extends Control + + +func play(n): + $Label.text = "x" + str(n) + $AnimationPlayer.play("Show") diff --git a/game/src/ui/league-gameover/multiplier/Multiplier.tscn b/game/src/ui/league-gameover/multiplier/Multiplier.tscn new file mode 100644 index 0000000..d83353a --- /dev/null +++ b/game/src/ui/league-gameover/multiplier/Multiplier.tscn @@ -0,0 +1,75 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://assets/font/Carlito-Regular.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://src/ui/league-gameover/multiplier/Multiplier.gd" type="Script" id=2] + +[sub_resource type="DynamicFont" id=1] +size = 420 +outline_size = 8 +outline_color = Color( 0, 0, 0, 1 ) +font_data = ExtResource( 1 ) + +[sub_resource type="Animation" id=2] +resource_name = "Show" +length = 2.5 +tracks/0/type = "value" +tracks/0/path = NodePath("Label:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.6, 1.2, 2.2, 2.5 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Label:rect_rotation") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.6, 1.2, 2.2, 2.5 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ 0.0, 0.0, 0.0, 0.0, 0.0 ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Label:rect_scale") +tracks/2/interp = 2 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.6, 0.7, 1, 1.2, 2.2, 2.5 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 0.8, 0.8 ), Vector2( 1.1, 1.1 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1, 1 ) ] +} + +[node name="Multiplier" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="."] +modulate = Color( 1, 1, 1, 0 ) +margin_top = 430.0 +margin_right = 720.0 +margin_bottom = 850.0 +rect_pivot_offset = Vector2( 360, 210 ) +custom_fonts/font = SubResource( 1 ) +text = "x10" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/Show = SubResource( 2 ) +[connection signal="visibility_changed" from="." to="." method="_on_Multiplier_visibility_changed"] diff --git a/game/src/ui/menu/MenuScreen.gd b/game/src/ui/menu/MenuScreen.gd new file mode 100644 index 0000000..a3072c4 --- /dev/null +++ b/game/src/ui/menu/MenuScreen.gd @@ -0,0 +1,79 @@ +extends Node2D + +var animation_player + +func _ready(): + animation_player = $AnimationPlayer + + if Global.show_pop_up: + $Content/PopupDialog.popup() + $Content/MarginContainer.hide() + + if OS.get_name() == "iOS": + $Content/MarginContainer/VBoxContainer/Exit.hide() + + if Global.first_fade_in: + Global.first_fade_in = false + Global.fade_in_goals() + + animation_player.play("FirstFadeIn") + + + + +func _on_Settings_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/settings/Settings.tscn") + +func _on_Statistics_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/statistics/Statistics.tscn") + + +func _on_Play_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/menu/play/Play.tscn") + + +func _on_Shop_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/shop/Shop.tscn") + + +func _on_Exit_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + Global.save_all_data() + get_tree().quit() + + +func _on_PopupDialog_popup_hide(): + Global.show_pop_up = false + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") + + +func _on_Online_pressed(): + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/online/OnlineDashboard.tscn") + +func _on_Okay_pressed(): + $Content/PopupDialog.hide() + + +func _on_SimonDalvai_pressed(): + Global.click() + OS.shell_open("https://simondalvai.com") + + +func _on_Join_pressed(): + pass # Replace with function body. diff --git a/game/src/ui/menu/MenuScreen.tscn b/game/src/ui/menu/MenuScreen.tscn new file mode 100644 index 0000000..5ac6554 --- /dev/null +++ b/game/src/ui/menu/MenuScreen.tscn @@ -0,0 +1,211 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://src/ui/menu/MenuScreen.gd" type="Script" id=1] +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=2] +[ext_resource path="res://src/ui/Icon.tscn" type="PackedScene" id=3] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=4] + +[sub_resource type="Animation" id=1] +resource_name = "FadeIn" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("Content:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Icon:self_modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=2] +resource_name = "FadeOut" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("Content:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Icon:self_modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[sub_resource type="Animation" id=3] +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("Content:modulate") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Icon:self_modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ) ] +} + +[node name="Menu" type="Node2D"] +script = ExtResource( 1 ) + +[node name="Background" parent="." instance=ExtResource( 2 )] + +[node name="Icon" parent="." instance=ExtResource( 3 )] +self_modulate = Color( 1, 1, 1, 0 ) + +[node name="Content" type="Node2D" parent="."] +modulate = Color( 1, 1, 1, 0 ) + +[node name="MarginContainer" type="MarginContainer" parent="Content"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 120.0 +margin_right = 600.0 +margin_bottom = 1280.0 +theme = ExtResource( 4 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="Content/MarginContainer"] +margin_top = 427.0 +margin_right = 480.0 +margin_bottom = 853.0 +size_flags_vertical = 4 + +[node name="Play" type="Button" parent="Content/MarginContainer/VBoxContainer"] +margin_right = 480.0 +margin_bottom = 99.0 +text = "PLAY" + +[node name="Shop" type="Button" parent="Content/MarginContainer/VBoxContainer"] +visible = false +margin_top = 109.0 +margin_right = 480.0 +margin_bottom = 208.0 +text = "SHOP" + +[node name="Statistics" type="Button" parent="Content/MarginContainer/VBoxContainer"] +margin_top = 109.0 +margin_right = 480.0 +margin_bottom = 208.0 +text = "HALL" + +[node name="Settings" type="Button" parent="Content/MarginContainer/VBoxContainer"] +margin_top = 218.0 +margin_right = 480.0 +margin_bottom = 317.0 +text = "SETTINGS" + +[node name="Exit" type="Button" parent="Content/MarginContainer/VBoxContainer"] +margin_top = 327.0 +margin_right = 480.0 +margin_bottom = 426.0 +text = "EXIT" + +[node name="SimonDalvai" type="LinkButton" parent="Content"] +self_modulate = Color( 0, 0, 0, 1 ) +margin_left = 242.0 +margin_top = 1132.0 +margin_right = 817.0 +margin_bottom = 1216.0 +rect_scale = Vector2( 0.4, 0.4 ) +theme = ExtResource( 4 ) +text = "simondalvai.com" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PopupDialog" type="PopupDialog" parent="Content"] +margin_left = 62.1585 +margin_top = 389.946 +margin_right = 662.158 +margin_bottom = 889.946 +theme = ExtResource( 4 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="Content/PopupDialog"] +margin_left = 53.8415 +margin_top = 27.054 +margin_right = 1148.85 +margin_bottom = 894.054 +rect_scale = Vector2( 0.507877, 0.507877 ) +text = "What's new? +- Languages: + German, Italian, French +- Available on iPhone again! +- Arcade online leaderboard + temporarily disabled + for Android :( +- Support me on + simondalvai.com :) +Enjoy!" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Okay" type="Button" parent="Content/PopupDialog"] +margin_left = 198.885 +margin_top = 480.849 +margin_right = 377.885 +margin_bottom = 574.849 +text = " play " + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 1 ) +anims/FadeOut = SubResource( 2 ) +anims/FirstFadeIn = SubResource( 3 ) + +[connection signal="pressed" from="Content/MarginContainer/VBoxContainer/Play" to="." method="_on_Play_pressed"] +[connection signal="pressed" from="Content/MarginContainer/VBoxContainer/Shop" to="." method="_on_Shop_pressed"] +[connection signal="pressed" from="Content/MarginContainer/VBoxContainer/Statistics" to="." method="_on_Statistics_pressed"] +[connection signal="pressed" from="Content/MarginContainer/VBoxContainer/Settings" to="." method="_on_Settings_pressed"] +[connection signal="pressed" from="Content/MarginContainer/VBoxContainer/Exit" to="." method="_on_Exit_pressed"] +[connection signal="pressed" from="Content/SimonDalvai" to="." method="_on_SimonDalvai_pressed"] +[connection signal="popup_hide" from="Content/PopupDialog" to="." method="_on_PopupDialog_popup_hide"] +[connection signal="pressed" from="Content/PopupDialog/Okay" to="." method="_on_Okay_pressed"] diff --git a/game/src/ui/menu/play/Play.gd b/game/src/ui/menu/play/Play.gd new file mode 100644 index 0000000..6bb88d4 --- /dev/null +++ b/game/src/ui/menu/play/Play.gd @@ -0,0 +1,49 @@ +extends Control + + +var animation_player + +func _ready(): + animation_player = $AnimationPlayer + animation_player.play("FadeIn") + +func _on_League_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + if Global.league_started: + get_tree().change_scene("res://src/ui/championship/dashboard/Dashboard.tscn") + else: + get_tree().change_scene("res://src/ui/championship/Championship.tscn") + + +func _on_Arcade_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/game/arcade/ArcadeDashboard.tscn") + + +func _on_Single_Match_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/difficulty/DifficultySelection.tscn") + + +func _on_OneVsOne_pressed(): + Global.click() + Global.set_home_team(null) + Global.set_away_team(null) + Global.home_team_power = 10 + Global.home_team_speed = 10 + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/game/multiplayer/Multiplayer.tscn") + + +func _on_Back_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished" ) + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") diff --git a/game/src/ui/menu/play/Play.tscn b/game/src/ui/menu/play/Play.tscn new file mode 100644 index 0000000..262435d --- /dev/null +++ b/game/src/ui/menu/play/Play.tscn @@ -0,0 +1,130 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=1] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=2] +[ext_resource path="res://src/ui/menu/play/Play.gd" type="Script" id=3] + +[sub_resource type="Animation" id=1] +resource_name = "FadeIn" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("VBoxContainer:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Back:modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=2] +resource_name = "FadeOut" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("VBoxContainer:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Back:modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[node name="Play" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 2 ) +script = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Background" parent="." instance=ExtResource( 1 )] + +[node name="Back" type="Button" parent="."] +modulate = Color( 1, 1, 1, 0 ) +margin_left = 125.5 +margin_top = 1005.0 +margin_right = 594.5 +margin_bottom = 1104.0 +text = "GO_BACK" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +modulate = Color( 1, 1, 1, 0 ) +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -234.5 +margin_top = -243.0 +margin_right = 234.5 +margin_bottom = 243.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="League" type="Button" parent="VBoxContainer"] +margin_right = 518.0 +margin_bottom = 99.0 +text = "TOURNAMENT" + +[node name="Arcade" type="Button" parent="VBoxContainer"] +margin_top = 109.0 +margin_right = 518.0 +margin_bottom = 208.0 +text = "ARCADE" + +[node name="Single Match" type="Button" parent="VBoxContainer"] +margin_top = 218.0 +margin_right = 518.0 +margin_bottom = 317.0 +text = "P_VS_PC" + +[node name="OneVsOne" type="Button" parent="VBoxContainer"] +margin_top = 327.0 +margin_right = 518.0 +margin_bottom = 426.0 +text = "P_VS_P" + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 1 ) +anims/FadeOut = SubResource( 2 ) + +[connection signal="pressed" from="Back" to="." method="_on_Back_pressed"] +[connection signal="pressed" from="VBoxContainer/League" to="." method="_on_League_pressed"] +[connection signal="pressed" from="VBoxContainer/Arcade" to="." method="_on_Arcade_pressed"] +[connection signal="pressed" from="VBoxContainer/Single Match" to="." method="_on_Single_Match_pressed"] +[connection signal="pressed" from="VBoxContainer/OneVsOne" to="." method="_on_OneVsOne_pressed"] diff --git a/game/src/ui/online/OnlineDashboard.gd b/game/src/ui/online/OnlineDashboard.gd new file mode 100644 index 0000000..37ded2a --- /dev/null +++ b/game/src/ui/online/OnlineDashboard.gd @@ -0,0 +1,31 @@ +extends Node2D + +func _ready(): + Server.set_up() + +func _physics_process(delta): + if TouchHelper.home_pressed: + Server.set_pos(TouchHelper.state["home"]) + + if Server.remote_ball_pos != null: + $Ball.position = Server.remote_ball_pos + + if Server.away_pos != null: + $Player2.position = Server.away_pos + + if Server.touch_pos != null: + $Player.position = Server.touch_pos + + +func _on_connection_failed(error): + print("Error connecting to server " + error) + + +func _on_SearchGame_pressed(): + print("pla") + Server.search_game() + + +func _on_GoBack_pressed(): + Global.click() + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") diff --git a/game/src/ui/online/OnlineDashboard.tscn b/game/src/ui/online/OnlineDashboard.tscn new file mode 100644 index 0000000..084a5fb --- /dev/null +++ b/game/src/ui/online/OnlineDashboard.tscn @@ -0,0 +1,45 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=1] +[ext_resource path="res://src/ui/online/OnlineDashboard.gd" type="Script" id=2] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=3] +[ext_resource path="res://assets/ball.png" type="Texture" id=4] +[ext_resource path="res://assets/broomballcoin.png" type="Texture" id=5] + +[node name="OnlineDashboard" type="Node2D"] +script = ExtResource( 2 ) + +[node name="Background" parent="." instance=ExtResource( 1 )] + +[node name="SearchGame" type="Button" parent="."] +margin_left = 105.973 +margin_top = 334.72 +margin_right = 186.973 +margin_bottom = 358.72 +rect_scale = Vector2( 1.23813, 1.43434 ) +theme = ExtResource( 3 ) +text = "search game" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="GoBack" type="Button" parent="."] +margin_right = 40.0 +margin_bottom = 24.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Ball" type="Sprite" parent="."] +position = Vector2( 366.522, 639.43 ) +texture = ExtResource( 4 ) + +[node name="Player" type="Sprite" parent="."] +position = Vector2( 355.749, 948.664 ) +texture = ExtResource( 5 ) + +[node name="Player2" type="Sprite" parent="."] +position = Vector2( 367.44, 290.612 ) +texture = ExtResource( 5 ) +[connection signal="pressed" from="SearchGame" to="." method="_on_SearchGame_pressed"] +[connection signal="pressed" from="GoBack" to="." method="_on_GoBack_pressed"] diff --git a/game/src/ui/pause/Pause.gd b/game/src/ui/pause/Pause.gd new file mode 100644 index 0000000..76f205c --- /dev/null +++ b/game/src/ui/pause/Pause.gd @@ -0,0 +1,21 @@ +extends Control + +func _on_PauseButton_pressed(): + Global.click() + $VBoxContainer.show() + get_tree().paused = true + +func _on_Menu_pressed(): + if Global.music: + Global.music_loop.fade_in() + Global.click() + if Global.current_league_game != null: + Global.game_over(0,5) + get_tree().paused = false + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") + + +func _on_Resume_pressed(): + Global.click() + $VBoxContainer.hide() + get_tree().paused = false diff --git a/game/src/ui/pause/Pause.tscn b/game/src/ui/pause/Pause.tscn new file mode 100644 index 0000000..fbdef4b --- /dev/null +++ b/game/src/ui/pause/Pause.tscn @@ -0,0 +1,59 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://src/ui/pause/Pause.gd" type="Script" id=2] +[ext_resource path="res://assets/pause.png" type="Texture" id=4] + +[node name="Pause" type="Control"] +pause_mode = 2 +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +pause_mode = 2 +visible = false +margin_left = 200.0 +margin_top = 525.0 +margin_right = 520.0 +margin_bottom = 805.0 +rect_scale = Vector2( 1.05417, 1.07493 ) +theme = ExtResource( 1 ) +custom_constants/separation = 26 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Resume" type="Button" parent="VBoxContainer"] +margin_right = 320.0 +margin_bottom = 94.0 +text = "RESUME" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Menu" type="Button" parent="VBoxContainer"] +margin_top = 120.0 +margin_right = 320.0 +margin_bottom = 214.0 +text = "MENU" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PauseButton" type="TextureButton" parent="."] +self_modulate = Color( 1, 1, 1, 0.470588 ) +margin_left = 592.479 +margin_top = 66.0447 +margin_right = 656.479 +margin_bottom = 130.045 +rect_scale = Vector2( 1.10547, 1.10547 ) +texture_normal = ExtResource( 4 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[connection signal="pressed" from="VBoxContainer/Resume" to="." method="_on_Resume_pressed"] +[connection signal="pressed" from="VBoxContainer/Menu" to="." method="_on_Menu_pressed"] +[connection signal="pressed" from="PauseButton" to="." method="_on_PauseButton_pressed"] diff --git a/game/src/ui/settings/Settings.gd b/game/src/ui/settings/Settings.gd new file mode 100644 index 0000000..20146b0 --- /dev/null +++ b/game/src/ui/settings/Settings.gd @@ -0,0 +1,163 @@ +extends Node2D + +const LANGUAGES = { + "en" : "English", + "de" : "Deutsch", + "it" : "Italiano", + "fr" : "Français" +} + +var animation_player + +func _ready(): + $MarginContainer/VBoxContainer/RoundLimit.set_text("roundlimit "+str(Global.round_limit)) + + update_dynamic_labels() + + if OS.get_name() == "iOS": +# $MarginContainer/VBoxContainer/MoreGames.hide() + $MarginContainer/VBoxContainer/GameServices.hide() + + animation_player = $AnimationPlayer + animation_player.play("FadeIn") + + +func _on_RoundLimit_pressed(): + Global.click() + round_limit_up() + $MarginContainer/VBoxContainer/RoundLimit.set_text("roundlimit "+str(Global.round_limit)) + + +func _on_Music_pressed(): + Global.toggle_music() + + if Global.music == "chill": + $MarginContainer/VBoxContainer/Music.text = tr("MUSIC_1") + elif Global.music == "energetic": + $MarginContainer/VBoxContainer/Music.text = tr("MUSIC_2") + else: + $MarginContainer/VBoxContainer/Music.text = tr("MUSIC_OFF") + + if Global.sfx: + Global.click() + + +func _on_Sfx_pressed(): + if Global.sfx: + $MarginContainer/VBoxContainer/Sfx.text = tr("SFX_OFF") + AudioServer.set_bus_mute(AudioServer.get_bus_index("Sfx"), true) + set_sfx(false) + else: + AudioServer.set_bus_mute(AudioServer.get_bus_index("Sfx"), false) + $MarginContainer/VBoxContainer/Sfx.text = tr("SFX_ON") + set_sfx(true) + if Global.sfx: + Global.click() + +func set_music(enabled): + Global.music = enabled + + if Global.music: + Global.music_loop.fade_in() + else: + Global.music_loop.fade_out() + + Global.config.set_value("sound","music",Global.music) + Global.save() + +func set_sfx(enabled): + Global.sfx = enabled + Global.config.set_value("sound","sfx",Global.sfx) + Global.save() + + +func round_limit_up(): + Global.round_limit += 1 + if Global.round_limit > 9: + Global.round_limit = 1 + Global.config.set_value("round_limit", "amount",Global.round_limit) + Global.save() + +func _on_RateAndReview_pressed(): + Global.click() + if OS.get_name() == "iOS": + OS.shell_open("https://itunes.apple.com/app/id1511009171?action=write-review") + else: + OS.shell_open("https://play.google.com/store/apps/details?id=com.salvai.broomball") + + +func _on_GoBack_pressed(): + Global.click() + animation_player.play("FadeOut") + yield(animation_player, "animation_finished") + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") + + +func _on_MoreGames_pressed(): + Global.click() + if OS.get_name() == "iOS": + OS.shell_open("https://appstore.com/simondalvai") + else: + OS.shell_open("https://play.google.com/store/apps/dev?id=7836644900810357474&hl=en") + + + +func _on_EasterEgg_button_down(): + $EasterEggTimer.start() + + +func _on_EasterEgg_button_up(): + $EasterEggTimer.stop() + + +func _on_EasterEggTimer_timeout(): + Global.add_coins(50000) + + +func _on_GameServices_pressed(): + Global.click() + GameServices.login() + + +func _on_AboutMe_pressed(): + Global.click() + OS.shell_open("https://simondalvai.com") + + +func _on_Language_pressed(): + var locale = Global.locale + + match locale: + "en": + locale = "de" + "de": + locale = "it" + "it": + locale = "fr" + _: + locale = "en" + + TranslationServer.set_locale(locale) + Global.locale = locale + Global.save_all_data() + update_dynamic_labels() + +func update_dynamic_labels(): + $MarginContainer/VBoxContainer/Language.text = LANGUAGES[Global.locale] + + # update music and sfx labels + if Global.music == "chill": + $MarginContainer/VBoxContainer/Music.text = tr("MUSIC_1") + elif Global.music == "energetic": + $MarginContainer/VBoxContainer/Music.text = tr("MUSIC_2") + else: + $MarginContainer/VBoxContainer/Music.text = tr("MUSIC_OFF") + + if Global.sfx: + $MarginContainer/VBoxContainer/Sfx.text = tr("SFX_ON") + else: + $MarginContainer/VBoxContainer/Sfx.text = tr("SFX_OFF") + + + + diff --git a/game/src/ui/settings/Settings.tscn b/game/src/ui/settings/Settings.tscn new file mode 100644 index 0000000..3b56d01 --- /dev/null +++ b/game/src/ui/settings/Settings.tscn @@ -0,0 +1,154 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=1] +[ext_resource path="res://src/ui/settings/Settings.gd" type="Script" id=2] +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=3] + +[sub_resource type="Animation" id=1] +resource_name = "FadeIn" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("MarginContainer:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} + +[sub_resource type="Animation" id=2] +resource_name = "FadeOut" +length = 0.2 +tracks/0/type = "value" +tracks/0/path = NodePath("MarginContainer:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} + +[node name="Settings" type="Node2D"] +script = ExtResource( 2 ) + +[node name="Background" parent="." instance=ExtResource( 3 )] + +[node name="MarginContainer" type="MarginContainer" parent="."] +modulate = Color( 1, 1, 1, 0 ) +margin_left = 100.0 +margin_right = 620.0 +margin_bottom = 1280.0 +theme = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] +margin_right = 553.0 +margin_bottom = 1280.0 +custom_constants/separation = 8 +alignment = 1 + +[node name="RoundLimit" type="Button" parent="MarginContainer/VBoxContainer"] +visible = false +margin_top = 148.0 +margin_right = 520.0 +margin_bottom = 247.0 +text = "roundlimit" + +[node name="Music" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 255.0 +margin_right = 553.0 +margin_bottom = 354.0 +text = "MUSIC_ON" + +[node name="Sfx" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 362.0 +margin_right = 553.0 +margin_bottom = 461.0 +text = "SFX_ON" + +[node name="GameServices" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 469.0 +margin_right = 553.0 +margin_bottom = 568.0 +text = "LOGIN_ARCADE" + +[node name="RateAndReview" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 576.0 +margin_right = 553.0 +margin_bottom = 675.0 +text = "RATE" + +[node name="MoreGames" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 683.0 +margin_right = 553.0 +margin_bottom = 782.0 +text = "MORE_GAMES" + +[node name="Language" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 790.0 +margin_right = 553.0 +margin_bottom = 889.0 +text = "LANGUAGE" + +[node name="AboutMe" type="Button" parent="MarginContainer/VBoxContainer"] +visible = false +margin_top = 790.0 +margin_right = 521.0 +margin_bottom = 889.0 +text = "about me" + +[node name="HSeparator" type="HSeparator" parent="MarginContainer/VBoxContainer"] +modulate = Color( 1, 1, 1, 0 ) +margin_top = 897.0 +margin_right = 553.0 +margin_bottom = 917.0 +size_flags_horizontal = 3 +custom_constants/separation = 20 + +[node name="GoBack" type="Button" parent="MarginContainer/VBoxContainer"] +margin_top = 925.0 +margin_right = 553.0 +margin_bottom = 1024.0 +text = "GO_BACK" + +[node name="EasterEgg" type="Button" parent="."] +modulate = Color( 1, 1, 1, 0 ) +margin_left = 305.431 +margin_top = 2.26952 +margin_right = 825.431 +margin_bottom = 1282.27 +rect_scale = Vector2( 0.793488, 0.042611 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="EasterEggTimer" type="Timer" parent="."] +wait_time = 5.0 +one_shot = true + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/FadeIn = SubResource( 1 ) +anims/FadeOut = SubResource( 2 ) + +[connection signal="pressed" from="MarginContainer/VBoxContainer/RoundLimit" to="." method="_on_RoundLimit_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Music" to="." method="_on_Music_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Sfx" to="." method="_on_Sfx_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/GameServices" to="." method="_on_GameServices_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/RateAndReview" to="." method="_on_RateAndReview_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/MoreGames" to="." method="_on_MoreGames_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/Language" to="." method="_on_Language_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/AboutMe" to="." method="_on_AboutMe_pressed"] +[connection signal="pressed" from="MarginContainer/VBoxContainer/GoBack" to="." method="_on_GoBack_pressed"] +[connection signal="button_down" from="EasterEgg" to="." method="_on_EasterEgg_button_down"] +[connection signal="button_up" from="EasterEgg" to="." method="_on_EasterEgg_button_up"] +[connection signal="timeout" from="EasterEggTimer" to="." method="_on_EasterEggTimer_timeout"] diff --git a/game/src/ui/shop/Shop.gd b/game/src/ui/shop/Shop.gd new file mode 100644 index 0000000..971833e --- /dev/null +++ b/game/src/ui/shop/Shop.gd @@ -0,0 +1,43 @@ +extends Node2D + +enum TYPES {BALLS, STICKS, HELMETS, GLOVES, FIELDS} + +var current_type_index = 0 +var current_item_index = 0 + + +onready var type_label = $TypeLabel + +func _on_GoBack_pressed(): + Global.click() + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") + + +func _on_Buy_pressed(): + Global.click() + # current item price as parameter + Global.use_coins(current_item_index) + + +func _on_PrevItem_pressed(): + Global.click() + + +func _on_NextItem_pressed(): + Global.click() + + +func _on_PrevType_pressed(): + Global.click() + current_type_index += 1 + if current_type_index >= TYPES.size(): + current_type_index = 0 + type_label.text = TYPES.keys()[current_type_index] + + +func _on_NextType_pressed(): + Global.click() + current_type_index -= 1 + if current_type_index < 0: + current_type_index = TYPES.size() - 1 + type_label.text = TYPES.keys()[current_type_index] diff --git a/game/src/ui/shop/Shop.tscn b/game/src/ui/shop/Shop.tscn new file mode 100644 index 0000000..e663de0 --- /dev/null +++ b/game/src/ui/shop/Shop.tscn @@ -0,0 +1,107 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=1] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=2] +[ext_resource path="res://src/ui/shop/Shop.gd" type="Script" id=3] +[ext_resource path="res://assets/prev.png" type="Texture" id=4] +[ext_resource path="res://assets/next.png" type="Texture" id=5] + +[node name="Shop" type="Node2D"] +script = ExtResource( 3 ) + +[node name="Background" parent="." instance=ExtResource( 1 )] + +[node name="TypeButtons" type="Node2D" parent="."] +position = Vector2( 329.86, 574.428 ) + +[node name="NextType" type="TextureButton" parent="TypeButtons"] +modulate = Color( 0.137255, 0.658824, 0.756863, 1 ) +margin_left = 257.0 +margin_top = -440.0 +margin_right = 307.0 +margin_bottom = -376.0 +rect_scale = Vector2( 2, 2 ) +texture_normal = ExtResource( 5 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PrevType" type="TextureButton" parent="TypeButtons"] +modulate = Color( 0.137255, 0.658824, 0.756863, 1 ) +margin_left = -267.0 +margin_top = -437.0 +margin_right = -217.0 +margin_bottom = -373.0 +rect_scale = Vector2( 2, 2 ) +texture_normal = ExtResource( 4 ) + +[node name="ItemButtons" type="Node2D" parent="."] +position = Vector2( 329.86, 574.428 ) + +[node name="NextItem" type="TextureButton" parent="ItemButtons"] +modulate = Color( 0.137255, 0.658824, 0.756863, 1 ) +margin_left = 263.0 +margin_top = 18.0 +margin_right = 313.0 +margin_bottom = 81.0 +rect_scale = Vector2( 2, 2 ) +texture_normal = ExtResource( 5 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PrevItem" type="TextureButton" parent="ItemButtons"] +modulate = Color( 0.137255, 0.658824, 0.756863, 1 ) +margin_left = -276.0 +margin_top = 13.0 +margin_right = -226.0 +margin_bottom = 87.0 +rect_scale = Vector2( 2, 2 ) +texture_normal = ExtResource( 4 ) + +[node name="Item" type="Node2D" parent="."] +position = Vector2( 372.054, 607.832 ) + +[node name="TypeLabel" type="Label" parent="."] +margin_left = 73.0 +margin_top = 149.0 +margin_right = 673.0 +margin_bottom = 233.0 +theme = ExtResource( 2 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "BALLS" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Buy" type="Button" parent="."] +margin_left = 235.584 +margin_top = 941.71 +margin_right = 506.584 +margin_bottom = 1040.71 +theme = ExtResource( 2 ) +text = "buy" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="GoBack" type="Button" parent="."] +margin_left = 235.584 +margin_top = 1077.71 +margin_right = 506.584 +margin_bottom = 1176.71 +theme = ExtResource( 2 ) +text = "go back" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] + +[connection signal="pressed" from="TypeButtons/NextType" to="." method="_on_NextType_pressed"] +[connection signal="pressed" from="TypeButtons/PrevType" to="." method="_on_PrevType_pressed"] +[connection signal="pressed" from="ItemButtons/NextItem" to="." method="_on_NextItem_pressed"] +[connection signal="pressed" from="ItemButtons/PrevItem" to="." method="_on_PrevItem_pressed"] +[connection signal="pressed" from="Buy" to="." method="_on_Buy_pressed"] +[connection signal="pressed" from="GoBack" to="." method="_on_GoBack_pressed"] diff --git a/game/src/ui/statistics/Statistics.gd b/game/src/ui/statistics/Statistics.gd new file mode 100644 index 0000000..16e4463 --- /dev/null +++ b/game/src/ui/statistics/Statistics.gd @@ -0,0 +1,31 @@ +extends Control + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + for league in Global.league_stats: + var name_label = Label.new() + name_label.set_text(league) + $GridContainer.add_child(name_label) + + var played_label = Label.new() + played_label.set_text(str(Global.league_stats[league]["played"])) + $GridContainer.add_child(played_label) + + var win_label = Label.new() + win_label.set_text(str(Global.league_stats[league]["win"])) + $GridContainer.add_child(win_label) + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _on_Menu_pressed(): + get_tree().change_scene("res://src/ui/menu/MenuScreen.tscn") diff --git a/game/src/ui/statistics/Statistics.tscn b/game/src/ui/statistics/Statistics.tscn new file mode 100644 index 0000000..344e7ce --- /dev/null +++ b/game/src/ui/statistics/Statistics.tscn @@ -0,0 +1,91 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://src/ui/background/Background.tscn" type="PackedScene" id=1] +[ext_resource path="res://src/ui/statistics/Statistics.gd" type="Script" id=2] +[ext_resource path="res://assets/theme/airbroomball_theme.tres" type="Theme" id=3] + +[node name="Statistics" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 3 ) +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Background" parent="." instance=ExtResource( 1 )] + +[node name="Panel" type="Panel" parent="."] +margin_left = 11.0 +margin_top = 168.0 +margin_right = 712.0 +margin_bottom = 912.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="GridContainer" type="GridContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 47.337 +margin_top = 379.0 +margin_right = 137.337 +margin_bottom = 379.0 +rect_scale = Vector2( 0.4, 0.4 ) +custom_constants/vseparation = 40 +custom_constants/hseparation = 63 +columns = 3 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Name" type="Label" parent="GridContainer"] +margin_right = 273.0 +margin_bottom = 84.0 +text = "LEAGUE" + +[node name="Played" type="Label" parent="GridContainer"] +margin_left = 336.0 +margin_right = 597.0 +margin_bottom = 84.0 +text = "PLAYED" + +[node name="Win" type="Label" parent="GridContainer"] +margin_left = 660.0 +margin_right = 810.0 +margin_bottom = 84.0 +text = "WIN" + +[node name="Menu" type="Button" parent="."] +margin_left = 178.0 +margin_top = 1044.0 +margin_right = 523.0 +margin_bottom = 1143.0 +text = "GO_BACK" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] + +[node name="Title" type="Label" parent="."] +margin_left = 112.0 +margin_top = 248.0 +margin_right = 617.0 +margin_bottom = 332.0 +text = "HALL" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ComingSoon" type="Label" parent="."] +visible = false +margin_left = 32.0 +margin_top = 920.0 +margin_right = 1051.0 +margin_bottom = 1004.0 +rect_scale = Vector2( 0.4, 0.4 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +text = "More statistics coming soon..." + +[connection signal="pressed" from="Menu" to="." method="_on_Menu_pressed"] diff --git a/game/translations/translations.csv b/game/translations/translations.csv new file mode 100644 index 0000000..c0e2bec --- /dev/null +++ b/game/translations/translations.csv @@ -0,0 +1,71 @@ +keys,en,de,it,fr +PLAY,Play,Spielen,Gioca,Jouer +HALL,Hall of Fame,Hall of Fame,Hall of Fame,Hall of Fame +SETTINGS,Settings,Einstellungen,Impostazioni,Paramètres +EXIT,Exit,Exit,Esci,Exit +MUSIC_OFF,Music off,Musik aus,Musica off,No musique +MUSIC_1,Music 1,Musik 1,Musica 1,Musique 1 +MUSIC_2,Music 2,Musik 1,Musica 2,Musique 2 +SFX_ON,Sfx on,Sfx ein,Sfx si,Sfx oui +SFX_OFF,Sfx off,Sfx aus,Sfx no,Sfx no +LOGIN_ARCADE,Login arcade,Einloggen,Accedi arcade,Connexion +RATE,Rate game,Bewerten,Valuta gioco,Évaluation +MORE_GAMES,More games,Mehr Spiele,Piu giochi,Autres jeux +SPECIAL_CODE,Special code,Spezial kode,Codice speciale,Code spécial +GO_BACK,Go back,Zurück,Indietro,Retourner +PLAYED,Played,Gesp.,Giocati,Joué +WIN,Win,Gew.,Vinti,Gagner +LEAGUE,League,Liga,Liga,Ligue +TOURNAMENT,Tournament,Turnier,Torneo,Tournoi +ARCADE,Arcade,Arcade,Arcade,Arcade +P_VS_PC,1 Player,1 Spieler,1 Giocatore,1 Joueur +P_VS_P,2 Players,2 Spieler,2 Giocatori,2 Joueurs +SPEED,Speed,Speed,Velocità ,Rapidité +POWER,Power,Kraft,Forza,Force +FREEZE,Freeze,Erfrieren,Gela,Geler +ONLINE,Online,Online,Online,Online +EASY,Easy,Leicht,Facile,Facile +MEDIUM,Medium,Mittel,Medio,Moyen +HARD,Hard,Schwierig,Difficile,Dur +EXTREME,Extreme,Extrem,Estremo,Extrême +LEGEND,Legend,Legende,Leggenda,Légende +RESUME,Resume,Weiter,Continua,Reprise +MENU,Menu,Menü,Menù,Menu +REPLAY,Replay,Nochmal,Rigioca,Rejouer +INDIA,India,Indien,India,Inde +GERMANY,Germany,Deutschland,Germania,Allemagne +AUSTRIA,Austria,Österreich,Austria,Autriche +SLOVENIA,Slovenia,Slovenien,Slovenia,Slovénie +FRANCE,France,Frankreich,Francia,France +RUSSIA,Russia,Russland,Russia,Russie +JAPAN,Japan,Japan,Giappone,Japon +AUSTRALIA,Australia,Australien,Australia,Australie +ITALY,Italy,Italien,Italia ,Italie +SWITZERLAND,Switzerland,Schweiz,Svizzera,Suisse +USA,Usa,Usa,Stati uniti,États-unis +CANADA,Canada,Kanada,Canada,Canada +GROUP,Group,Gruppe,Gruppo,Groupe +START_NEW,Start new,Neustart,Rinizia,Nouveau départ +TEAM,Team,Mannschaft,Squadra,Équipe +CONTINUE,Continue,Weiter,Continua,Continuer +BUY,Buy,Kaufen,Compra,Acheter +BALLS,Balls,,, +GLOVES,Gloves,,, +STICKS,Sticks,,, +FIELDS,Fields,,, +SHOP,Shop,,, +YES,Yes,Ja,Si,Oui +NO,No,Nein,No,No +WARNING_NEW,YOUR CURRENT\nPROGRESS WILL\nBE LOST!\nCONTINUE?,DEIN AKTUELLER\nFORTSCHRITT\nGEHT VERLOREN!\nBIST DU SICHER?,IL TUO TORNEO\nATTUALE SARA'\nPERSO!\nCONTINUARE?,VOTRE PROGRES\nACTUEL SERA\nPERDU !\nCONTINUER ? +GROUP_A,GROUP A,GRUPPE A,GRUPPO A,GROUPE A +GROUP_B,GROUP B,GRUPPE B,GRUPPO B,GROUPE B +GROUP_C,GROUP C,GRUPPE C,GRUPPO C,GROUPE C +GROUP_D,GROUP D,GRUPPE D,GRUPPO D,GROUPE D +P,G,S,G,J +W,W,G,V,W +L,L,V,P,P +GD,GD,TD,DR,DDB +SEMI_FINALS,SEMI FINALS,SEMI FINALE,SEMI FINALE,SEMIFINALS +QUARTER_FINALS,QUARTER FINALS,VIERTEL FINALE,QUARTI DI FINALE,QUART DE FINALES +FINAL,FINAL,FINALE,FINALE,FINAL +WORLD_CHAMPION,WORLD CHAMPION,WELTMEISTER,CAMPIONE DEL MONDO,CHAMPION MONDIAL diff --git a/game/translations/translations.csv.import b/game/translations/translations.csv.import new file mode 100644 index 0000000..8925bd2 --- /dev/null +++ b/game/translations/translations.csv.import @@ -0,0 +1,16 @@ +[remap] + +importer="csv_translation" +type="Translation" + +[deps] + +files=[ "res://translations/translations.en.translation", "res://translations/translations.de.translation", "res://translations/translations.it.translation", "res://translations/translations.fr.translation" ] + +source_file="res://translations/translations.csv" +dest_files=[ "res://translations/translations.en.translation", "res://translations/translations.de.translation", "res://translations/translations.it.translation", "res://translations/translations.fr.translation" ] + +[params] + +compress=true +delimiter=0 diff --git a/store-images/AppStore.svg b/store-images/AppStore.svg new file mode 100755 index 0000000..072b425 --- /dev/null +++ b/store-images/AppStore.svg @@ -0,0 +1,46 @@ + + Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/store-images/PlayStore.svg b/store-images/PlayStore.svg new file mode 100644 index 0000000..e3382f2 --- /dev/null +++ b/store-images/PlayStore.svg @@ -0,0 +1 @@ +fil_get \ No newline at end of file