遵守许可证

什么是许可证?

Godot 是根据 MIT License 创建并分发的。它也没有唯一的所有者,因为向该项目提交代码的每个贡献者都在相同的许可证下执行该代码,并保留贡献的所有权。

许可证是您(或您的公司)使用和分发软件(以及衍生项目,包括用它制作的游戏)的法律要求。您的游戏或项目可以具有不同的许可证,但仍需要遵守原始许可证。

需求

对于MIT许可证,唯一的要求是将许可证文本包含在您的游戏或衍生项目中。

文本内容如下:

该游戏使用Godot Engine,可通过以下许可获得:

Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. Copyright (c) 2014-2020 Godot Engine contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

以上版权声明和本许可声明应包含在本软件的所有副本或大部分内容中。

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

注解

您的游戏无需获得相同的许可。您可以根据任何许可自由发布Godot项目,并使用该引擎创建商业游戏。

包含

许可证没有指定必须包含的方式,因此任何内容只要在某些情况下可以显示就有效。这些是最常见的方法(只需要实现其中一种,而不是全部)。

演职员表

Include the above license text somewhere in the credits screen. It can be at the bottom after showing the rest of the credits. Most large studios use this approach with open source licenses.

Licenses screen

Some games have a special menu (often in the settings) to display licenses.

输出日志

Just printing the licensing text using a print() function may be enough on platforms where a global output log is readable (as an example, mobile devices).

附带文件

If the game is distributed on desktop operating systems, a file containing the license can be added to the software that is installed to the user PC.

Printed manual

If the game includes printed manuals, license text can be included there.

Third Party licenses

Godot itself contains software written by third parties. Most of it does not require license inclusion, but some do. Make sure to do it if you are using them. Here is a list of which ones require it:

FreeType

Godot uses FreeType to render fonts. Its license requires attribution, so the following text must be included together with the Godot license:

Portions of this software are copyright © <year> The FreeType Project (www.freetype.org). All rights reserved.

ENet

If the project being created is a multiplayer game using the ENet driver, ENet has similar licensing terms as Godot

版权所有 (c) 2002-2016 Lee Salzman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

以上版权声明和本许可声明应包含在本软件的所有副本或大部分内容中。

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MBedTLS

If the project is done with Godot 3.1 or above and it utilizes SSL (usually through HTTP requests), the MBedTLS Apache license needs to be complied by including the following text:

MBedTLS is Copyright (C) 2013-2019 ARM

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Keep in mind that Godot 2.x and 3.0 use OpenSSL instead.