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).
比如我的位置(0,0)要移动到(100,233)设置水平不翻转如果移动到(-100,50)就设置水平翻转
@落水桃子 拿目标位置的x坐标和当前位置的x坐标比较,看谁大谁小决定要不要翻转就行了
我刚开始就是这么做的,弄错了把y轴弄成x了,怪不得哪里怪怪的