我在 Gamemaker 中很新手,正在遵循一个教程。以下是我复制的代码:
if _listInst.object_index == oWall
|| object_is_ancestor(_listInst.object_index, oWall)
|| floor(bbox_bottom) <= ceil(_listInst.bbox_top - _listInst.yspd)
这里的".object_index"(属于_listInst范围)文本颜色为灰色,而不是表示内置变量的绿色。同样,".bbox_top"和".yspd"也一样。似乎_listInst范围的作用是干扰了对这些变量的获取。
任何帮助或线索都将大加感激。感谢您的阅读。
评论 (0)