
移植 Godot 游戏到 Android
把 Godot 游戏移植到 Android
熟悉的场景和 GDScript,再加上真正会卡住发行的那些 Android 环节:密钥库、目标 API 级别,以及应用包。
通过 Summer Engine 把 Godot 游戏带到 Android,意思是在一个兼容 Godot 4 的引擎里重建一款你拥有的游戏,并发布一个你自己签名的 Android 构建。引擎这一侧很熟悉,商店那一侧有硬性要求。
Android 让你立刻就能测试。你可以当天构建、通过 USB 安装并在手机上玩,没有审核队列,也没有年费。Google Play 在这之上加了规则:应用包、不断提高的最低目标 API 级别、64 位支持、数据安全声明,以及一次性 25 美元的开发者注册费。
Summer Engine 是带有超过一百万行自定义代码、始终跟随 Godot 上游的完全自研引擎。它导出到桌面、移动、网页和主机。C++ 和 GDScript 处处能用,C# 在 Android 上也可用。
签名与密钥库
Android 构建必须签名。生成一个上传密钥库,把它和它的密码存进密码管理器并做一份离线备份,同时加入 Play 应用签名,让谷歌持有分发密钥。如果你在 Play 之外分发,丢了签名密钥就意味着已安装的用户永远无法更新,只能重装。在第一个公开构建之前就把这件事办好,因为之后更换签名身份会破坏升级路径。
Play Console 的要求
在 Play 上发行要上传 Android App Bundle,而不是 APK。满足当前的最低目标 API 级别,谷歌每年都会提高它。发布 64 位的 arm64 二进制。填完数据安全表单、内容分级问卷和隐私政策网址。较新的个人账号在拿到正式发布权限前,可能还需要一段封闭测试。首次发行时,为这些步骤预留一周缓冲。
输入、返回手势与屏幕形状
把键盘操作换成为拇指设计的触摸手势,而不是画一个手柄。处理系统返回手势,让它关闭菜单,并且只在顶层才退出。支持从平板 4:3 到手机 20:9 的各种比例,并围绕屏幕挖孔锚定 UI。失焦时暂停并保存。支持高刷新率屏幕,并让玩家能给帧率设上限以省电。
在真实设备上的性能
在中端或更老的手机上测试,不要用旗舰。使用压缩贴图,把绘制调用压低,并测量几分钟之后的持续帧率,好让热降频显形。把下载体积做小,因为体积越大安装转化越低。如果这款游戏也瞄准网页,记住那里排除 C#,所以选 GDScript 或 C++ 能让移动端和浏览器共用一套代码。
常见问题
在 Google Play 上发行要花多少钱?
一次性 25 美元的开发者注册费,再加上谷歌对销售和应用内购买的分成。Summer Engine 不收任何分成。
我一定要用 Google Play 吗?
不一定。你可以直接分发签名后的 APK,可以放在 itch.io,也可以通过其他安卓商店。Play 触达的用户最多,但不是唯一路线。
Summer Engine 是 Godot 的分支吗?
不是。它兼容 Godot 4,始终跟随 Godot 上游,并且是带有超过一百万行自定义代码的完全自研引擎。
Android 上能用 C# 吗?
能。C# 在 Android 和所有原生目标上都能用。网页是唯一不支持 C# 的目标。
我的应用包为什么被拒了?
常见原因是目标 API 级别低于当前下限、缺少 64 位支持、数据安全表单没填完,或者隐私政策网址失效。这四项都会在构建触达玩家之前被检查。
继续探索
用 Summer Engine 创作的更多方式
AI 游戏制作器
用语言描述就能制作完整 2D 和 3D 游戏的中心。
打开Port a 3DS game to Android
Rebuild a 3DS game you own in Summer Engine, then export an Android App Bundle and publish it on Google Play.
打开Port a Unity game to Android
A Unity to Android port is a rebuild plus a Play Console release. Device spread and the signing keystore cause more delays than the code.
打开Port a Godot game to Steam
Summer Engine is compatible with Godot 4 workflows, so this is the shortest rebuild of any engine move. The Steam work is the same either way.
打开Port a Godot game to iOS
The engine side is familiar because Summer Engine is compatible with Godot 4. The iOS side is Apple paperwork, signing, and touch design.
打开Port a game to Android
Android has the lowest barrier to testing and the widest device spread. Signing keys and the target API level are what actually block releases.
打开Port a Godot game into Summer Engine
Summer Engine is compatible with Godot 4 and always follows Godot upstream, so a Godot 4 project is the closest thing to a direct move in this cluster.
打开Port a 3DS game to Steam
Rebuild a 3DS game you own in Summer Engine, then export a Windows, macOS, or Linux build and publish it on Steam.
打开Port a 3DS game to iOS
Rebuild a 3DS game you own in Summer Engine, then export a signed build for iPhone and iPad and submit it to the App Store.
打开平台游戏模板
从现成的项目开始,描述你想要的改动即可。
浏览浏览所有游戏模板
从现成的项目开始,描述你想要的改动即可。
浏览