Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
首先需要添加两个全局变量,我取名为.移动到位置xy.然后添加一个精灵放到人物身上,设置为透明,添加绑定能力,场景开始时和人物绑定位置人物移动时.判定精灵的角度,以此来改变人物的动画,270度为向上,0度为向右,以此类推,这里是八方向,人物不移动时也要设置动画为待机哦事件截图: