移植游戏到 Android

把游戏移植到 Android

Android 的测试门槛最低,设备跨度最大。真正卡住发行的是签名密钥和目标 API 级别。

把游戏移植到 Android,意思是为一款你拥有的游戏构建签名后的 Android 版本并分发它,通常通过 Google Play。你做出构建的当天就能装到自己手机上,没有审核队列。

摩擦在别处。Google Play 要求应用包、当前的目标 API 级别、64 位二进制、数据安全声明和隐私政策。签名密钥必须在首次发行前创建并备份。而从旗舰到入门机的设备跨度,意味着只在一台高端手机上测试说明不了什么。

Summer Engine 从一个项目导出到桌面、移动、网页和主机。C++ 和 GDScript 处处能跑,C# 在 Android 上能用。网页是唯一排除 C# 的目标。项目和收入都归你。

Google Play 强制的要求

在 Play 上分发要上传 Android App Bundle,而不是 APK。满足当前的最低目标 API 级别,它每年都会提高,并且对更新和新应用同样适用。发布 64 位的 arm64 二进制。如实填完数据安全表单,为敏感权限给出理由并声明,提供隐私政策网址,并完成内容分级问卷。较新的个人开发者账号在开放正式发布权限前,可能需要一段封闭测试。

丢不起的密钥

生成一个上传密钥库,记下密码和别名,并把文件离线备份。加入 Play 应用签名,让谷歌管理分发密钥。如果你在 Play 之外分发 APK 并丢了那把密钥,已安装的用户就永远无法更新。包名也要谨慎设定,因为它在整个上架周期里是永久的。这两个决定现在只花几分钟,之后却无法挽回。

输入与系统行为

把鼠标键盘换成为拇指设计的触摸手势,而不是屏幕上的一个手柄。处理系统返回手势,让它关闭菜单,并且只在顶层退出。围绕屏幕挖孔锚定 UI,并支持从 4:3 到 20:9 的比例。失焦时暂停并保存。支持高刷新率屏幕,并提供一个省电用的帧率上限。测试时把手机装在保护壳里单手玩,因为它实际就会被这么玩。

跨设备范围的测试

挑两台参考设备:一台接近你目标受众的下限,一台是当前机型。每周在两台上都测。使用压缩贴图,把绘制调用压低,并测量几分钟之后的持续帧率以捕捉降频。盯住安装体积,因为下载越大转化下降越明显。Android 的分发渠道也比 iOS 多,包括直接下载 APK、itch.io 和第三方商店,这些对内测很有用。

常见问题

在 Google Play 上发行要花多少钱?

一次性 25 美元的开发者注册费,再加上谷歌对销售和应用内购买的分成。Summer Engine 不收任何分成。

分发安卓游戏一定要用 Google Play 吗?

不一定。签名后的 APK 可以直接分发、放在 itch.io,或通过第三方商店发布。Play 触达的受众最大,要求也最多。

我的发行为什么被拦下了?

常见原因是目标 API 级别低于当前下限、缺少 64 位二进制、数据安全表单没填完,或者隐私政策网址打不开。

签名密钥丢了会怎样?

用 Play 应用签名的话,你可以申请重置上传密钥。在 Play 之外,丢了签名密钥就意味着已安装的用户无法更新,玩家必须重新安装一个新的上架条目。

Android 上能用 C# 吗?

能。C# 在 Android 和所有原生目标上都能用。网页是唯一不支持 C# 的目标。

继续探索

用 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.

打开

How to port a 3DS game

The full process, in order: rights, asset inventory, rebuild, screen and input redesign, testing, export, and store submission.

打开

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 Android

Familiar scenes and GDScript, plus the Android parts that actually block releases: the keystore, the target API level, and the app bundle.

打开

Port a game to Steam

Steam takes a desktop executable, a depot, and a store page. This is the checklist for getting any game from another platform onto it.

打开

Port a game to iOS

Any iOS release needs a Mac, an Apple Developer account, a signed build, and a design that works with thumbs. This is the full path.

打开

Port a game to Nintendo Switch

There is no self serve Switch export. Nintendo approves developers, provides the SDK and dev kits under NDA, and certifies every build.

打开

Port a game to web

A browser build has no filesystem, a hard memory ceiling, and a download the player watches. Those three facts shape the whole port.

打开

平台游戏模板

从现成的项目开始,描述你想要的改动即可。

浏览

浏览所有游戏模板

从现成的项目开始,描述你想要的改动即可。

浏览

现在就开始制作你的游戏

下载 Summer Engine,描述你想要的,看着它逐渐成形。免费开始,无需编程。