(Math.random() - 0.5) * 2 * this.node.width/2;
y轴的位置同理
一步一个脚印。
cocos creator 取屏幕随机x轴的位置
猜你喜欢
转载自blog.csdn.net/w520cyz/article/details/88561049
今日推荐
周排行