├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── doc └── licenses │ ├── Apache_2.0.txt │ ├── CC0_1.0_Universal.txt │ ├── CC_BY-SA_3.0_Unported.txt │ ├── CC_BY-SA_4.0_International.txt │ ├── CC_BY_3.0_Unported.txt │ ├── CC_BY_4.0_International.txt │ └── SIL_OFL_1.1.txt ├── engine.cfg ├── export.cfg ├── favorites.cfg ├── icon.png ├── icon.png.flags ├── locale ├── locale.de.xl ├── locale.en.xl ├── locale.es.xl ├── locale.fr.xl └── source │ └── locale.csv ├── media ├── LICENSE.md ├── _source │ └── images │ │ ├── background.svg │ │ └── ball.svg ├── fonts │ └── FiraSans-Regular.otf ├── images │ ├── background.png │ ├── ball.png │ ├── ball.png.flags │ └── light.png └── sounds │ ├── launcher.wav │ ├── life_lost.wav │ ├── paddle.wav │ └── score.wav ├── resources ├── fira_sans.fnt └── paddle_sample_library.xml ├── scenes ├── ball.xml ├── bottom.xml ├── bumper_small.xml ├── flipper_left.xml ├── flipper_right.xml ├── hud.xml ├── launcher.xml ├── main_menu.xml ├── pause_menu.xml └── table_1.xml └── scripts ├── ball.gd ├── bottom.gd ├── bumper_small.gd ├── flipper_left.gd ├── flipper_right.gd ├── global.gd ├── hud.gd ├── launcher.gd ├── main_menu.gd ├── pause_menu.gd └── table_1.gd /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | .fscache 3 | *~ 4 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Libre Pinball 2 | 3 | ## Translations 4 | 5 | - It is recommended you edit the source CSV using a tool like LibreOffice Calc. 6 | - Import the translation, and choose `locale/` as output directory. Double-check there are no modified files other than `engine.cfg` as well as the locale files themselves. 7 | - Test your translation before sending it. 8 | - Once you have finished your translation, make a pull request. 9 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | - **This is the license for the source code.** 2 | - For media, please see the `LICENSE.md` files inside the `media/` directory. 3 | - You can see copies of the licenses used in the `doc/licenses/` directory. 4 | 5 | # The MIT License (MIT) 6 | 7 | Copyright (c) 2015 Calinou 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy 10 | of this software and associated documentation files (the "Software"), to deal 11 | in the Software without restriction, including without limitation the rights 12 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | copies of the Software, and to permit persons to whom the Software is 14 | furnished to do so, subject to the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 | THE SOFTWARE. 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Libre Pinball 2 | 3 | A free/libre pinball game made with Godot. 4 | 5 | **Work in progress.** 6 | 7 | ## Features 8 | 9 | - Main menu 10 | - One playable table with launcher and bumpers 11 | - Translations (English, French, German, Spanish) 12 | 13 | ## Running 14 | 15 | You need a recent build of Godot for this to work properly. 1.1 will not work; the paddles will have no collision. 16 | 17 | ## Controls 18 | 19 | - Space Bar: use launcher 20 | - Left Arrow: control left paddle 21 | - Right Arrow: control right paddle 22 | - F2: restart game 23 | - F5: show frames per second 24 | -------------------------------------------------------------------------------- /doc/licenses/Apache_2.0.txt: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /doc/licenses/CC0_1.0_Universal.txt: -------------------------------------------------------------------------------- 1 | Creative Commons Zero 1.0 Universal 2 | 3 | Statement of Purpose 4 | 5 | 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"). 6 | 7 | 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. 8 | 9 | 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. 10 | 11 | 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: 12 | 13 | the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work; 14 | moral rights retained by the original author(s) and/or performer(s); 15 | publicity and privacy rights pertaining to a person's image or likeness depicted in a Work; 16 | rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below; 17 | rights protecting the extraction, dissemination, use and reuse of data in a Work; 18 | 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 19 | other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof. 20 | 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. 21 | 22 | 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. 23 | 24 | 4. Limitations and Disclaimers. 25 | 26 | No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document. 27 | 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. 28 | 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. 29 | 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. 30 | -------------------------------------------------------------------------------- /doc/licenses/CC_BY-SA_3.0_Unported.txt: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution-ShareAlike 3.0 Unported Public License 2 | 3 | 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. 4 | 5 | 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. 6 | 7 | 1. Definitions 8 | 9 | "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. 10 | "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 below) for the purposes of this License. 11 | "Creative Commons Compatible License" means a license that is listed at https://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. 12 | "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. 13 | "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. 14 | "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. 15 | "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. 16 | "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. 17 | "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. 18 | "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. 19 | "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. 20 | 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. 21 | 22 | 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: 23 | 24 | to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; 25 | 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."; 26 | to Distribute and Publicly Perform the Work including as incorporated in Collections; and, 27 | to Distribute and Publicly Perform Adaptations. 28 | For the avoidance of doubt: 29 | 30 | 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; 31 | 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, 32 | 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. 33 | 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. 34 | 35 | 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: 36 | 37 | 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(c), 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(c), as requested. 38 | You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. 39 | 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 Ssection 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(c) 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. 40 | 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. 41 | 5. Representations, Warranties and Disclaimer 42 | 43 | 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. 44 | 45 | 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. 46 | 47 | 7. Termination 48 | 49 | 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. 50 | 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. 51 | 8. Miscellaneous 52 | 53 | 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. 54 | 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. 55 | 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. 56 | 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. 57 | 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. This License may not be modified without the mutual written agreement of the Licensor and You. 58 | 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. 59 | -------------------------------------------------------------------------------- /doc/licenses/CC_BY-SA_4.0_International.txt: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution-ShareAlike 4.0 International Public License 2 | 3 | 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. 4 | 5 | Section 1 – Definitions. 6 | 7 | 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. 8 | 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. 9 | BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. 10 | 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. 11 | 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. 12 | 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. 13 | 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. 14 | Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. 15 | 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. 16 | Licensor means the individual(s) or entity(ies) granting rights under this Public License. 17 | 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. 18 | 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. 19 | You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. 20 | Section 2 – Scope. 21 | 22 | License grant. 23 | 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: 24 | reproduce and Share the Licensed Material, in whole or in part; and 25 | produce, reproduce, and Share Adapted Material. 26 | 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. 27 | Term. The term of this Public License is specified in Section 6(a). 28 | 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. 29 | Downstream recipients. 30 | 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. 31 | 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. 32 | 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. 33 | 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). 34 | Other rights. 35 | 36 | 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. 37 | Patent and trademark rights are not licensed under this Public License. 38 | 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. 39 | Section 3 – License Conditions. 40 | 41 | Your exercise of the Licensed Rights is expressly made subject to the following conditions. 42 | 43 | Attribution. 44 | 45 | If You Share the Licensed Material (including in modified form), You must: 46 | 47 | retain the following if it is supplied by the Licensor with the Licensed Material: 48 | 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); 49 | a copyright notice; 50 | a notice that refers to this Public License; 51 | a notice that refers to the disclaimer of warranties; 52 | a URI or hyperlink to the Licensed Material to the extent reasonably practicable; 53 | indicate if You modified the Licensed Material and retain an indication of any previous modifications; and 54 | indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 55 | 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. 56 | If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. 57 | ShareAlike. 58 | In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. 59 | 60 | 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. 61 | 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. 62 | 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. 63 | Section 4 – Sui Generis Database Rights. 64 | 65 | Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: 66 | 67 | 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; 68 | 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 69 | You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. 70 | 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. 71 | Section 5 – Disclaimer of Warranties and Limitation of Liability. 72 | 73 | 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. 74 | 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. 75 | 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. 76 | Section 6 – Term and Termination. 77 | 78 | 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. 79 | Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 80 | 81 | automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 82 | upon express reinstatement by the Licensor. 83 | 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. 84 | 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. 85 | Sections 1, 5, 6, 7, and 8 survive termination of this Public License. 86 | Section 7 – Other Terms and Conditions. 87 | 88 | The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. 89 | 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. 90 | Section 8 – Interpretation. 91 | 92 | 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. 93 | 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. 94 | 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. 95 | 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. 96 | -------------------------------------------------------------------------------- /doc/licenses/CC_BY_3.0_Unported.txt: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution 3.0 Unported Public License 2 | 3 | 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. 4 | 5 | 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. 6 | 7 | 1. Definitions 8 | 9 | "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. 10 | "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. 11 | "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. 12 | "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. 13 | "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. 14 | "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. 15 | "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. 16 | "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. 17 | "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. 18 | 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. 19 | 20 | 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: 21 | 22 | to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; 23 | 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."; 24 | to Distribute and Publicly Perform the Work including as incorporated in Collections; and, 25 | to Distribute and Publicly Perform Adaptations. 26 | For the avoidance of doubt: 27 | 28 | 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; 29 | 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, 30 | 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. 31 | 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. 32 | 33 | 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: 34 | 35 | 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. 36 | 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. 37 | 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. 38 | 5. Representations, Warranties and Disclaimer 39 | 40 | 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. 41 | 42 | 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. 43 | 44 | 7. Termination 45 | 46 | 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. 47 | 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. 48 | 8. Miscellaneous 49 | 50 | 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. 51 | 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. 52 | 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. 53 | 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. 54 | 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. This License may not be modified without the mutual written agreement of the Licensor and You. 55 | 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. 56 | -------------------------------------------------------------------------------- /doc/licenses/CC_BY_4.0_International.txt: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution 4.0 International Public License 2 | 3 | By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 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. 4 | 5 | Section 1 – Definitions. 6 | 7 | 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. 8 | 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. 9 | 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. 10 | 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. 11 | 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. 12 | Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. 13 | 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. 14 | Licensor means the individual(s) or entity(ies) granting rights under this Public License. 15 | 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. 16 | 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. 17 | You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. 18 | Section 2 – Scope. 19 | 20 | License grant. 21 | 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: 22 | reproduce and Share the Licensed Material, in whole or in part; and 23 | produce, reproduce, and Share Adapted Material. 24 | 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. 25 | Term. The term of this Public License is specified in Section 6(a). 26 | 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. 27 | Downstream recipients. 28 | 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. 29 | 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. 30 | 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). 31 | Other rights. 32 | 33 | 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. 34 | Patent and trademark rights are not licensed under this Public License. 35 | 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. 36 | Section 3 – License Conditions. 37 | 38 | Your exercise of the Licensed Rights is expressly made subject to the following conditions. 39 | 40 | Attribution. 41 | 42 | If You Share the Licensed Material (including in modified form), You must: 43 | 44 | retain the following if it is supplied by the Licensor with the Licensed Material: 45 | 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); 46 | a copyright notice; 47 | a notice that refers to this Public License; 48 | a notice that refers to the disclaimer of warranties; 49 | a URI or hyperlink to the Licensed Material to the extent reasonably practicable; 50 | indicate if You modified the Licensed Material and retain an indication of any previous modifications; and 51 | indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 52 | 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. 53 | If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. 54 | If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. 55 | Section 4 – Sui Generis Database Rights. 56 | 57 | Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: 58 | 59 | 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; 60 | 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; and 61 | You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. 62 | 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. 63 | Section 5 – Disclaimer of Warranties and Limitation of Liability. 64 | 65 | 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. 66 | 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. 67 | 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. 68 | Section 6 – Term and Termination. 69 | 70 | 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. 71 | Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 72 | 73 | automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 74 | upon express reinstatement by the Licensor. 75 | 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. 76 | 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. 77 | Sections 1, 5, 6, 7, and 8 survive termination of this Public License. 78 | Section 7 – Other Terms and Conditions. 79 | 80 | The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. 81 | 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. 82 | Section 8 – Interpretation. 83 | 84 | 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. 85 | 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. 86 | 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. 87 | 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. 88 | -------------------------------------------------------------------------------- /doc/licenses/SIL_OFL_1.1.txt: -------------------------------------------------------------------------------- 1 | SIL OFL 1.1 2 | 3 | Version 1.1 - 26 February 2007 4 | 5 | PREAMBLE 6 | The goals of the Open Font License (OFL) are to stimulate worldwide 7 | development of collaborative font projects, to support the font creation 8 | efforts of academic and linguistic communities, and to provide a free and 9 | open framework in which fonts may be shared and improved in partnership 10 | with others. 11 | 12 | The OFL allows the licensed fonts to be used, studied, modified and 13 | redistributed freely as long as they are not sold by themselves. The 14 | fonts, including any derivative works, can be bundled, embedded, 15 | redistributed and/or sold with any software provided that any reserved 16 | names are not used by derivative works. The fonts and derivatives, 17 | however, cannot be released under any other type of license. The 18 | requirement for fonts to remain under this license does not apply 19 | to any document created using the fonts or their derivatives. 20 | 21 | DEFINITIONS 22 | "Font Software" refers to the set of files released by the Copyright 23 | Holder(s) under this license and clearly marked as such. This may 24 | include source files, build scripts and documentation. 25 | 26 | "Reserved Font Name" refers to any names specified as such after the 27 | copyright statement(s). 28 | 29 | "Original Version" refers to the collection of Font Software components as 30 | distributed by the Copyright Holder(s). 31 | 32 | "Modified Version" refers to any derivative made by adding to, deleting, 33 | or substituting — in part or in whole — any of the components of the 34 | Original Version, by changing formats or by porting the Font Software to a 35 | new environment. 36 | 37 | "Author" refers to any designer, engineer, programmer, technical 38 | writer or other person who contributed to the Font Software. 39 | 40 | PERMISSION & CONDITIONS 41 | Permission is hereby granted, free of charge, to any person obtaining 42 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 43 | redistribute, and sell modified and unmodified copies of the Font 44 | Software, subject to the following conditions: 45 | 46 | 1) Neither the Font Software nor any of its individual components, 47 | in Original or Modified Versions, may be sold by itself. 48 | 49 | 2) Original or Modified Versions of the Font Software may be bundled, 50 | redistributed and/or sold with any software, provided that each copy 51 | contains the above copyright notice and this license. These can be 52 | included either as stand-alone text files, human-readable headers or 53 | in the appropriate machine-readable metadata fields within text or 54 | binary files as long as those fields can be easily viewed by the user. 55 | 56 | 3) No Modified Version of the Font Software may use the Reserved Font 57 | Name(s) unless explicit written permission is granted by the corresponding 58 | Copyright Holder. This restriction only applies to the primary font name as 59 | presented to the users. 60 | 61 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 62 | Software shall not be used to promote, endorse or advertise any 63 | Modified Version, except to acknowledge the contribution(s) of the 64 | Copyright Holder(s) and the Author(s) or with their explicit written 65 | permission. 66 | 67 | 5) The Font Software, modified or unmodified, in part or in whole, 68 | must be distributed entirely under this license, and must not be 69 | distributed under any other license. The requirement for fonts to 70 | remain under this license does not apply to any document created 71 | using the Font Software. 72 | 73 | TERMINATION 74 | This license becomes null and void if any of the above conditions are 75 | not met. 76 | 77 | DISCLAIMER 78 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 79 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 80 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 81 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 82 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 83 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 84 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 85 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 86 | OTHER DEALINGS IN THE FONT SOFTWARE. 87 | -------------------------------------------------------------------------------- /engine.cfg: -------------------------------------------------------------------------------- 1 | [application] 2 | 3 | name="Libre Pinball" 4 | main_scene="res://scenes/main_menu.xml" 5 | icon="res://icon.png" 6 | target_fps=60 7 | 8 | [autoload] 9 | 10 | Global="res://scripts/global.gd" 11 | 12 | [display] 13 | 14 | width=360 15 | height=640 16 | orientation="portrait" 17 | stretch_mode="2d" 18 | stretch_aspect="keep" 19 | tooltip_delay=0.5 20 | 21 | [input] 22 | 23 | use_launcher=[key(Space)] 24 | paddle_left=[key(Left)] 25 | paddle_right=[key(Right)] 26 | pause=[key(Escape), key(Pause)] 27 | toggle_fps_display=[key(F5)] 28 | restart_game=[key(F2)] 29 | 30 | [locale] 31 | 32 | translations=["res://locale/locale.en.xl", "res://locale/locale.fr.xl", "res://locale/locale.de.xl", "res://locale/locale.es.xl"] 33 | 34 | [rasterizer] 35 | 36 | shadow_filter=3 37 | 38 | [render] 39 | 40 | default_clear_color=#ff333333 41 | -------------------------------------------------------------------------------- /export.cfg: -------------------------------------------------------------------------------- 1 | [convert_images] 2 | 3 | action="none" 4 | compress_quality=0.7 5 | formats="png" 6 | shrink=1 7 | 8 | [export_filter] 9 | 10 | filter="" 11 | type="resources" 12 | 13 | [platform:Android] 14 | 15 | apk_expansion/SALT="" 16 | apk_expansion/enable=false 17 | apk_expansion/public_key="" 18 | architecture/arm=true 19 | architecture/x86=false 20 | command_line/extra_args="" 21 | custom_package/debug="" 22 | custom_package/release="" 23 | keystore/release="" 24 | keystore/release_password="" 25 | keystore/release_user="" 26 | one_click_deploy/clear_previous_install=true 27 | package/icon="" 28 | package/name="" 29 | package/signed=true 30 | package/unique_name="org.godotengine.$genname" 31 | permissions/access_checkin_properties=false 32 | permissions/access_coarse_location=false 33 | permissions/access_fine_location=false 34 | permissions/access_location_extra_commands=false 35 | permissions/access_mock_location=false 36 | permissions/access_network_state=false 37 | permissions/access_surface_flinger=false 38 | permissions/access_wifi_state=false 39 | permissions/account_manager=false 40 | permissions/add_voicemail=false 41 | permissions/authenticate_accounts=false 42 | permissions/battery_stats=false 43 | permissions/bind_accessibility_service=false 44 | permissions/bind_appwidget=false 45 | permissions/bind_device_admin=false 46 | permissions/bind_input_method=false 47 | permissions/bind_nfc_service=false 48 | permissions/bind_notification_listener_service=false 49 | permissions/bind_print_service=false 50 | permissions/bind_remoteviews=false 51 | permissions/bind_text_service=false 52 | permissions/bind_vpn_service=false 53 | permissions/bind_wallpaper=false 54 | permissions/bluetooth=false 55 | permissions/bluetooth_admin=false 56 | permissions/bluetooth_privileged=false 57 | permissions/brick=false 58 | permissions/broadcast_package_removed=false 59 | permissions/broadcast_sms=false 60 | permissions/broadcast_sticky=false 61 | permissions/broadcast_wap_push=false 62 | permissions/call_phone=false 63 | permissions/call_privileged=false 64 | permissions/camera=false 65 | permissions/capture_audio_output=false 66 | permissions/capture_secure_video_output=false 67 | permissions/capture_video_output=false 68 | permissions/change_component_enabled_state=false 69 | permissions/change_configuration=false 70 | permissions/change_network_state=false 71 | permissions/change_wifi_multicast_state=false 72 | permissions/change_wifi_state=false 73 | permissions/clear_app_cache=false 74 | permissions/clear_app_user_data=false 75 | permissions/control_location_updates=false 76 | permissions/delete_cache_files=false 77 | permissions/delete_packages=false 78 | permissions/device_power=false 79 | permissions/diagnostic=false 80 | permissions/disable_keyguard=false 81 | permissions/dump=false 82 | permissions/expand_status_bar=false 83 | permissions/factory_test=false 84 | permissions/flashlight=false 85 | permissions/force_back=false 86 | permissions/get_accounts=false 87 | permissions/get_package_size=false 88 | permissions/get_tasks=false 89 | permissions/get_top_activity_info=false 90 | permissions/global_search=false 91 | permissions/hardware_test=false 92 | permissions/inject_events=false 93 | permissions/install_location_provider=false 94 | permissions/install_packages=false 95 | permissions/install_shortcut=false 96 | permissions/internal_system_window=false 97 | permissions/internet=false 98 | permissions/kill_background_processes=false 99 | permissions/location_hardware=false 100 | permissions/manage_accounts=false 101 | permissions/manage_app_tokens=false 102 | permissions/manage_documents=false 103 | permissions/master_clear=false 104 | permissions/media_content_control=false 105 | permissions/modify_audio_settings=false 106 | permissions/modify_phone_state=false 107 | permissions/mount_format_filesystems=false 108 | permissions/mount_unmount_filesystems=false 109 | permissions/nfc=false 110 | permissions/persistent_activity=false 111 | permissions/process_outgoing_calls=false 112 | permissions/read_calendar=false 113 | permissions/read_call_log=false 114 | permissions/read_contacts=false 115 | permissions/read_external_storage=false 116 | permissions/read_frame_buffer=false 117 | permissions/read_history_bookmarks=false 118 | permissions/read_input_state=false 119 | permissions/read_logs=false 120 | permissions/read_phone_state=false 121 | permissions/read_profile=false 122 | permissions/read_sms=false 123 | permissions/read_social_stream=false 124 | permissions/read_sync_settings=false 125 | permissions/read_sync_stats=false 126 | permissions/read_user_dictionary=false 127 | permissions/reboot=false 128 | permissions/receive_boot_completed=false 129 | permissions/receive_mms=false 130 | permissions/receive_sms=false 131 | permissions/receive_wap_push=false 132 | permissions/record_audio=false 133 | permissions/reorder_tasks=false 134 | permissions/restart_packages=false 135 | permissions/send_respond_via_message=false 136 | permissions/send_sms=false 137 | permissions/set_activity_watcher=false 138 | permissions/set_alarm=false 139 | permissions/set_always_finish=false 140 | permissions/set_animation_scale=false 141 | permissions/set_debug_app=false 142 | permissions/set_orientation=false 143 | permissions/set_pointer_speed=false 144 | permissions/set_preferred_applications=false 145 | permissions/set_process_limit=false 146 | permissions/set_time=false 147 | permissions/set_time_zone=false 148 | permissions/set_wallpaper=false 149 | permissions/set_wallpaper_hints=false 150 | permissions/signal_persistent_processes=false 151 | permissions/status_bar=false 152 | permissions/subscribed_feeds_read=false 153 | permissions/subscribed_feeds_write=false 154 | permissions/system_alert_window=false 155 | permissions/transmit_ir=false 156 | permissions/uninstall_shortcut=false 157 | permissions/update_device_stats=false 158 | permissions/use_credentials=false 159 | permissions/use_sip=false 160 | permissions/vibrate=true 161 | permissions/wake_lock=false 162 | permissions/write_apn_settings=false 163 | permissions/write_calendar=false 164 | permissions/write_call_log=false 165 | permissions/write_contacts=false 166 | permissions/write_external_storage=false 167 | permissions/write_gservices=false 168 | permissions/write_history_bookmarks=false 169 | permissions/write_profile=false 170 | permissions/write_secure_settings=false 171 | permissions/write_settings=false 172 | permissions/write_sms=false 173 | permissions/write_social_stream=false 174 | permissions/write_sync_settings=false 175 | permissions/write_user_dictionary=false 176 | screen/immersive_mode=true 177 | screen/orientation=0 178 | screen/support_large=true 179 | screen/support_normal=true 180 | screen/support_small=true 181 | screen/support_xlarge=true 182 | screen/use_32_bits_view=true 183 | user_permissions/0="" 184 | user_permissions/1="" 185 | user_permissions/10="" 186 | user_permissions/11="" 187 | user_permissions/12="" 188 | user_permissions/13="" 189 | user_permissions/14="" 190 | user_permissions/15="" 191 | user_permissions/16="" 192 | user_permissions/17="" 193 | user_permissions/18="" 194 | user_permissions/19="" 195 | user_permissions/2="" 196 | user_permissions/3="" 197 | user_permissions/4="" 198 | user_permissions/5="" 199 | user_permissions/6="" 200 | user_permissions/7="" 201 | user_permissions/8="" 202 | user_permissions/9="" 203 | version/code=1 204 | version/name="1.0" 205 | 206 | [platform:BlackBerry 10] 207 | 208 | package/category="core.games" 209 | package/custom_template="" 210 | package/description="Game made with Godot Engine" 211 | package/icon="" 212 | package/name="" 213 | package/unique_name="com.godot.noname" 214 | release/author="Cert. Name" 215 | release/author_id="Cert. ID" 216 | version/code=1 217 | version/name="1.0" 218 | 219 | [platform:HTML5] 220 | 221 | browser/enable_run=false 222 | custom_package/debug="" 223 | custom_package/release="" 224 | options/memory_size=3 225 | 226 | [platform:Linux X11] 227 | 228 | binary/64_bits=true 229 | custom_binary/debug="" 230 | custom_binary/release="" 231 | resources/pack_mode=1 232 | 233 | [platform:Mac OSX] 234 | 235 | application/64_bits=false 236 | application/copyright="" 237 | application/icon="" 238 | application/identifier="com.godot.macgame" 239 | application/info="This Game is Nice" 240 | application/name="" 241 | application/short_version="1.0" 242 | application/signature="godotmacgame" 243 | application/version="1.0" 244 | custom_package/debug="" 245 | custom_package/release="" 246 | display/high_res=false 247 | 248 | [platform:Windows Desktop] 249 | 250 | binary/64_bits=false 251 | custom_binary/debug="" 252 | custom_binary/release="" 253 | resources/pack_mode=0 254 | 255 | [script] 256 | 257 | action="compile" 258 | encrypt_key="" 259 | -------------------------------------------------------------------------------- /favorites.cfg: -------------------------------------------------------------------------------- 1 | res://resources/locale.en.xl 2 | res://resources/locale.fr.xl 3 | -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/icon.png -------------------------------------------------------------------------------- /icon.png.flags: -------------------------------------------------------------------------------- 1 | gen_mipmaps=false 2 | -------------------------------------------------------------------------------- /locale/locale.de.xl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/locale/locale.de.xl -------------------------------------------------------------------------------- /locale/locale.en.xl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/locale/locale.en.xl -------------------------------------------------------------------------------- /locale/locale.es.xl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/locale/locale.es.xl -------------------------------------------------------------------------------- /locale/locale.fr.xl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/locale/locale.fr.xl -------------------------------------------------------------------------------- /locale/source/locale.csv: -------------------------------------------------------------------------------- 1 | "id","en","fr","de","es" 2 | "play","Play","Jouer","Spielen","Jugar" 3 | "play_tooltip","Click to play.","Cliquez pour jouer.","Zum Spielen klicken.","Click para jugar." 4 | "quit","Quit","Quitter","Beenden","Cerrar" 5 | "quit_tooltip","Quits the game.","Quitte le jeu.","Verlässt das Spiel.","Cerrar el juego." 6 | "pause","Pause","Pause","Pause","Pause" 7 | "resume","Resume","Continuer","Weiter","Resumir" 8 | "resume_tooltip","Resumes the game.","Continue la partie.","Fährt das Spiel fort.","Resume el juego." 9 | "restart","Restart","Recommencer","Neustart","Volver a empezar" 10 | "restart_tooltip","Restarts the game.","Recommence la partie.","Startet ein neues Spiel.","Empieza de nuevo el juego." 11 | "go_to_main_menu","Main Menu","Menu principal","Hauptmemü","Menú principal" 12 | "go_to_main_menu_tooltip","Go to Main Menu.","Va au menu principal.","Zum Hauptmenü.","Ir a Menú principal." 13 | "life_lost","Player lost a life. Lifes remaining:","Le joueur a perdu une vie. Nombre de vies restantes:","Leben verloren. Verbleibend:","Jugador pierde una vida. Vidas restantes:" 14 | "game_over","Game over.","Partie terminée.","Game over.","Fin del Juego." 15 | "game_over_press_key_to_restart","Press F2 to restart.","Appuyez sur F2 pour recommencer.","Für neuen Versuch F2 drücken.","Presiona F2 para volver a empezar." 16 | "main_menu_loaded","Main menu loaded.","Menu principal chargé.","Hauptmenü geladen.","Menú principal cargado." 17 | "table_loaded","Table '%s' loaded.","Table '%s' chargée.","Spielfeld '%s' geladen.","Tablas '%s' cargadas." 18 | -------------------------------------------------------------------------------- /media/LICENSE.md: -------------------------------------------------------------------------------- 1 | # License of media files 2 | 3 | ## images/ball.png, images/background.png, images/light.png 4 | 5 | - Copyright (C) 2015 Calinou 6 | - CC0 1.0 Universal 7 | 8 | ## sounds/paddle.wav, sounds/launcher.wav, sounds/life_lost.wav, sounds/score.wav 9 | 10 | - Copyright (c) 2015 The Red Eclipse Team 11 | - CC BY-SA 3.0 Unported 12 | 13 | ## fonts/FiraSans-Regular.otf 14 | 15 | - Copyright (c) 2015 Carrois Type Design GbR 16 | - SIL OFL 1.1 17 | 18 | ## source/ 19 | 20 | - Copyright (c) 2015 Calinou 21 | - CC0 1.0 Universal 22 | -------------------------------------------------------------------------------- /media/_source/images/background.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 25 | 28 | 32 | 33 | 34 | 57 | 59 | 60 | 62 | image/svg+xml 63 | 65 | 66 | 67 | 68 | 69 | 74 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /media/_source/images/ball.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 24 | 46 | 48 | 49 | 51 | image/svg+xml 52 | 54 | 55 | 56 | 57 | 58 | 63 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /media/fonts/FiraSans-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/media/fonts/FiraSans-Regular.otf -------------------------------------------------------------------------------- /media/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/media/images/background.png -------------------------------------------------------------------------------- /media/images/ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/media/images/ball.png -------------------------------------------------------------------------------- /media/images/ball.png.flags: -------------------------------------------------------------------------------- 1 | repeat=true 2 | -------------------------------------------------------------------------------- /media/images/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/media/images/light.png -------------------------------------------------------------------------------- /media/sounds/launcher.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/media/sounds/launcher.wav -------------------------------------------------------------------------------- /media/sounds/life_lost.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/media/sounds/life_lost.wav -------------------------------------------------------------------------------- /media/sounds/paddle.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/media/sounds/paddle.wav -------------------------------------------------------------------------------- /media/sounds/score.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/media/sounds/score.wav -------------------------------------------------------------------------------- /resources/fira_sans.fnt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Calinou/libre-pinball/085a6fae4aad8978b09074d6b26299ddaaa2e28a/resources/fira_sans.fnt -------------------------------------------------------------------------------- /resources/paddle_sample_library.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | "db" 10 | 10 11 | "pitch" 12 | 1 13 | "sample" 14 | 15 | 16 | 17 | "db" 18 | 0 19 | "pitch" 20 | 1 21 | "sample" 22 | 23 | 24 | 25 | "db" 26 | 0 27 | "pitch" 28 | 1 29 | "sample" 30 | 31 | 32 | 33 | "db" 34 | 0 35 | "pitch" 36 | 1 37 | "sample" 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /scenes/ball.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 0 8 | 10 9 | 10 | 11 | 12 | 13 | "conn_count" 14 | 1 15 | "conns" 16 | 1, 0, 51, 50, 2, 0 17 | "names" 18 | 19 | "Ball" 20 | "Node2D" 21 | "z/z" 22 | "script/script" 23 | "__meta__" 24 | "RigidBody2D" 25 | "input/pickable" 26 | "shapes/0/shape" 27 | "shapes/0/transform" 28 | "shapes/0/trigger" 29 | "collision/layers" 30 | "collision/mask" 31 | "mode" 32 | "mass" 33 | "friction" 34 | "bounce" 35 | "gravity_scale" 36 | "custom_integrator" 37 | "continuous_cd" 38 | "contacts_reported" 39 | "contact_monitor" 40 | "sleeping" 41 | "can_sleep" 42 | "velocity/linear" 43 | "velocity/angular" 44 | "damp_override/linear" 45 | "damp_override/angular" 46 | "Sprite" 47 | "transform/scale" 48 | "texture" 49 | "CollisionShape2D" 50 | "shape" 51 | "trigger" 52 | "Light2D" 53 | "enabled" 54 | "offset" 55 | "scale" 56 | "color" 57 | "energy" 58 | "range/height" 59 | "range/z_min" 60 | "range/z_max" 61 | "range/layer_min" 62 | "range/layer_max" 63 | "range/item_mask" 64 | "shadow/enabled" 65 | "shadow/color" 66 | "shadow/buffer_size" 67 | "shadow/esm_multiplier" 68 | "shadow/item_mask" 69 | "_on_RigidBody2D_body_enter" 70 | "body_enter" 71 | 72 | "node_count" 73 | 5 74 | "nodes" 75 | -1, -1, 1, 0, -1, 3, 2, 0, 3, 1, 4, 2, 0, 0, 0, 5, 5, -1, 21, 6, 3, 7, 4, 8, 5, 9, 3, 10, 6, 11, 6, 12, 7, 13, 8, 14, 8, 15, 9, 16, 10, 17, 3, 18, 7, 19, 6, 20, 11, 21, 3, 22, 3, 23, 12, 24, 13, 25, 14, 26, 14, 0, 1, 0, 27, 27, -1, 2, 28, 15, 29, 16, 0, 1, 0, 30, 30, -1, 2, 31, 4, 32, 3, 0, 1, 0, 33, 33, -1, 18, 34, 11, 29, 17, 35, 12, 36, 18, 37, 19, 38, 20, 12, 7, 39, 8, 40, 21, 41, 22, 42, 7, 43, 7, 44, 6, 45, 11, 46, 23, 47, 24, 48, 25, 49, 6, 0 76 | "variants" 77 | 78 | -5 79 | 80 | 81 | "__editor_plugin_screen__" 82 | "Script" 83 | "__editor_plugin_states__" 84 | 85 | "2D" 86 | 87 | "ofs" 88 | -362.312, -253.603 89 | "snap_grid" 90 | True 91 | "snap_offset" 92 | 0, 0 93 | "snap_pixel" 94 | False 95 | "snap_relative" 96 | False 97 | "snap_rotation" 98 | False 99 | "snap_rotation_offset" 100 | 0 101 | "snap_rotation_step" 102 | 0.261799 103 | "snap_show_grid" 104 | True 105 | "snap_step" 106 | 16, 16 107 | "zoom" 108 | 1.458955 109 | 110 | "3D" 111 | 112 | "ambient_light_color" 113 | 0.15, 0.15, 0.15, 1 114 | "default_light" 115 | True 116 | "default_srgb" 117 | False 118 | "deflight_rot_x" 119 | 0.942478 120 | "deflight_rot_y" 121 | 0.628319 122 | "fov" 123 | 45 124 | "show_grid" 125 | True 126 | "show_origin" 127 | True 128 | "viewport_mode" 129 | 1 130 | "viewports" 131 | 132 | 133 | "distance" 134 | 4 135 | "listener" 136 | True 137 | "pos" 138 | 0, 0, 0 139 | "use_environment" 140 | False 141 | "use_orthogonal" 142 | False 143 | "x_rot" 144 | 0.3 145 | "y_rot" 146 | 3.100002 147 | 148 | 149 | "distance" 150 | 4 151 | "listener" 152 | False 153 | "pos" 154 | 0, 0, 0 155 | "use_environment" 156 | False 157 | "use_orthogonal" 158 | False 159 | "x_rot" 160 | 0 161 | "y_rot" 162 | 0 163 | 164 | 165 | "distance" 166 | 4 167 | "listener" 168 | False 169 | "pos" 170 | 0, 0, 0 171 | "use_environment" 172 | False 173 | "use_orthogonal" 174 | False 175 | "x_rot" 176 | 0 177 | "y_rot" 178 | 0 179 | 180 | 181 | "distance" 182 | 4 183 | "listener" 184 | False 185 | "pos" 186 | 0, 0, 0 187 | "use_environment" 188 | False 189 | "use_orthogonal" 190 | False 191 | "x_rot" 192 | 0 193 | "y_rot" 194 | 0 195 | 196 | 197 | "zfar" 198 | 500 199 | "znear" 200 | 0.1 201 | 202 | 203 | "__editor_run_settings__" 204 | 205 | "custom_args" 206 | "-l $scene" 207 | "run_mode" 208 | 0 209 | 210 | 211 | False 212 | 213 | 1, -0, 0, 1, 0, 0 214 | 1 215 | 0 216 | 1 217 | 0.25 218 | 4.5 219 | True 220 | 0, 0 221 | 0 222 | -1 223 | 0.15, 0.15 224 | 225 | 226 | 0.5 227 | 1, 1, 1, 1 228 | 2 229 | -1024 230 | 1024 231 | 0, 0, 0, 0 232 | 2048 233 | 80 234 | 235 | "version" 236 | 1 237 | 238 | 239 | 240 | -------------------------------------------------------------------------------- /scenes/bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 0 6 | 12.8, 670.4, 12.8, 650.4, 372.8, 650.4, 372.8, 670.4 7 | 8 | 9 | 10 | 11 | "conn_count" 12 | 1 13 | "conns" 14 | 1, 0, 22, 21, 2, 0 15 | "names" 16 | 17 | "Bottom" 18 | "Node2D" 19 | "script/script" 20 | "__meta__" 21 | "Bottom Area" 22 | "Area2D" 23 | "input/pickable" 24 | "shapes/0/shape" 25 | "shapes/0/transform" 26 | "shapes/0/trigger" 27 | "gravity_vec" 28 | "gravity" 29 | "linear_damp" 30 | "angular_damp" 31 | "Bottom Collision" 32 | "CollisionPolygon2D" 33 | "transform/pos" 34 | "transform/scale" 35 | "build_mode" 36 | "polygon" 37 | "trigger" 38 | "_on_Bottom_Area_body_enter" 39 | "body_enter" 40 | 41 | "node_count" 42 | 3 43 | "nodes" 44 | -1, -1, 1, 0, -1, 2, 2, 0, 3, 1, 0, 0, 0, 5, 4, -1, 8, 6, 2, 7, 3, 8, 4, 9, 2, 10, 5, 11, 6, 12, 7, 13, 8, 0, 1, 0, 15, 14, -1, 5, 16, 9, 17, 10, 18, 11, 19, 12, 20, 2, 0 45 | "variants" 46 | 47 | 48 | 49 | "__editor_plugin_screen__" 50 | "2D" 51 | "__editor_plugin_states__" 52 | 53 | "2D" 54 | 55 | "ofs" 56 | -11.7443, -119.68 57 | "snap_grid" 58 | True 59 | "snap_offset" 60 | 0, 0 61 | "snap_pixel" 62 | True 63 | "snap_relative" 64 | False 65 | "snap_rotation" 66 | False 67 | "snap_rotation_offset" 68 | 0 69 | "snap_rotation_step" 70 | 0.261799 71 | "snap_show_grid" 72 | True 73 | "snap_step" 74 | 20, 20 75 | "zoom" 76 | 0.814506 77 | 78 | "3D" 79 | 80 | "ambient_light_color" 81 | 0.15, 0.15, 0.15, 1 82 | "default_light" 83 | True 84 | "default_srgb" 85 | False 86 | "deflight_rot_x" 87 | 0.942478 88 | "deflight_rot_y" 89 | 0.628319 90 | "fov" 91 | 45 92 | "show_grid" 93 | True 94 | "show_origin" 95 | True 96 | "viewport_mode" 97 | 1 98 | "viewports" 99 | 100 | 101 | "distance" 102 | 4 103 | "listener" 104 | True 105 | "pos" 106 | 0, 0, 0 107 | "use_environment" 108 | False 109 | "use_orthogonal" 110 | False 111 | "x_rot" 112 | 0.325 113 | "y_rot" 114 | 1.424998 115 | 116 | 117 | "distance" 118 | 4 119 | "listener" 120 | False 121 | "pos" 122 | 0, 0, 0 123 | "use_environment" 124 | False 125 | "use_orthogonal" 126 | False 127 | "x_rot" 128 | 0 129 | "y_rot" 130 | 0 131 | 132 | 133 | "distance" 134 | 4 135 | "listener" 136 | False 137 | "pos" 138 | 0, 0, 0 139 | "use_environment" 140 | False 141 | "use_orthogonal" 142 | False 143 | "x_rot" 144 | 0 145 | "y_rot" 146 | 0 147 | 148 | 149 | "distance" 150 | 4 151 | "listener" 152 | False 153 | "pos" 154 | 0, 0, 0 155 | "use_environment" 156 | False 157 | "use_orthogonal" 158 | False 159 | "x_rot" 160 | 0 161 | "y_rot" 162 | 0 163 | 164 | 165 | "zfar" 166 | 500 167 | "znear" 168 | 0.1 169 | 170 | 171 | "__editor_run_settings__" 172 | 173 | "custom_args" 174 | "-l $scene" 175 | "run_mode" 176 | 0 177 | 178 | 179 | True 180 | 181 | 1, -0, 0, 1, -12.8, 9.59985 182 | 0, 1 183 | 98 184 | 0.1 185 | 1 186 | -12.8, 9.59985 187 | 1, 1 188 | 0 189 | 12.8, 670.4, 372.8, 670.4, 372.8, 650.4, 12.8, 650.4 190 | 191 | "version" 192 | 1 193 | 194 | 195 | 196 | -------------------------------------------------------------------------------- /scenes/bumper_small.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 0 8 | 20 9 | 10 | 11 | 12 | 0 13 | 10 14 | 15 | 16 | 17 | 18 | "conn_count" 19 | 1 20 | "conns" 21 | 6, 1, 70, 69, 2, 0 22 | "names" 23 | 24 | "Bumper" 25 | "Node2D" 26 | "z/z" 27 | "z/relative" 28 | "__meta__" 29 | "StaticBody2D" 30 | "input/pickable" 31 | "shapes/0/shape" 32 | "shapes/0/transform" 33 | "shapes/0/trigger" 34 | "collision/layers" 35 | "collision/mask" 36 | "constant_linear_velocity" 37 | "constant_angular_velocity" 38 | "friction" 39 | "bounce" 40 | "script/script" 41 | "Polygon2D" 42 | "polygon" 43 | "uv" 44 | "color" 45 | "offset" 46 | "texture/texture" 47 | "texture/offset" 48 | "texture/scale" 49 | "texture/rotation" 50 | "invert/enable" 51 | "invert/border" 52 | "CollisionShape2D" 53 | "shape" 54 | "trigger" 55 | "SamplePlayer" 56 | "config/voices" 57 | "config/samples" 58 | "default/volume_db" 59 | "default/pitch_scale" 60 | "default/pan" 61 | "default/depth" 62 | "default/height" 63 | "default/filter/type" 64 | "default/filter/cutoff" 65 | "default/filter/resonance" 66 | "default/filter/gain" 67 | "default/reverb_room" 68 | "default/reverb_send" 69 | "default/chorus_send" 70 | "Light2D" 71 | "enabled" 72 | "texture" 73 | "scale" 74 | "energy" 75 | "mode" 76 | "range/height" 77 | "range/z_min" 78 | "range/z_max" 79 | "range/layer_min" 80 | "range/layer_max" 81 | "range/item_mask" 82 | "shadow/enabled" 83 | "shadow/color" 84 | "shadow/buffer_size" 85 | "shadow/esm_multiplier" 86 | "shadow/item_mask" 87 | "Area2D" 88 | "gravity_vec" 89 | "gravity" 90 | "linear_damp" 91 | "angular_damp" 92 | "transform/scale" 93 | "_on_Area2D_body_enter" 94 | "body_enter" 95 | 96 | "node_count" 97 | 8 98 | "nodes" 99 | -1, -1, 1, 0, -1, 3, 2, 0, 3, 1, 4, 2, 0, 0, 0, 5, 0, -1, 11, 6, 1, 7, 3, 8, 4, 9, 1, 10, 5, 11, 6, 12, 7, 13, 8, 14, 9, 15, 9, 16, 10, 0, 1, 0, 17, 17, -1, 10, 18, 11, 19, 12, 20, 13, 21, 7, 22, 14, 23, 7, 24, 15, 25, 8, 26, 1, 27, 16, 0, 1, 0, 28, 28, -1, 2, 29, 3, 30, 1, 0, 1, 0, 31, 31, -1, 14, 32, 5, 33, 17, 34, 8, 35, 9, 36, 8, 37, 8, 38, 8, 39, 18, 40, 18, 41, 18, 42, 18, 43, 6, 44, 8, 45, 8, 0, 1, 0, 46, 46, -1, 18, 47, 19, 48, 20, 21, 7, 49, 21, 20, 22, 50, 23, 51, 24, 52, 8, 53, 25, 54, 26, 55, 24, 56, 24, 57, 5, 58, 1, 59, 27, 60, 28, 61, 29, 62, 5, 0, 1, 0, 63, 63, -1, 8, 6, 19, 7, 30, 8, 31, 9, 1, 64, 32, 65, 33, 66, 34, 67, 9, 0, 6, 0, 28, 28, -1, 3, 68, 35, 29, 30, 30, 1, 0 100 | "variants" 101 | 102 | -5 103 | False 104 | 105 | "__editor_plugin_screen__" 106 | "Script" 107 | "__editor_plugin_states__" 108 | 109 | "2D" 110 | 111 | "ofs" 112 | -135.615, -85.0411 113 | "snap_grid" 114 | True 115 | "snap_offset" 116 | 0, 0 117 | "snap_pixel" 118 | False 119 | "snap_relative" 120 | False 121 | "snap_rotation" 122 | False 123 | "snap_rotation_offset" 124 | 0 125 | "snap_rotation_step" 126 | 0.261799 127 | "snap_show_grid" 128 | True 129 | "snap_step" 130 | 4, 4 131 | "zoom" 132 | 4.65899 133 | 134 | "3D" 135 | 136 | "ambient_light_color" 137 | 0.15, 0.15, 0.15, 1 138 | "default_light" 139 | True 140 | "default_srgb" 141 | False 142 | "deflight_rot_x" 143 | 0.942478 144 | "deflight_rot_y" 145 | 0.628319 146 | "fov" 147 | 45 148 | "show_grid" 149 | True 150 | "show_origin" 151 | True 152 | "viewport_mode" 153 | 1 154 | "viewports" 155 | 156 | 157 | "distance" 158 | 4 159 | "listener" 160 | True 161 | "pos" 162 | 0, 0, 0 163 | "use_environment" 164 | False 165 | "use_orthogonal" 166 | False 167 | "x_rot" 168 | 0.3 169 | "y_rot" 170 | 3.100002 171 | 172 | 173 | "distance" 174 | 4 175 | "listener" 176 | False 177 | "pos" 178 | 0, 0, 0 179 | "use_environment" 180 | False 181 | "use_orthogonal" 182 | False 183 | "x_rot" 184 | 0 185 | "y_rot" 186 | 0 187 | 188 | 189 | "distance" 190 | 4 191 | "listener" 192 | False 193 | "pos" 194 | 0, 0, 0 195 | "use_environment" 196 | False 197 | "use_orthogonal" 198 | False 199 | "x_rot" 200 | 0 201 | "y_rot" 202 | 0 203 | 204 | 205 | "distance" 206 | 4 207 | "listener" 208 | False 209 | "pos" 210 | 0, 0, 0 211 | "use_environment" 212 | False 213 | "use_orthogonal" 214 | False 215 | "x_rot" 216 | 0 217 | "y_rot" 218 | 0 219 | 220 | 221 | "zfar" 222 | 500 223 | "znear" 224 | 0.1 225 | 226 | 227 | "__editor_run_settings__" 228 | 229 | "custom_args" 230 | "-l $scene" 231 | "run_mode" 232 | 0 233 | 234 | 235 | 236 | 1, 0, 0, 1, 0, 0 237 | 1 238 | 2 239 | 0, 0 240 | 0 241 | 1 242 | 243 | 0, 20, 4, 20, 12, 16, 16, 12, 20, 4, 20, 0, 20, -4, 16, -12, 12, -16, 4, -20, 0, -20, -4, -20, -12, -16, -16, -12, -20, -4, -20, 0, -20, 4, -16, 12, -12, 16, -4, 20 244 | 245 | 1, 1, 0.25098, 1 246 | 1, 1 247 | 100 248 | 249 | 250 | True 251 | 252 | 0.5 253 | 1, 1, 0.501961, 1 254 | 2 255 | 0 256 | -1024 257 | 1024 258 | 0, 0, 0, 0 259 | 2048 260 | 80 261 | 262 | 2, -0, 0, 2, 0, 0 263 | 0, 1 264 | 98 265 | 0.1 266 | 2, 2 267 | 268 | "version" 269 | 1 270 | 271 | 272 | 273 | -------------------------------------------------------------------------------- /scenes/flipper_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 0 7 | 0, 16, 0, 0, 112, 0, 112, 16 8 | 9 | 10 | 11 | True 12 | 0 13 | 0, 0, 112, 0, 112, 16, 0, 16 14 | 15 | 16 | 17 | 18 | "conn_count" 19 | 1 20 | "conns" 21 | 5, 0, 47, 52, 2, 0 22 | "names" 23 | 24 | "Left Flipper" 25 | "KinematicBody2D" 26 | "input/pickable" 27 | "shapes/0/shape" 28 | "shapes/0/transform" 29 | "shapes/0/trigger" 30 | "collision/layers" 31 | "collision/mask" 32 | "collision/margin" 33 | "script/script" 34 | "__meta__" 35 | "Polygon2D" 36 | "polygon" 37 | "uv" 38 | "color" 39 | "offset" 40 | "texture/texture" 41 | "texture/offset" 42 | "texture/scale" 43 | "texture/rotation" 44 | "invert/enable" 45 | "invert/border" 46 | "CollisionPolygon2D" 47 | "build_mode" 48 | "trigger" 49 | "LightOccluder2D" 50 | "occluder" 51 | "light_mask" 52 | "SamplePlayer" 53 | "config/voices" 54 | "config/samples" 55 | "default/volume_db" 56 | "default/pitch_scale" 57 | "default/pan" 58 | "default/depth" 59 | "default/height" 60 | "default/filter/type" 61 | "default/filter/cutoff" 62 | "default/filter/resonance" 63 | "default/filter/gain" 64 | "default/reverb_room" 65 | "default/reverb_send" 66 | "default/chorus_send" 67 | "TouchScreenButton" 68 | "transform/pos" 69 | "transform/scale" 70 | "normal" 71 | "pressed" 72 | "bitmask" 73 | "passby_press" 74 | "action" 75 | "visibility_mode" 76 | "_on_TouchScreenButton_pressed" 77 | 78 | "node_count" 79 | 6 80 | "nodes" 81 | -1, -1, 1, 0, -1, 9, 2, 0, 3, 1, 4, 2, 5, 0, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 0, 0, 0, 11, 11, -1, 10, 12, 7, 13, 8, 14, 9, 15, 10, 16, 11, 17, 10, 18, 12, 19, 13, 20, 0, 21, 14, 0, 0, 0, 22, 22, -1, 3, 23, 15, 12, 7, 24, 0, 0, 0, 0, 25, 25, -1, 2, 26, 16, 27, 3, 0, 0, 0, 28, 28, -1, 14, 29, 3, 30, 17, 31, 18, 32, 19, 33, 13, 34, 13, 35, 13, 36, 20, 37, 20, 38, 20, 39, 20, 40, 21, 41, 13, 42, 13, 0, 0, 0, 43, 43, -1, 8, 44, 22, 45, 23, 46, 11, 47, 11, 48, 11, 49, 0, 50, 24, 51, 3, 0 82 | "variants" 83 | 84 | False 85 | 86 | 1, -0, 0, 1, 0, 0 87 | 1 88 | 0.08 89 | 90 | 91 | "__editor_plugin_screen__" 92 | "2D" 93 | "__editor_plugin_states__" 94 | 95 | "2D" 96 | 97 | "ofs" 98 | -393.6, -211.736 99 | "snap_grid" 100 | True 101 | "snap_offset" 102 | 0, 0 103 | "snap_pixel" 104 | False 105 | "snap_relative" 106 | False 107 | "snap_rotation" 108 | False 109 | "snap_rotation_offset" 110 | 0 111 | "snap_rotation_step" 112 | 0.261799 113 | "snap_show_grid" 114 | True 115 | "snap_step" 116 | 16, 16 117 | "zoom" 118 | 1.108033 119 | 120 | "3D" 121 | 122 | "ambient_light_color" 123 | 0.15, 0.15, 0.15, 1 124 | "default_light" 125 | True 126 | "default_srgb" 127 | False 128 | "deflight_rot_x" 129 | 0.942478 130 | "deflight_rot_y" 131 | 0.628319 132 | "fov" 133 | 45 134 | "show_grid" 135 | True 136 | "show_origin" 137 | True 138 | "viewport_mode" 139 | 1 140 | "viewports" 141 | 142 | 143 | "distance" 144 | 4 145 | "listener" 146 | True 147 | "pos" 148 | 0, 0, 0 149 | "use_environment" 150 | False 151 | "use_orthogonal" 152 | False 153 | "x_rot" 154 | 0.3 155 | "y_rot" 156 | 3.100002 157 | 158 | 159 | "distance" 160 | 4 161 | "listener" 162 | False 163 | "pos" 164 | 0, 0, 0 165 | "use_environment" 166 | False 167 | "use_orthogonal" 168 | False 169 | "x_rot" 170 | 0 171 | "y_rot" 172 | 0 173 | 174 | 175 | "distance" 176 | 4 177 | "listener" 178 | False 179 | "pos" 180 | 0, 0, 0 181 | "use_environment" 182 | False 183 | "use_orthogonal" 184 | False 185 | "x_rot" 186 | 0 187 | "y_rot" 188 | 0 189 | 190 | 191 | "distance" 192 | 4 193 | "listener" 194 | False 195 | "pos" 196 | 0, 0, 0 197 | "use_environment" 198 | False 199 | "use_orthogonal" 200 | False 201 | "x_rot" 202 | 0 203 | "y_rot" 204 | 0 205 | 206 | 207 | "zfar" 208 | 500 209 | "znear" 210 | 0.1 211 | 212 | 213 | "__editor_run_settings__" 214 | 215 | "custom_args" 216 | "-l $scene" 217 | "run_mode" 218 | 0 219 | 220 | 221 | 0, 0, 112, 0, 112, 16, 0, 16 222 | 223 | 0.333333, 1, 0.333333, 1 224 | 0, 0 225 | 1, 1 226 | 0 227 | 100 228 | 0 229 | 230 | 231 | -8 232 | 1 233 | 234 | 2 235 | -16, -32 236 | 144, 80 237 | "paddle_left" 238 | 239 | "version" 240 | 1 241 | 242 | 243 | 244 | -------------------------------------------------------------------------------- /scenes/flipper_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 0 7 | 0, 0, 0, 16, -112, 16, -112, 0 8 | 9 | 10 | 11 | True 12 | 0 13 | -112, 0, 0, 0, 0, 16, -112, 16 14 | 15 | 16 | 17 | 18 | "conn_count" 19 | 0 20 | "conns" 21 | 22 | "names" 23 | 24 | "Right Flipper" 25 | "KinematicBody2D" 26 | "input/pickable" 27 | "shapes/0/shape" 28 | "shapes/0/transform" 29 | "shapes/0/trigger" 30 | "collision/layers" 31 | "collision/mask" 32 | "collision/margin" 33 | "script/script" 34 | "__meta__" 35 | "Polygon2D" 36 | "polygon" 37 | "uv" 38 | "color" 39 | "offset" 40 | "texture/texture" 41 | "texture/offset" 42 | "texture/scale" 43 | "texture/rotation" 44 | "invert/enable" 45 | "invert/border" 46 | "CollisionPolygon2D" 47 | "build_mode" 48 | "trigger" 49 | "LightOccluder2D" 50 | "occluder" 51 | "light_mask" 52 | "SamplePlayer" 53 | "config/voices" 54 | "config/samples" 55 | "default/volume_db" 56 | "default/pitch_scale" 57 | "default/pan" 58 | "default/depth" 59 | "default/height" 60 | "default/filter/type" 61 | "default/filter/cutoff" 62 | "default/filter/resonance" 63 | "default/filter/gain" 64 | "default/reverb_room" 65 | "default/reverb_send" 66 | "default/chorus_send" 67 | "TouchScreenButton" 68 | "transform/pos" 69 | "transform/scale" 70 | "normal" 71 | "pressed" 72 | "bitmask" 73 | "passby_press" 74 | "action" 75 | "visibility_mode" 76 | 77 | "node_count" 78 | 6 79 | "nodes" 80 | -1, -1, 1, 0, -1, 9, 2, 0, 3, 1, 4, 2, 5, 0, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 0, 0, 0, 11, 11, -1, 10, 12, 7, 13, 8, 14, 9, 15, 10, 16, 11, 17, 10, 18, 12, 19, 13, 20, 0, 21, 14, 0, 0, 0, 22, 22, -1, 3, 23, 15, 12, 7, 24, 0, 0, 0, 0, 25, 25, -1, 2, 26, 16, 27, 3, 0, 0, 0, 28, 28, -1, 14, 29, 3, 30, 17, 31, 18, 32, 19, 33, 13, 34, 13, 35, 13, 36, 20, 37, 20, 38, 20, 39, 20, 40, 21, 41, 13, 42, 13, 0, 0, 0, 43, 43, -1, 8, 44, 22, 45, 23, 46, 11, 47, 11, 48, 11, 49, 0, 50, 24, 51, 3, 0 81 | "variants" 82 | 83 | False 84 | 85 | 1, 0, 0, 1, 0, 0 86 | 1 87 | 0.08 88 | 89 | 90 | "__editor_plugin_screen__" 91 | "2D" 92 | "__editor_plugin_states__" 93 | 94 | "2D" 95 | 96 | "ofs" 97 | -505.6, -127.803 98 | "snap_grid" 99 | True 100 | "snap_offset" 101 | 0, 0 102 | "snap_pixel" 103 | False 104 | "snap_relative" 105 | False 106 | "snap_rotation" 107 | False 108 | "snap_rotation_offset" 109 | 0 110 | "snap_rotation_step" 111 | 0.261799 112 | "snap_show_grid" 113 | True 114 | "snap_step" 115 | 16, 16 116 | "zoom" 117 | 1.108033 118 | 119 | "3D" 120 | 121 | "ambient_light_color" 122 | 0.15, 0.15, 0.15, 1 123 | "default_light" 124 | True 125 | "default_srgb" 126 | False 127 | "deflight_rot_x" 128 | 0.942478 129 | "deflight_rot_y" 130 | 0.628319 131 | "fov" 132 | 45 133 | "show_grid" 134 | True 135 | "show_origin" 136 | True 137 | "viewport_mode" 138 | 1 139 | "viewports" 140 | 141 | 142 | "distance" 143 | 4 144 | "listener" 145 | True 146 | "pos" 147 | 0, 0, 0 148 | "use_environment" 149 | False 150 | "use_orthogonal" 151 | False 152 | "x_rot" 153 | 0.3 154 | "y_rot" 155 | 3.100002 156 | 157 | 158 | "distance" 159 | 4 160 | "listener" 161 | False 162 | "pos" 163 | 0, 0, 0 164 | "use_environment" 165 | False 166 | "use_orthogonal" 167 | False 168 | "x_rot" 169 | 0 170 | "y_rot" 171 | 0 172 | 173 | 174 | "distance" 175 | 4 176 | "listener" 177 | False 178 | "pos" 179 | 0, 0, 0 180 | "use_environment" 181 | False 182 | "use_orthogonal" 183 | False 184 | "x_rot" 185 | 0 186 | "y_rot" 187 | 0 188 | 189 | 190 | "distance" 191 | 4 192 | "listener" 193 | False 194 | "pos" 195 | 0, 0, 0 196 | "use_environment" 197 | False 198 | "use_orthogonal" 199 | False 200 | "x_rot" 201 | 0 202 | "y_rot" 203 | 0 204 | 205 | 206 | "zfar" 207 | 500 208 | "znear" 209 | 0.1 210 | 211 | 212 | "__editor_run_settings__" 213 | 214 | "custom_args" 215 | "-l $scene" 216 | "run_mode" 217 | 0 218 | 219 | 220 | 0, 0, -112, 0, -112, 16, 0, 16 221 | 222 | 0.333333, 1, 0.333333, 1 223 | 0, 0 224 | 1, 1 225 | 0 226 | 100 227 | 0 228 | 229 | 230 | -8 231 | 0.95 232 | 233 | 2 234 | -128, -32 235 | 144, 80 236 | "paddle_right" 237 | 238 | "version" 239 | 1 240 | 241 | 242 | 243 | -------------------------------------------------------------------------------- /scenes/hud.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | "conn_count" 8 | 0 9 | "conns" 10 | 11 | "names" 12 | 13 | "HUD" 14 | "Control" 15 | "margin/right" 16 | "margin/bottom" 17 | "focus/ignore_mouse" 18 | "focus/stop_mouse" 19 | "size_flags/horizontal" 20 | "size_flags/vertical" 21 | "script/script" 22 | "__meta__" 23 | "Frames per Second" 24 | "Label" 25 | "margin/left" 26 | "margin/top" 27 | "custom_fonts/font" 28 | "range/min" 29 | "range/max" 30 | "range/step" 31 | "range/page" 32 | "range/value" 33 | "range/exp_edit" 34 | "rounded_values" 35 | "percent_visible" 36 | "Game Over" 37 | "visibility/visible" 38 | "custom_colors/font_color" 39 | "text" 40 | "align" 41 | "valign" 42 | "uppercase" 43 | "Restart" 44 | "Score" 45 | "Lives" 46 | 47 | "node_count" 48 | 6 49 | "nodes" 50 | -1, -1, 1, 0, -1, 8, 2, 0, 3, 0, 4, 1, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 0, 0, 0, 11, 10, -1, 16, 12, 6, 13, 7, 2, 8, 3, 0, 4, 2, 5, 2, 6, 3, 14, 9, 15, 10, 16, 11, 17, 11, 18, 11, 19, 10, 20, 1, 21, 1, 22, 12, 0, 0, 0, 11, 23, -1, 20, 24, 1, 2, 13, 3, 14, 4, 2, 5, 2, 6, 3, 14, 9, 25, 15, 15, 10, 16, 11, 17, 11, 18, 11, 19, 10, 20, 1, 21, 1, 26, 16, 27, 17, 28, 17, 29, 2, 22, 11, 0, 2, 0, 11, 30, -1, 20, 13, 0, 2, 13, 3, 18, 4, 2, 5, 2, 6, 3, 14, 9, 25, 19, 15, 10, 16, 11, 17, 11, 18, 11, 19, 10, 20, 1, 21, 1, 26, 20, 27, 17, 28, 17, 29, 2, 22, 11, 0, 0, 0, 11, 31, -1, 18, 13, 6, 2, 13, 3, 8, 4, 2, 5, 2, 6, 3, 14, 9, 25, 21, 15, 10, 16, 11, 17, 11, 18, 11, 19, 10, 20, 1, 21, 1, 27, 17, 28, 17, 22, 12, 0, 0, 0, 11, 32, -1, 16, 13, 22, 2, 23, 3, 24, 4, 2, 5, 2, 6, 3, 14, 9, 15, 10, 16, 11, 17, 11, 18, 11, 19, 10, 20, 1, 21, 1, 27, 3, 22, 12, 0 51 | "variants" 52 | 53 | 40 54 | False 55 | True 56 | 2 57 | 58 | 59 | "__editor_plugin_screen__" 60 | "2D" 61 | "__editor_plugin_states__" 62 | 63 | "2D" 64 | 65 | "ofs" 66 | -242.333, -79 67 | "snap_grid" 68 | True 69 | "snap_offset" 70 | 0, 0 71 | "snap_pixel" 72 | False 73 | "snap_relative" 74 | False 75 | "snap_rotation" 76 | False 77 | "snap_rotation_offset" 78 | 0 79 | "snap_rotation_step" 80 | 0.261799 81 | "snap_show_grid" 82 | True 83 | "snap_step" 84 | 20, 20 85 | "zoom" 86 | 1 87 | 88 | "3D" 89 | 90 | "ambient_light_color" 91 | 0.15, 0.15, 0.15, 1 92 | "default_light" 93 | True 94 | "default_srgb" 95 | False 96 | "deflight_rot_x" 97 | 0.942478 98 | "deflight_rot_y" 99 | 0.628319 100 | "fov" 101 | 45 102 | "show_grid" 103 | True 104 | "show_origin" 105 | True 106 | "viewport_mode" 107 | 1 108 | "viewports" 109 | 110 | 111 | "distance" 112 | 4 113 | "listener" 114 | True 115 | "pos" 116 | 0, 0, 0 117 | "use_environment" 118 | False 119 | "use_orthogonal" 120 | False 121 | "x_rot" 122 | 0 123 | "y_rot" 124 | 0 125 | 126 | 127 | "distance" 128 | 4 129 | "listener" 130 | False 131 | "pos" 132 | 0, 0, 0 133 | "use_environment" 134 | False 135 | "use_orthogonal" 136 | False 137 | "x_rot" 138 | 0 139 | "y_rot" 140 | 0 141 | 142 | 143 | "distance" 144 | 4 145 | "listener" 146 | False 147 | "pos" 148 | 0, 0, 0 149 | "use_environment" 150 | False 151 | "use_orthogonal" 152 | False 153 | "x_rot" 154 | 0 155 | "y_rot" 156 | 0 157 | 158 | 159 | "distance" 160 | 4 161 | "listener" 162 | False 163 | "pos" 164 | 0, 0, 0 165 | "use_environment" 166 | False 167 | "use_orthogonal" 168 | False 169 | "x_rot" 170 | 0 171 | "y_rot" 172 | 0 173 | 174 | 175 | "zfar" 176 | 500 177 | "znear" 178 | 0.1 179 | 180 | 181 | "__editor_run_settings__" 182 | 183 | "custom_args" 184 | "-l $scene" 185 | "run_mode" 186 | 0 187 | 188 | 189 | 20 190 | 18 191 | 60 192 | 193 | 0 194 | 1 195 | -1 196 | 360 197 | 640 198 | 1, 0.501961, 0, 1 199 | "game_over" 200 | 1 201 | 680 202 | 1, 1, 1, 1 203 | "game_over_press_key_to_restart" 204 | 1, 1, 0.25098, 1 205 | 600 206 | 320 207 | 622 208 | 209 | "version" 210 | 1 211 | 212 | 213 | 214 | -------------------------------------------------------------------------------- /scenes/launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 0 7 | 16, 0, 16, 32, -16, 32, -16, 0 8 | 9 | 10 | 11 | 12 | "conn_count" 13 | 0 14 | "conns" 15 | 16 | "names" 17 | 18 | "Launcher" 19 | "KinematicBody2D" 20 | "input/pickable" 21 | "shapes/0/shape" 22 | "shapes/0/transform" 23 | "shapes/0/trigger" 24 | "collision/layers" 25 | "collision/mask" 26 | "collision/margin" 27 | "script/script" 28 | "__meta__" 29 | "CollisionPolygon2D" 30 | "build_mode" 31 | "polygon" 32 | "trigger" 33 | "SamplePlayer" 34 | "config/voices" 35 | "config/samples" 36 | "default/volume_db" 37 | "default/pitch_scale" 38 | "default/pan" 39 | "default/depth" 40 | "default/height" 41 | "default/filter/type" 42 | "default/filter/cutoff" 43 | "default/filter/resonance" 44 | "default/filter/gain" 45 | "default/reverb_room" 46 | "default/reverb_send" 47 | "default/chorus_send" 48 | "Polygon2D" 49 | "uv" 50 | "color" 51 | "offset" 52 | "texture/texture" 53 | "texture/offset" 54 | "texture/scale" 55 | "texture/rotation" 56 | "invert/enable" 57 | "invert/border" 58 | 59 | "node_count" 60 | 4 61 | "nodes" 62 | -1, -1, 1, 0, -1, 9, 2, 0, 3, 1, 4, 2, 5, 0, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 0, 0, 0, 11, 11, -1, 3, 12, 7, 13, 8, 14, 0, 0, 0, 0, 15, 15, -1, 14, 16, 3, 17, 9, 18, 10, 19, 11, 20, 10, 21, 10, 22, 10, 23, 12, 24, 12, 25, 12, 26, 12, 27, 13, 28, 10, 29, 10, 0, 0, 0, 30, 30, -1, 10, 13, 14, 31, 15, 32, 16, 33, 17, 34, 18, 35, 17, 36, 19, 37, 10, 38, 0, 39, 20, 0 63 | "variants" 64 | 65 | False 66 | 67 | 1, 0, 0, 1, 0, 0 68 | 1 69 | 0.08 70 | 71 | 72 | "__editor_plugin_screen__" 73 | "Script" 74 | "__editor_plugin_states__" 75 | 76 | "2D" 77 | 78 | "ofs" 79 | -396, -234.198 80 | "snap_grid" 81 | True 82 | "snap_offset" 83 | 0, 0 84 | "snap_pixel" 85 | False 86 | "snap_relative" 87 | False 88 | "snap_rotation" 89 | False 90 | "snap_rotation_offset" 91 | 0 92 | "snap_rotation_step" 93 | 0.261799 94 | "snap_show_grid" 95 | True 96 | "snap_step" 97 | 16, 16 98 | "zoom" 99 | 0.9025 100 | 101 | "3D" 102 | 103 | "ambient_light_color" 104 | 0.15, 0.15, 0.15, 1 105 | "default_light" 106 | True 107 | "default_srgb" 108 | False 109 | "deflight_rot_x" 110 | 0.942478 111 | "deflight_rot_y" 112 | 0.628319 113 | "fov" 114 | 45 115 | "show_grid" 116 | True 117 | "show_origin" 118 | True 119 | "viewport_mode" 120 | 1 121 | "viewports" 122 | 123 | 124 | "distance" 125 | 4 126 | "listener" 127 | True 128 | "pos" 129 | 0, 0, 0 130 | "use_environment" 131 | False 132 | "use_orthogonal" 133 | False 134 | "x_rot" 135 | 0.325 136 | "y_rot" 137 | 1.424998 138 | 139 | 140 | "distance" 141 | 4 142 | "listener" 143 | False 144 | "pos" 145 | 0, 0, 0 146 | "use_environment" 147 | False 148 | "use_orthogonal" 149 | False 150 | "x_rot" 151 | 0 152 | "y_rot" 153 | 0 154 | 155 | 156 | "distance" 157 | 4 158 | "listener" 159 | False 160 | "pos" 161 | 0, 0, 0 162 | "use_environment" 163 | False 164 | "use_orthogonal" 165 | False 166 | "x_rot" 167 | 0 168 | "y_rot" 169 | 0 170 | 171 | 172 | "distance" 173 | 4 174 | "listener" 175 | False 176 | "pos" 177 | 0, 0, 0 178 | "use_environment" 179 | False 180 | "use_orthogonal" 181 | False 182 | "x_rot" 183 | 0 184 | "y_rot" 185 | 0 186 | 187 | 188 | "zfar" 189 | 500 190 | "znear" 191 | 0.1 192 | 193 | 194 | "__editor_run_settings__" 195 | 196 | "custom_args" 197 | "-l $scene" 198 | "run_mode" 199 | 0 200 | 201 | 202 | 0 203 | 16, 0, -16, 0, -16, 32, 16, 32 204 | 205 | 0 206 | 1 207 | 208 | 2 209 | -16, 32, 16, 32, 16, 0, -16, 0 210 | 211 | 0.533333, 0.533333, 0.533333, 1 212 | 0, 0 213 | 1, 1 214 | 100 215 | 216 | "version" 217 | 1 218 | 219 | 220 | 221 | -------------------------------------------------------------------------------- /scenes/main_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | "conn_count" 8 | 2 9 | "conns" 10 | 2, 0, 35, 34, 2, 0, 3, 0, 35, 36, 2, 0 11 | "names" 12 | 13 | "Main Menu" 14 | "Control" 15 | "margin/right" 16 | "margin/bottom" 17 | "focus/ignore_mouse" 18 | "focus/stop_mouse" 19 | "size_flags/horizontal" 20 | "size_flags/vertical" 21 | "script/script" 22 | "__meta__" 23 | "Title" 24 | "Label" 25 | "margin/left" 26 | "margin/top" 27 | "custom_fonts/font" 28 | "custom_colors/font_color" 29 | "custom_colors/font_color_shadow" 30 | "range/min" 31 | "range/max" 32 | "range/step" 33 | "range/page" 34 | "range/value" 35 | "range/exp_edit" 36 | "rounded_values" 37 | "text" 38 | "align" 39 | "valign" 40 | "percent_visible" 41 | "Play Button" 42 | "Button" 43 | "hint/tooltip" 44 | "toggle_mode" 45 | "flat" 46 | "Quit Button" 47 | "_on_Play_Button_pressed" 48 | "pressed" 49 | "_on_Quit_Button_pressed" 50 | 51 | "node_count" 52 | 4 53 | "nodes" 54 | -1, -1, 1, 0, -1, 8, 2, 0, 3, 0, 4, 1, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 0, 0, 0, 11, 10, -1, 21, 12, 6, 13, 6, 2, 7, 3, 8, 4, 2, 5, 2, 6, 3, 14, 9, 15, 10, 16, 11, 17, 12, 18, 13, 19, 13, 20, 13, 21, 12, 22, 1, 23, 1, 24, 14, 25, 15, 26, 15, 27, 16, 0, 0, 0, 29, 28, -1, 13, 12, 6, 13, 17, 2, 7, 3, 18, 30, 19, 4, 1, 5, 2, 6, 3, 7, 3, 14, 9, 31, 1, 24, 20, 32, 1, 0, 0, 0, 29, 33, -1, 13, 12, 6, 13, 21, 2, 7, 3, 22, 30, 23, 4, 1, 5, 2, 6, 3, 7, 3, 14, 9, 31, 1, 24, 24, 32, 1, 0 55 | "variants" 56 | 57 | 40 58 | False 59 | True 60 | 2 61 | 62 | 63 | "__editor_plugin_screen__" 64 | "Script" 65 | "__editor_plugin_states__" 66 | 67 | "2D" 68 | 69 | "ofs" 70 | -360, -234.198 71 | "snap_grid" 72 | True 73 | "snap_offset" 74 | 0, 0 75 | "snap_pixel" 76 | False 77 | "snap_relative" 78 | False 79 | "snap_rotation" 80 | False 81 | "snap_rotation_offset" 82 | 0 83 | "snap_rotation_step" 84 | 0.261799 85 | "snap_show_grid" 86 | True 87 | "snap_step" 88 | 32, 32 89 | "zoom" 90 | 0.9025 91 | 92 | "3D" 93 | 94 | "ambient_light_color" 95 | 0.15, 0.15, 0.15, 1 96 | "default_light" 97 | True 98 | "default_srgb" 99 | False 100 | "deflight_rot_x" 101 | 0.942478 102 | "deflight_rot_y" 103 | 0.628319 104 | "fov" 105 | 45 106 | "show_grid" 107 | True 108 | "show_origin" 109 | True 110 | "viewport_mode" 111 | 1 112 | "viewports" 113 | 114 | 115 | "distance" 116 | 4 117 | "listener" 118 | True 119 | "pos" 120 | 0, 0, 0 121 | "use_environment" 122 | False 123 | "use_orthogonal" 124 | False 125 | "x_rot" 126 | 0.325 127 | "y_rot" 128 | 1.424998 129 | 130 | 131 | "distance" 132 | 4 133 | "listener" 134 | False 135 | "pos" 136 | 0, 0, 0 137 | "use_environment" 138 | False 139 | "use_orthogonal" 140 | False 141 | "x_rot" 142 | 0 143 | "y_rot" 144 | 0 145 | 146 | 147 | "distance" 148 | 4 149 | "listener" 150 | False 151 | "pos" 152 | 0, 0, 0 153 | "use_environment" 154 | False 155 | "use_orthogonal" 156 | False 157 | "x_rot" 158 | 0 159 | "y_rot" 160 | 0 161 | 162 | 163 | "distance" 164 | 4 165 | "listener" 166 | False 167 | "pos" 168 | 0, 0, 0 169 | "use_environment" 170 | False 171 | "use_orthogonal" 172 | False 173 | "x_rot" 174 | 0 175 | "y_rot" 176 | 0 177 | 178 | 179 | "zfar" 180 | 500 181 | "znear" 182 | 0.1 183 | 184 | 185 | "__editor_run_settings__" 186 | 187 | "custom_args" 188 | "-l $scene" 189 | "run_mode" 190 | 0 191 | 192 | 193 | 96 194 | 256 195 | 160 196 | 197 | 0.501961, 1, 1, 1 198 | 1, 1, 1, 1 199 | 0 200 | 1 201 | "Libre Pinball" 202 | 1 203 | -1 204 | 224 205 | 288 206 | "play_tooltip" 207 | "play" 208 | 352 209 | 416 210 | "quit_tooltip" 211 | "quit" 212 | 213 | "version" 214 | 1 215 | 216 | 217 | 218 | -------------------------------------------------------------------------------- /scenes/pause_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | "conn_count" 8 | 4 9 | "conns" 10 | 2, 0, 40, 39, 2, 0, 3, 0, 40, 41, 2, 0, 4, 0, 40, 42, 2, 0, 5, 0, 40, 43, 2, 0 11 | "names" 12 | 13 | "Pause Menu" 14 | "Control" 15 | "process/pause_mode" 16 | "margin/right" 17 | "margin/bottom" 18 | "focus/ignore_mouse" 19 | "focus/stop_mouse" 20 | "size_flags/horizontal" 21 | "size_flags/vertical" 22 | "script/script" 23 | "__meta__" 24 | "Pause Label" 25 | "Label" 26 | "margin/left" 27 | "margin/top" 28 | "custom_fonts/font" 29 | "range/min" 30 | "range/max" 31 | "range/step" 32 | "range/page" 33 | "range/value" 34 | "range/exp_edit" 35 | "rounded_values" 36 | "text" 37 | "align" 38 | "valign" 39 | "uppercase" 40 | "percent_visible" 41 | "Resume Button" 42 | "Button" 43 | "hint/tooltip" 44 | "toggle_mode" 45 | "flat" 46 | "Quit Button" 47 | "anchor/right" 48 | "anchor/bottom" 49 | "Restart Button" 50 | "Main Menu Button" 51 | "clip_text" 52 | "_on_Resume_Button_pressed" 53 | "pressed" 54 | "_on_Quit_Button_pressed" 55 | "_on_Restart_Button_pressed" 56 | "_on_Main_Menu_Button_pressed" 57 | 58 | "node_count" 59 | 6 60 | "nodes" 61 | -1, -1, 1, 0, -1, 9, 2, 0, 3, 1, 4, 1, 5, 2, 6, 3, 7, 0, 8, 0, 9, 4, 10, 5, 0, 0, 0, 12, 11, -1, 20, 13, 6, 14, 7, 3, 8, 4, 6, 5, 3, 6, 3, 7, 0, 15, 9, 16, 10, 17, 11, 18, 11, 19, 11, 20, 10, 21, 2, 22, 2, 23, 12, 24, 13, 25, 13, 26, 3, 27, 14, 0, 0, 0, 29, 28, -1, 13, 13, 6, 14, 15, 3, 8, 4, 16, 30, 17, 5, 2, 6, 3, 7, 0, 8, 0, 15, 9, 31, 2, 23, 18, 32, 2, 0, 0, 0, 29, 33, -1, 15, 34, 13, 35, 13, 13, 6, 14, 19, 3, 20, 4, 21, 30, 22, 5, 2, 6, 3, 7, 0, 8, 0, 15, 9, 31, 2, 23, 23, 32, 2, 0, 0, 0, 29, 36, -1, 15, 34, 13, 35, 13, 13, 6, 14, 8, 3, 20, 4, 24, 30, 25, 5, 2, 6, 3, 7, 0, 8, 0, 15, 9, 31, 2, 23, 26, 32, 2, 0, 0, 0, 29, 37, -1, 16, 34, 13, 35, 13, 13, 6, 14, 27, 3, 20, 4, 28, 30, 29, 5, 2, 6, 3, 7, 0, 8, 0, 15, 9, 31, 2, 23, 30, 32, 2, 38, 3, 0 62 | "variants" 63 | 64 | 2 65 | 40 66 | False 67 | True 68 | 69 | 70 | "__editor_plugin_screen__" 71 | "2D" 72 | "__editor_plugin_states__" 73 | 74 | "2D" 75 | 76 | "ofs" 77 | 0, -55.7562 78 | "snap_grid" 79 | True 80 | "snap_offset" 81 | 0, 0 82 | "snap_pixel" 83 | False 84 | "snap_relative" 85 | False 86 | "snap_rotation" 87 | False 88 | "snap_rotation_offset" 89 | 0 90 | "snap_rotation_step" 91 | 0.261799 92 | "snap_show_grid" 93 | True 94 | "snap_step" 95 | 32, 32 96 | "zoom" 97 | 1 98 | 99 | "3D" 100 | 101 | "ambient_light_color" 102 | 0.15, 0.15, 0.15, 1 103 | "default_light" 104 | True 105 | "default_srgb" 106 | False 107 | "deflight_rot_x" 108 | 0.942478 109 | "deflight_rot_y" 110 | 0.628319 111 | "fov" 112 | 45 113 | "show_grid" 114 | True 115 | "show_origin" 116 | True 117 | "viewport_mode" 118 | 1 119 | "viewports" 120 | 121 | 122 | "distance" 123 | 4 124 | "listener" 125 | True 126 | "pos" 127 | 0, 0, 0 128 | "use_environment" 129 | False 130 | "use_orthogonal" 131 | False 132 | "x_rot" 133 | 0.325 134 | "y_rot" 135 | 1.424998 136 | 137 | 138 | "distance" 139 | 4 140 | "listener" 141 | False 142 | "pos" 143 | 0, 0, 0 144 | "use_environment" 145 | False 146 | "use_orthogonal" 147 | False 148 | "x_rot" 149 | 0 150 | "y_rot" 151 | 0 152 | 153 | 154 | "distance" 155 | 4 156 | "listener" 157 | False 158 | "pos" 159 | 0, 0, 0 160 | "use_environment" 161 | False 162 | "use_orthogonal" 163 | False 164 | "x_rot" 165 | 0 166 | "y_rot" 167 | 0 168 | 169 | 170 | "distance" 171 | 4 172 | "listener" 173 | False 174 | "pos" 175 | 0, 0, 0 176 | "use_environment" 177 | False 178 | "use_orthogonal" 179 | False 180 | "x_rot" 181 | 0 182 | "y_rot" 183 | 0 184 | 185 | 186 | "zfar" 187 | 500 188 | "znear" 189 | 0.1 190 | 191 | 192 | "__editor_run_settings__" 193 | 194 | "custom_args" 195 | "-l $scene" 196 | "run_mode" 197 | 0 198 | 199 | 200 | 96 201 | 32 202 | 256 203 | 204 | 0 205 | 1 206 | "pause" 207 | 1 208 | -1 209 | 128 210 | 192 211 | "resume_tooltip" 212 | "resume" 213 | 512 214 | -216 215 | -536 216 | "quit_tooltip" 217 | "quit" 218 | -280 219 | "restart_tooltip" 220 | "restart" 221 | 384 222 | -408 223 | "go_to_main_menu_tooltip" 224 | "go_to_main_menu" 225 | 226 | "version" 227 | 1 228 | 229 | 230 | 231 | -------------------------------------------------------------------------------- /scripts/ball.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends Node2D 5 | -------------------------------------------------------------------------------- /scripts/bottom.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends Node2D 5 | 6 | var global 7 | var ball 8 | var hud 9 | 10 | var timer = 0 11 | var pos_x 12 | var pos_y 13 | 14 | func _ready(): 15 | set_fixed_process(true) 16 | 17 | func _fixed_process(delta): 18 | # Prevent the ball from being reset while the game is started: 19 | timer += 1 20 | 21 | if timer >= 10: 22 | timer = 10 23 | 24 | func _on_Bottom_Area_body_enter(area): 25 | global = get_node("/root/Global") 26 | ball = get_node("../Ball/RigidBody2D") 27 | 28 | global.lives -= 1 29 | # "Life lost" sound: 30 | get_node("../Left Flipper/SamplePlayer").play("life_lost") 31 | 32 | # The player still has lives: 33 | if timer >= 10 and global.lives > 0: 34 | # Reset ball position and velocity: 35 | ball.set_global_pos(Vector2(338, 530)) # Ball position on Table 1 36 | ball.set_linear_velocity(Vector2(0, 0)) 37 | ball.set_angular_velocity(0) 38 | print(tr("life_lost") + " " + str(global.lives)) 39 | 40 | # The player has no lives anymore, show the Game Over screen: 41 | elif timer >= 10: 42 | hud = get_node("../HUD/Game Over") 43 | hud.show() 44 | print(tr("game_over")) 45 | -------------------------------------------------------------------------------- /scripts/bumper_small.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends StaticBody2D 5 | 6 | var global 7 | 8 | # Color timer: change the blue color value over time to create some animation 9 | var color_timer = 0.25 10 | var color_timer_increment = true 11 | 12 | func _ready(): 13 | 14 | set_fixed_process(true) 15 | 16 | func _fixed_process(delta): 17 | # If the `color_timer` reached 1, start decrementing 18 | if color_timer >= 1: 19 | color_timer = 1 20 | color_timer_increment = false 21 | 22 | # If the `color_timer` reached 0.25, start incrementing 23 | if color_timer <= 0.25: 24 | color_timer = 0.25 25 | color_timer_increment = true 26 | 27 | if color_timer_increment: 28 | color_timer += 0.01 29 | else: 30 | color_timer -= 0.01 31 | 32 | get_node("Polygon2D").set_color(Color(1, 1, color_timer)) 33 | 34 | func _on_Area2D_body_enter(body): 35 | global = get_node("/root/Global") 36 | global.score += 100 37 | if global.score > 0: 38 | get_node("SamplePlayer").play("score") 39 | -------------------------------------------------------------------------------- /scripts/flipper_left.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends KinematicBody2D 5 | 6 | # Rotation of the paddle: 7 | var rotation = -0.3 8 | 9 | # Variable to make the sound play only once per key press: 10 | var sound_to_play = true 11 | 12 | func _ready(): 13 | set_fixed_process(true) 14 | set_process_input(true) 15 | 16 | func _fixed_process(delta): 17 | # Cap rotation values: 18 | if rotation >= 0.3: 19 | rotation = 0.3 20 | 21 | if rotation <= -0.3: 22 | rotation = -0.3 23 | 24 | # When `paddle_left` is pressed, start rotating and play sound once: 25 | if Input.is_action_pressed("paddle_left"): 26 | rotation += 0.06 27 | if sound_to_play: 28 | get_node("SamplePlayer").play("paddle") 29 | sound_to_play = false 30 | else: 31 | rotation -= 0.06 32 | sound_to_play = true 33 | 34 | set_rot(rotation) 35 | -------------------------------------------------------------------------------- /scripts/flipper_right.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends KinematicBody2D 5 | 6 | # Rotation of the paddle: 7 | var rotation = 0.3 8 | 9 | # Variable to make the sound play only once per key press: 10 | var sound_to_play = true 11 | 12 | func _ready(): 13 | set_fixed_process(true) 14 | set_process_input(true) 15 | 16 | func _fixed_process(delta): 17 | # Cap rotation values: 18 | if rotation >= 0.3: 19 | rotation = 0.3 20 | 21 | if rotation <= -0.3: 22 | rotation = -0.3 23 | 24 | # When `paddle_right` is pressed, start rotating and play sound once: 25 | if Input.is_action_pressed("paddle_right"): 26 | rotation -= 0.06 27 | if sound_to_play: 28 | get_node("SamplePlayer").play("paddle") 29 | sound_to_play = false 30 | else: 31 | rotation += 0.06 32 | sound_to_play = true 33 | 34 | set_rot(rotation) 35 | -------------------------------------------------------------------------------- /scripts/global.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends Node 5 | 6 | # HACK: Initial score compensation (7 bumpers): 7 | var score = -700 8 | 9 | # 3 lives: 10 | var lives = 3 11 | 12 | func _ready(): 13 | # 125 FPS physics: 14 | OS.set_iterations_per_second(125) 15 | 16 | print("Libre Pinball [0.0.5]") 17 | set_process_input(true) 18 | 19 | func _input(event): 20 | if Input.is_action_pressed("restart_game"): 21 | restart() 22 | 23 | # Function to prepend the window title with the current table (or main menu): 24 | func table_window_title(name): 25 | OS.set_window_title(name + " - Libre Pinball") 26 | 27 | # Resets the game state, used when going back to main menu and restarting: 28 | func reset_game_state(): 29 | score = -700 30 | lives = 3 31 | 32 | func pause(): 33 | get_tree().set_pause(true) 34 | get_node("/root/Table 1/Pause Menu").show() 35 | 36 | func resume(): 37 | get_node("/root/Table 1/Pause Menu").hide() 38 | get_tree().set_pause(false) 39 | 40 | func quit(): 41 | get_tree().quit() 42 | 43 | func restart(): 44 | get_tree().reload_current_scene() 45 | resume() 46 | reset_game_state() 47 | 48 | func go_to_main_menu(): 49 | get_tree().change_scene("res://scenes/main_menu.xml") 50 | resume() 51 | reset_game_state() 52 | -------------------------------------------------------------------------------- /scripts/hud.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends Control 5 | 6 | var global 7 | 8 | var show_fps = false 9 | 10 | func _ready(): 11 | set_process_input(true) 12 | set_fixed_process(true) 13 | 14 | func _fixed_process(delta): 15 | global = get_node("/root/Global") 16 | var fps = OS.get_frames_per_second() 17 | if show_fps: 18 | # Show FPS counter: 19 | get_node("Frames per Second").set_text(str(fps) + " FPS") 20 | else: 21 | # Show nothing: 22 | get_node("Frames per Second").set_text("") 23 | 24 | get_node("Score").set_text(str(global.score)) 25 | get_node("Lives").set_text(str(global.lives)) 26 | 27 | func _input(event): 28 | if Input.is_action_pressed("toggle_fps_display") and not show_fps: 29 | show_fps = true 30 | elif Input.is_action_pressed("toggle_fps_display") and show_fps: 31 | show_fps = false 32 | -------------------------------------------------------------------------------- /scripts/launcher.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends KinematicBody2D 5 | 6 | # Save positions of launcher for later use: 7 | var pos_x 8 | var pos_y 9 | 10 | # Variable to make the sound play only once per key press: 11 | var sound_to_play = true 12 | 13 | # Y position offset of launcher: 14 | var push = 0 15 | 16 | func _ready(): 17 | set_process_input(true) 18 | set_fixed_process(true) 19 | 20 | pos_x = get_pos().x 21 | pos_y = get_pos().y 22 | 23 | func _fixed_process(delta): 24 | # Cap Y offset values: 25 | if push >= 4: 26 | push = 4 27 | if push <= -4: 28 | push = -4 29 | 30 | if Input.is_action_pressed("use_launcher"): 31 | push += 4 32 | set_pos(Vector2(pos_x, pos_y - push)) 33 | if sound_to_play: 34 | get_node("SamplePlayer").play("launcher") 35 | sound_to_play = false 36 | else: 37 | push -= 4 38 | set_pos(Vector2(pos_x, pos_y - push)) 39 | sound_to_play = true 40 | -------------------------------------------------------------------------------- /scripts/main_menu.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends Control 5 | 6 | var global = get_node("/root/Global") 7 | 8 | func _ready(): 9 | global = get_node("/root/Global") 10 | print(tr("main_menu_loaded")) 11 | global.table_window_title("Main Menu") 12 | 13 | func _on_Play_Button_pressed(): 14 | # TODO: Level selection, several tables 15 | get_tree().change_scene("res://scenes/table_1.xml") 16 | 17 | func _on_Quit_Button_pressed(): 18 | global = get_node("/root/Global") 19 | get_node("/root/Global").quit() 20 | -------------------------------------------------------------------------------- /scripts/pause_menu.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends Control 5 | 6 | var global 7 | var paused = false 8 | 9 | func _ready(): 10 | set_process_input(true) 11 | 12 | func _input(event): 13 | global = get_node("/root/Global") 14 | if Input.is_action_pressed("pause") and not paused: 15 | global.pause() 16 | paused = true 17 | elif Input.is_action_pressed("pause") and paused: 18 | global.resume() 19 | paused = false 20 | 21 | func _on_Resume_Button_pressed(): 22 | global = get_node("/root/Global") 23 | global.resume() 24 | 25 | func _on_Quit_Button_pressed(): 26 | global = get_node("/root/Global") 27 | global.quit() 28 | 29 | func _on_Restart_Button_pressed(): 30 | global = get_node("/root/Global") 31 | global.restart() 32 | 33 | func _on_Main_Menu_Button_pressed(): 34 | global = get_node("/root/Global") 35 | global.go_to_main_menu() 36 | -------------------------------------------------------------------------------- /scripts/table_1.gd: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calinou - MIT license 2 | # See LICENSE.md for more information. 3 | 4 | extends Node2D 5 | 6 | var global 7 | var table_name = "Test" 8 | 9 | func _ready(): 10 | global = get_node("/root/Global") 11 | print(tr("table_loaded").replace("%s", table_name)) 12 | global.table_window_title("Test") --------------------------------------------------------------------------------