我好像看到了他提示的语法错误
o_player 事件: 步 位于第7行, 7 : 变量 up 仅被引用一次
o_player 事件: 步 位于第8行, 9 : 变量 down 仅被引用一次
好像出现了异常图片放不上去 我就把下面的输出结果复制给大家看吧
"/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2022.3.0.496/bin/Igor.exe -j=8 -options="/tmp/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
然后是我输入的东西
/// @description 在此处插入描述
// 你可以在此编辑器中写入代码
//get_input
var left =keyboard_check(vk_left);
var right =keyboard_check(vk_right);
var up =keyboard_check(vk_up);
var down =keyboard_check(vk_down);
//calc_movement
hsp +=(right-left)*walk_spd;
//apply_movement
x +=hsp;
//animation