Manuals
Manuals




This translation is community contributed and may not be up to date. We only maintain the English version of the documentation. Read this manual in English

Nintendo Switch 开发

由于 Nintendo 许可限制,支持 Nintendo Switch 平台的 Defold 版本不包含在 Defold 标准版中。要获取支持 Nintendo Switch 的 Defold 版本,您需要成为经过批准的 Nintendo Switch 游戏开发者。

注册成为 Nintendo Switch 开发者

您可以在 Nintendo 开发者门户 注册成为 Nintendo Switch 游戏开发者:

当您获得 Nintendo 批准后,您将可以访问 Nintendo 开发者门户的工具和中间件页面,您可以在那里注册 Defold 访问权限。当您注册 Defold 访问权限时,我们将收到来自 Nintendo 的电子邮件,验证您为注册的 Nintendo 开发者。

Defold 中的 Nintendo Switch 访问权限

一旦我们确认您作为经过批准的 Nintendo Switch 开发者的身份,我们将为您提供以下内容的访问权限:

  • 包含控制台特定 API 集成的 Nintendo Switch 扩展的源代码访问权限。
  • 启用 Nintendo Switch 的 Defold 游戏引擎版本的源代码访问权限。请注意,为 Nintendo Switch 构建游戏不需要源代码访问权限,但我们提供访问权限,以防您希望对引擎核心做出源代码贡献。
  • 支持打包到 Nintendo Switch 平台的命令行工具。不支持从 Defold 编辑器打包。
  • 您可以在其中获取 Nintendo Switch 特定支持的论坛。

常见问题解答

Q: 我需要安装额外的工具来为游戏主机构建游戏吗?

A: 您将能够从编辑器和命令行工具创建应用程序包。当您获得相应平台的访问权限时,将向您提供有关如何在 PlayStation®4、PlayStation®5 和 Nintendo Switch 硬件上进行测试的信息。

Q: 如果我决定也针对游戏主机进行开发,是否仍然容易使用单个代码库?

A: 是的,所有标准的 Defold API 函数在游戏主机平台上同样可用。除了标准功能外,您还将能够访问一些 PlayStation®4、PlayStation®5 和 Nintendo Switch 特定的函数,但总体上讲,代码应该能够在多个平台上保持完全相同。