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 版本不包括标准版. 要获取支持 Sony PlayStation® 的 Defold 特殊版本首先必须成为 Nintendo Switch 的正式开发者.

注册成为 Nintendo Switch 开发者

可以在 Nintendo Developer Portal 注册成为 Nintendo Switch 开发者:

Nintendo 审核通过后就可以访问 Nintendo 开发者大厅里的 Defold 可用的工具和中间件. 开发者申请 Defold 工具访问时, 我们将从 Nintendo 获得一份说明开发者是否为 Nintendo Switch 开发者的鉴定邮件.

Nintendo Switch 的 Defold 访问

当我们确定开发者是正式 Nintendo 开发者时, 我们会在 Defold 中提供对 Nintendo Switch 的访问:

  • Nintendo Switch 相关 API 整合的扩展程序.
  • Nintendo Switch 开启的 Defold 游戏引擎源码. 请注意, 为 Nintendo Switch 构建游戏不需要源代码访问权限, 但如果您希望对引擎核心做出源代码贡献, 我们会提供访问权限.
  • 用于编译打包 Nintendo Switch 应用的 命令行工具.
  • 提供 Nintendo Switch 相关技术支持的论坛.

问答

Q: 开发主机游戏需要什么别的工具吗?

A: 使用 Defold 编辑器和命令行工具都可以打包主机游戏. 一旦你取得了相应开发资格, 关于如何调试 PlayStation®4, PlayStation®5 和 Nintendo Switch 游戏的方法也会发送给你.

Q: 开发跨平台游戏加上主机游戏, 一个代码库够用吗?

A: 够用, 所有标准 Defold API 功能在主机游戏平台同样有效. 除此之外也许需要调用一些 PlayStation®4, PlayStation®5 和 Nintendo Switch 的原生功能, 但总体上讲一套代码跨平台没问题.