2972| 12
|
[已经解决] 剧情对话队伍成员散开 |
点评
follower.moveStraight($gamePlayer.direction() - 2) 因为$gamePlayer.direction() - 2=0是没用的参数啊。。如果要朝下的时候往左走就follower.moveStraight(4)好了。。
我知道是根据队长朝向定的,只是这个脚本只有主角朝上才会触发,朝下不会触发..
follower.setDirection($gamePlayer.direction())朝向应该不是问题我这个是根据队长的朝向定的。。follower.moveStraight($gamePlayer.direction() - 2)是走的方向
代码能用效果不错,苦于不会改,脸朝下跟随者往右排的话改哪里...代码中没有看到关于朝向的词汇
评分 | ||
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-6-5 15:05
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.