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).
如何实现触屏时精灵在原位置开始按触屏方向移动?我“移动到”这个方法会先移动到触屏位置然后再按触屏方向移动。
也就是需要相对移动吧,触屏开始时在触屏位置创建一个透明实例,然后把需要移动的对象绑定到这个透明实例上就行,这是一种比较简单的实现方法