我写了一个显示图片的脚本,运行时提示错误“undefined local variable or method'方块'for #<Interpreterx1757df8>”,请问这是什么原因?
脚本如下:
==========================================
j=10;x=25;y=395
for i in 0..$game_variables[22]
j=j+1;x=x+5;y=y+5
$game_screen.pictures[j].show(方块-红.png,
0, x, y, 100, 100, 255, 0)
end
===========================================
谢谢!