String_fighter_AI icon indicating copy to clipboard operation
String_fighter_AI copied to clipboard

如何使用"start开始键" 来选择2P对战?

Open qjchen1972 opened this issue 3 years ago • 2 comments

不知道如何修改scenario.json激活“Start”按钮

qjchen1972 avatar Apr 25 '23 01:04 qjchen1972

加上这段: "actions": [ [[], ["UP"], ["DOWN"]], [[], ["LEFT"], ["RIGHT"]], [[], ["A"], ["B"], ["C"], ["X"], ["Y"], ["Z"], ["A", "B"], ["B", "C"], ["A", "X"], ["B", "Y"], ["C", "Z"], ["X", "Y"], ["Y", "Z"], ["START"]] ], 请注意最后的逗号,不要破坏JSON格式。

tonyxu99 avatar Apr 25 '23 16:04 tonyxu99

我已经更新了repo的scenario.json,你可以pull一下,再把文件拷到游戏目录。另外,我也更新了一下README。

tonyxu99 avatar Apr 25 '23 17:04 tonyxu99