@406504302 写道:
cc.Class({
extends: cc.Component,
properties: {
enemy: cc.Node
},
onLoad: function () {
var action = cc.moveTo(2, cc.p(0,-200));
this.enemy.runAction(action);
action = cc.moveTo(2, cc.p(200,0));
this.enemy.runAction(action);}
});
期望移动轨迹如下
实际移动轨迹
为什么呢?如果我想得到期望的移动轨迹如何处理呢
帖子: 3
参与者: 1